Ankündigung

Einklappen
Keine Ankündigung bisher.

SHNG V1.9.2 - nach Systemupdate teilweise ohne Funktion

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

    SHNG V1.9.2 - nach Systemupdate teilweise ohne Funktion

    Hallo zusammen

    nach einem Tieferlegenden Update am Hostsystem scheint irgendwas bei SHNG nicht mehr so zu laufen wie es soll.

    Im Anhang das beigefügte Log


    Code:
    2024-09-08  11:40:58 NOTICE   lib.smarthome       --------------------   SmartHomeNG restarting, initiated by admin interface   --------------------
    2024-09-08  11:40:58 ERROR    cherrypy.error      [08/Sep/2024:11:40:58] ENGINE ValueError('I/O operation on closed file.')
    > Traceback (most recent call last):
    >   File "/root/.local/lib/python3.11/site-packages/cheroot/server.py", line 1267, in communicate
    >     req.parse_request()
    >   File "/root/.local/lib/python3.11/site-packages/cheroot/server.py", line 702, in parse_request
    >     success = self.read_request_line()
    >               ^^^^^^^^^^^^^^^^^^^^^^^^
    >   File "/root/.local/lib/python3.11/site-packages/cheroot/server.py", line 743, in read_request_line
    >     request_line = self.rfile.readline()
    >                    ^^^^^^^^^^^^^^^^^^^^^
    >   File "/root/.local/lib/python3.11/site-packages/cheroot/server.py", line 300, in readline
    >     data = self.rfile.readline(256)
    >            ^^^^^^^^^^^^^^^^^^^^^^^^
    >   File "/usr/lib/python3.11/_pyio.py", line 574, in readline
    >     b = self.read(nreadahead())
    >                   ^^^^^^^^^^^^
    >   File "/usr/lib/python3.11/_pyio.py", line 553, in nreadahead
    >     readahead = self.peek(1)
    >                 ^^^^^^^^^^^^
    >   File "/usr/lib/python3.11/_pyio.py", line 1149, in peek
    >     return self._peek_unlocked(size)
    >            ^^^^^^^^^^^^^^^^^^^^^^^^^
    >   File "/usr/lib/python3.11/_pyio.py", line 1156, in _peek_unlocked
    >     current = self.raw.read(to_read)
    >               ^^^^^^^^^^^^^^^^^^^^^^
    >   File "/usr/lib/python3.11/socket.py", line 700, in readinto
    >     self._checkClosed()
    > ValueError: I/O operation on closed file.
    
    2024-09-08  11:41:34 NOTICE   lib.smarthome       --------------------   Init SmartHomeNG v1.9.2-master (manual)   --------------------
    2024-09-08  11:41:34 NOTICE   lib.smarthome       Running in Python interpreter 'v3.11.2 final', from directory /usr/local/smarthome
    2024-09-08  11:41:34 NOTICE   lib.smarthome        - on Linux-6.1.0-25-amd64-x86_64-with-glibc2.36 (pid=119057)
    2024-09-08  11:41:34 NOTICE   lib.smarthome        - Loglevel NOTICE is set to value 31 because handler of root logger is set to level WARNING or higher  -  Set level of handler 'shng_warnings_file' to 'NOTICE'!
    2024-09-08  11:41:34 NOTICE   lib.smarthome        - Nutze Feiertage für Land 'CH', Provinz 'AG', 1 benutzerdefinierte(r) Feiertag(e) definiert
    2024-09-08  11:41:35 WARNING  lib.module          Not loading module Mqtt from section 'mqtt': Module is disabled
    2024-09-08  11:41:36 WARNING  plugins.cli         CLI: You should set a password for this plugin.
    2024-09-08  11:41:36 WARNING  lib.item.items      Plugins 'smartvisu' and 'visu_websocket' define the same item-attribute 'visu_acl'
    2024-09-08  11:41:37 ERROR    lib.plugin          Plugin 'sonos' error importing Python package: cannot import name 'Set' from 'collections' (/usr/lib/python3.11/collections/__init__.py)
    2024-09-08  11:41:37 ERROR    lib.plugin          Plugin 'sonos' initialization failed, plugin not loaded
    2024-09-08  11:41:37 ERROR    lib.plugin          Plugin 'modbus' error importing Python package: No module named 'pymodbus.client.sync'
    2024-09-08  11:41:37 ERROR    lib.plugin          Plugin 'modbus' initialization failed, plugin not loaded​
    Zuletzt geändert von jonny7792; 08.09.2024, 14:18.
    Gruss Oliver

    Projektleiter Technische Gebäudeausrüstung

    #2
    Das scheint ein sehr tiefgehendes System-Update gewesen zu sein, wenn plötzlich Python 3.11 am Start ist. Dass die ziemlich alte shNG-Version 1.9.2 damit nicht läuft, lässt sich hier im Forum mehrfach nachlesen. Du solltest also mindestens mal auf die shNG-Version 1.10 updaten. Selbst diese unterstützt Python 3.11 offiziell noch nicht, weil nicht alle Plugins damit getestet sind.

    Gruß
    Wolfram

    Kommentar


      #3
      Hallo Wolfram

      Dementsprechend werde ich Mal auf 1.10 updaten , lässt sich das mit den virtuellen Python Umgebungen umgehen ?
      ​​​
      Gruss Oliver

      Projektleiter Technische Gebäudeausrüstung

      Kommentar


        #4
        Meines Wissens nicht mit Python 3.11. Wenn Du einen Downgrade auf Python 3.9 machen kannst, dann ja. Bei mir war Python 3.9 nach dem Systemupgrade noch soweit drauf, dass ich es unter Bookworm einsetzen kann.

        Kommentar


          #5
          nach dem Update auf SHNG 1.10 läuft alles wie es soll..


          Das einzige was aktuell noch nicht rennt ist das Sonos Plugin
          Zuletzt geändert von jonny7792; 08.09.2024, 14:17.
          Gruss Oliver

          Projektleiter Technische Gebäudeausrüstung

          Kommentar

          Lädt...
          X