Python Fehlermeldung

Fragen zur Nutzung, Features, usw..
Antworten
Aminos
Beiträge: 20
Registriert: Do Aug 24, 2023 11:54 am

Python Fehlermeldung

Beitrag von Aminos »

Hallo,

Meine Openwb zeigt völlig falsche Werte der PV Anlage an. Die App von SMA zeigt realistische Werte an.
In den Logs sieht man unten auch einen Hinweis darauf. Wie kann man den Fehler stoppen? Eine Infomeldung ist nach jedem Neustart zu sehen. Installiert ist die aktuelle Master.


Info: Bei der Installation der benötigten Python-Bibliotheken ist ein Fehler aufgetreten! Bitte die Logdateien prüfen.

Log:

install required python packages with 'pip3'...
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: typing-extensions==4.4.0 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 1)) (4.4.0)
Requirement already satisfied: jq==1.1.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 2)) (1.1.3)
Requirement already satisfied: paho_mqtt==1.6.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 3)) (1.6.1)
Requirement already satisfied: pymodbus==2.5.2 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 4)) (2.5.2)
Requirement already satisfied: pytest==6.2.5 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 5)) (6.2.5)
Requirement already satisfied: requests_mock==1.9.3 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 6)) (1.9.3)
Requirement already satisfied: lxml==4.9.1 in /home/openwb/.local/lib/python3.9/site-packages (from -r /var/www/html/openWB/requirements.txt (line 7)) (4.9.1)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x753f86d0>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x753f8ac0>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x753f8418>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x753f8850>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x75429b98>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x754e1310>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x754e1178>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x754e1160>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x753f8d90>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x753f8478>: Failed to establish a new connection: [Errno -3] Temporärer Fehler bei der Namensauflösung')': /simple/aiohttp/
ERROR: Could not find a version that satisfies the requirement aiohttp==3.9.0
ERROR: No matching distribution found for aiohttp==3.9.0
failed!
load versions...
chgrp: Zugriff auf '/var/www/html/openWB/data/restore/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
chgrp: Zugriff auf '/var/www/html/openWB/data/data_migration/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/var/www/html/openWB/data/restore/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf '/var/www/html/openWB/data/data_migration/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
2024-04-19 12:05:42: boot done :-)
2024-04-19 12:05:45,264 - {root:179} - {DEBUG:MainThread} - Start openWB2.service
2024-04-19 12:05:45,266 - {helpermodules.update_config:501} - {DEBUG:MainThread} - Broker-Konfiguration aktualisieren
2024-04-19 12:05:46,786 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/5/get/evse_current
2024-04-19 12:05:46,792 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/5/get/soc
2024-04-19 12:05:46,795 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/5/get/soc_timestamp
2024-04-19 12:05:46,800 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/5/get/vehicle_id
2024-04-19 12:05:46,802 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/chargepoint/5/get/serial_number
2024-04-19 12:05:46,927 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/voltages
2024-04-19 12:05:46,930 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/currents
2024-04-19 12:05:46,933 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/frequency
2024-04-19 12:05:46,936 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power_factors
2024-04-19 12:05:46,939 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/imported
2024-04-19 12:05:46,942 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/exported
2024-04-19 12:05:46,945 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/power
2024-04-19 12:05:46,947 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/powers
2024-04-19 12:05:46,950 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/phases_in_use
2024-04-19 12:05:46,954 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/charge_state
2024-04-19 12:05:46,957 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/plug_state
2024-04-19 12:05:46,960 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/evse_current
2024-04-19 12:05:46,963 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/internal_chargepoint/0/get/serial_number
2024-04-19 12:05:46,987 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/command_completed
2024-04-19 12:05:46,990 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_c1b6ba2b/messages/1713520672678
2024-04-19 12:05:46,993 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_c1b6ba2b/messages/1713520786834
2024-04-19 12:05:46,996 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/command/mqttjs_f912264c/messages/1713521058023
2024-04-19 12:05:47,004 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/pv/get/fault_state
2024-04-19 12:05:47,007 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/pv/get/fault_str
2024-04-19 12:05:47,044 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/heartbeat
2024-04-19 12:05:47,047 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentWB
2024-04-19 12:05:47,050 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/parentCPlp1
2024-04-19 12:05:47,052 - {helpermodules.update_config:544} - {DEBUG:MainThread} - Ungültiges Topic zum Startzeitpunkt: openWB/set/isss/Current
2024-04-19 12:05:47,070 - {helpermodules.update_config:587} - {DEBUG:MainThread} - current datastore version: 41
2024-04-19 12:05:47,071 - {helpermodules.update_config:588} - {DEBUG:MainThread} - target datastore version: 41
2024-04-19 12:05:47,410 - {modules.configuration:162} - {ERROR:MainThread} - Fehler im configuration-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/configuration.py", line 154, in _pub_configurable_soc_modules
dev_defaults = importlib.import_module(
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 790, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/var/www/html/openWB/packages/modules/vehicles/evcc/soc.py", line 9, in <module>
from modules.vehicles.evcc.api import fetch_soc
File "/var/www/html/openWB/packages/modules/vehicles/evcc/api.py", line 4, in <module>
import grpc
ModuleNotFoundError: No module named 'grpc'



2024-04-19 12:07:40,431 - {pymodbus.client.sync:218} - {ERROR:device1} - Connection to (192.168.2.90, 502) failed: [Errno 101] Network is unreachable
2024-04-19 12:07:40,437 - {pymodbus.client.sync:218} - {ERROR:device2} - Connection to (192.168.2.69, 502) failed: [Errno 101] Network is unreachable
2024-04-19 12:07:50,975 - {pymodbus.client.sync:218} - {ERROR:device1} - Connection to (192.168.2.90, 502) failed: [Errno 101] Network is unreachable
2024-04-19 12:07:50,978 - {modules.common.fault_state:49} - {ERROR:device0} - SMA Home Manager Zähler: FaultState FaultStateLevel.ERROR, FaultStr OSError 19: Unbekannter Fehler No such device, Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 36, in __call__
self.__updater(components_list)
File "/var/www/html/openWB/packages/modules/devices/sma_shm/device.py", line 22, in update_components
with SpeedwireListener(timeout_seconds) as speedwire:
File "/var/www/html/openWB/packages/modules/devices/sma_shm/speedwire_listener.py", line 27, in __enter__
raise e
File "/var/www/html/openWB/packages/modules/devices/sma_shm/speedwire_listener.py", line 23, in __enter__
sock.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, mreq)
OSError: [Errno 19] No such device
aiole
Beiträge: 6900
Registriert: Mo Okt 08, 2018 4:51 pm

Re: Python Fehlermeldung

Beitrag von aiole »

Antworten