FHEM Forum

FHEM - Hausautomations-Systeme => Sonstige Systeme => Thema gestartet von: rakete123 am 30 Juni 2024, 10:50:20

Titel: fhempy - asyncio: Fatal error: protocol.data_received() call failed.
Beitrag von: rakete123 am 30 Juni 2024, 10:50:20
Hallo zusammen,
seit dem letzten fhempy Update hab ich folgendes Problem:
2024-06-30 10:48:25,985 - INFO     - websockets.server: connection closed
2024-06-30 10:48:25,986 - INFO     - websockets.server: server closed
2024-06-30 10:48:25,989 - INFO     - fhempy.lib.fhem_pythonbinding: Exit 1
Activating virtual environment...OK
2024-06-30 10:48:28,564 - INFO     - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.742...
2024-06-30 10:48:28,567 - INFO     - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2024-06-30 10:48:28,638 - INFO     - websockets.server: server listening on 0.0.0.0:15733
2024-06-30 10:48:36,675 - INFO     - websockets.server: connection open
2024-06-30 10:48:36,676 - INFO     - fhempy.lib.fhem_pythonbinding: Incoming FHEM connection: 127.0.0.1
2024-06-30 10:48:39,828 - ERROR    - asyncio: Fatal error: protocol.data_received() call failed.
protocol: <aioblescan.aioblescan.BLEScanRequester object at 0x73c8f970>
transport: <_SelectorSocketTransport fd=16 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 870, in _read_ready__data_received
    self._protocol.data_received(data)
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/aioblescan/aioblescan.py", line 1855, in data_received
    self.process(packet)
  File "/opt/fhem/.fhempy/fhempy_venv/lib/python3.9/site-packages/fhempy/lib/ble_monitor/hcidump.py", line 122, in process_hci_events
    sensor_msg, tracker_msg = self.ble_parser.parse_data(data)
AttributeError: 'BleParser' object has no attribute 'parse_data'

Hab schon einiges probiert, bin aber nicht wirklich weitergekommen. Ist Python 3.9 zu alt?
Vielleicht hat ja jemand eine Idee?

mfg
Marcel