Ich bekomme Fehlermeldungen die ich nicht reparieren kan. Hat jemand ein Idee?
AttributeError: '_UnixSelectorEventLoop' object has no attribute 'shutdown_default_executor'
2022-07-29 21:57:43,467 - INFO - fhempy.lib.fhem_pythonbinding: Starting fhempy 0.1.380...
2022-07-29 21:57:43,484 - INFO - fhempy.lib.fhem_pythonbinding: Waiting for FHEM connection
2022-07-29 21:57:43,582 - WARNING - asyncio: Executing <Task pending coro=<async_main() running at /opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py:551> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x756e4450>()] created at /usr/lib/python3.7/asyncio/tasks.py:615> cb=[_run_until_complete_cb() at /usr/lib/python3.7/asyncio/base_events.py:158] created at /usr/lib/python3.7/asyncio/base_events.py:563> took 0.114 seconds
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 635, in run
loop.run_until_complete(async_main())
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 551, in async_main
pybinding, "0.0.0.0", port, ping_timeout=None, ping_interval=None
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/server.py", line 1070, in __aenter__
return await self
File "/opt/fhem/.local/lib/python3.7/site-packages/websockets/legacy/server.py", line 1088, in __await_impl__
server = await self._create_server()
File "/usr/lib/python3.7/asyncio/base_events.py", line 1378, in create_server
% (sa, err.strerror.lower())) from None
OSError: [Errno 98] error while attempting to bind on address ('0.0.0.0', 15733): address already in use
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "FHEM/bindings/python/bin/fhempy", line 118, in <module>
fpb.run()
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 640, in run
loop.run_until_complete(loop.shutdown_default_executor())
Ja, fhempy läuft bei dir bereits. Hast du fhempy eventuell einmal aus FHEM und einmal per Hand oder via systemd gestartet?