Ankündigung

Einklappen
Keine Ankündigung bisher.

X509_v_flag_notify_policy

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    X509_v_flag_notify_policy

    Bei einigen "Schonheitsreparaturen in einem Plugin" im aktuellen Smarthome auf einem Raspi4-8GB geht jetzt nichts mehr.

    Eingaben wie
    /usr/local/smarthome/bin/smarthome.py -s
    oder
    /usr/local/smarthome/bin/smarthome.py -r​
    fühten immer wieder zu folgenden Ergebnis


    Code:
    [smarthome@SmartHomeNG-4-8-IP40 /usr/local/smarthome]$  /usr/local/smarthome/bin/smarthome.py -r
    Traceback (most recent call last):
      File "/usr/local/smarthome/bin/smarthome.py", line 172, in <module>
        from lib.smarthome import SmartHome
      File "/usr/local/smarthome/lib/smarthome.py", line 88, in <module>
        import lib.network
      File "/usr/local/smarthome/lib/network.py", line 44, in <module>
        import requests
      File "/home/smarthome/.local/lib/python3.9/site-packages/requests/__init__.py", line 95, in <module>
        from urllib3.contrib import pyopenssl
      File "/home/smarthome/.local/lib/python3.9/site-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
        import OpenSSL.SSL
      File "/home/smarthome/.local/lib/python3.9/site-packages/OpenSSL/__init__.py", line 8, in <module>
        from OpenSSL import SSL, crypto
      File "/home/smarthome/.local/lib/python3.9/site-packages/OpenSSL/SSL.py", line 19, in <module>
        from OpenSSL.crypto import (
      File "/home/smarthome/.local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1623, in <module>
        class X509StoreFlags:
      File "/home/smarthome/.local/lib/python3.9/site-packages/OpenSSL/crypto.py", line 1642, in X509StoreFlags
        NOTIFY_POLICY: int = _lib.X509_V_FLAG_NOTIFY_POLICY
    AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
    ​
    Ich habe keine Idee wo plützlich das 'X509_V_FLAG_NOTIFY_POLICY' herkommt!

    Meine modul.yaml:
    Code:
    %YAML 1.1
    ---
    # etc/module.yaml
    # support for web server
    http:
        module_name: http
        starturl: admin
    # support for graphical admin interface
        showservicelist: true
        showtraceback: true
        ip: 0.0.0.0
    
    admin:
        module_name: admin
        websocket_host: 127.0.0.1
        click_dropdown_header: true
        login_expiration: 168
        login_autorenew: true
        pypi_timeout: 5
        itemtree_fullpath: true
        itemtree_searchstart: 2
        websocket_port: 2424
        log_chunksize: 1000
    
    websocket:
        module_name: websocket
        #port: 2424
        #tls_port: 2425
        #tls_key: myprivate.key
        #tls_cert: myprivate.pem
        #use_tls: true
    #enable, if mqtt protocol is going to be used
    
    mqtt:
        module_name: mqtt
        enabled: false
    ​
    Ich hoffe durch Eure Hilfe an einer Neuinstallation vorbeikomme!

    LG Wolfgang

    #2
    Ohne sinnvolle Angaben welche Software Versionen Du einsetzt und was Du getan hast, ist Die schwierig zu helfen.

    Als Info zu Deinen „Schönheitsreparaturen“ an einem Plugin (Du verheimlichst sogar an welchem), Deine module.yaml zu posten, gibt da keinerlei Informationsgewinn.

    Der einzige Tipp wäre, den Code Stand vor Deinen „Schönheitsreparaturen“ mit dem aktuellen Stand zu vergleichen. Das würde das Thema eingrenzen.
    Viele Grüße
    Martin

    There is no cloud. It's only someone else's computer.

    Kommentar


      #3
      Hast Du bei Deinen Veränderungen Python Packages installiert oder aktualisiert?

      Ähnliche Probleme gab es im Mätz 2023 schon mal, weil ein Package, dasvon einem Package mitinstalliert wurde in der Version Probleme machts. Das war damals das crypto-Package.
      Viele Grüße
      Martin

      There is no cloud. It's only someone else's computer.

      Kommentar

      Lädt...
      X