Python 3.10
archekb opened this issue · 1 comments
archekb commented
INFO:ble2mqtt.__main__:Starting BLE2MQTT version 0.1.1
ble2mqtt_1 | Traceback (most recent call last):
ble2mqtt_1 | File "/root/.local/bin/ble2mqtt", line 8, in <module>
ble2mqtt_1 | sys.exit(main())
ble2mqtt_1 | File "/root/.local/lib/python3.10/site-packages/ble2mqtt/__main__.py", line 140, in main
ble2mqtt_1 | aio.run(amain(config), debug=(config['log_level'].upper() == 'DEBUG'))
ble2mqtt_1 | File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
ble2mqtt_1 | return loop.run_until_complete(main)
ble2mqtt_1 | File "/usr/local/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
ble2mqtt_1 | return future.result()
ble2mqtt_1 | File "/root/.local/lib/python3.10/site-packages/ble2mqtt/__main__.py", line 100, in amain
ble2mqtt_1 | service.register(
ble2mqtt_1 | File "/root/.local/lib/python3.10/site-packages/ble2mqtt/ble2mqtt.py", line 769, in register
ble2mqtt_1 | device = device_class(*args, **kwargs)
ble2mqtt_1 | File "/root/.local/lib/python3.10/site-packages/ble2mqtt/devices/cover_am43.py", line 66, in __init__
ble2mqtt_1 | super().__init__(*args, **kwargs)
ble2mqtt_1 | File "/root/.local/lib/python3.10/site-packages/ble2mqtt/protocols/base.py", line 15, in __init__
ble2mqtt_1 | self._ble_queue = aio.Queue(loop=self._loop)
ble2mqtt_1 | File "/usr/local/lib/python3.10/asyncio/queues.py", line 34, in __init__
ble2mqtt_1 | super().__init__(loop=loop)
ble2mqtt_1 | File "/usr/local/lib/python3.10/asyncio/mixins.py", line 17, in __init__
ble2mqtt_1 | raise TypeError(
ble2mqtt_1 | TypeError: As of 3.10, the *loop* parameter was removed from Queue() since it is no longer necessary