-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I have this infinite loop problem in PoneBiometrics/fido2ble#37:
Jun 25 12:01:48 arbor fido2ble[1472]: IndexError: pop from empty list
Jun 25 12:01:48 arbor fido2ble[1472]: 12:01:48.086 Exception in callback AsyncioBlockingUHID._async_writer()
Jun 25 12:01:48 arbor fido2ble[1472]: handle: <Handle AsyncioBlockingUHID._async_writer()>
Jun 25 12:01:48 arbor fido2ble[1472]: Traceback (most recent call last):
Jun 25 12:01:48 arbor fido2ble[1472]: File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run
Jun 25 12:01:48 arbor fido2ble[1472]: self._context.run(self._callback, *self._args)
Jun 25 12:01:48 arbor fido2ble[1472]: File "/usr/lib/python3/dist-packages/fido2ble/vendored/uhid/__init__.py", line 374, in _async_writer
Jun 25 12:01:48 arbor fido2ble[1472]: self._write(self._write_queue.pop(0))
Jun 25 12:01:48 arbor fido2ble[1472]: ^^^^^^^^^^^^^^^^^^^^^^^^
seems to be because the fd is ready for write while the queue is empty.
Metadata
Metadata
Assignees
Labels
No labels