I managed to get more info leading to this error (I think?):
^C2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module cStringIO as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module six.moves as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module six.moves.http_client as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module brotli as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module winreg as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module six.moves.urllib as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module six.moves.urllib.parse as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module brotli as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module socks as DSDL
2024-12-03 05:42:32 DEBUG pycyphal.dsdl._import_hook: Attempting to load module cPickle as DSDL
Traceback (most recent call last):
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
self.run_forever()
File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
self._run_once()
File "/usr/lib/python3.8/asyncio/base_events.py", line 1859, in _run_once
handle._run()
File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "update_auth_bit.py", line 287, in run
await update_bootloader(node, node_id, bootloader_image)
File "update_auth_bit.py", line 246, in update_bootloader
await agent.write_rom(0x0000BF00, bytes.fromhex(s))
File "update_auth_bit.py", line 120, in write_rom
while len(data) % write_size:
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "update_auth_bit.py", line 306, in <module>
asyncio.run(main())
File "/usr/lib/python3.8/asyncio/runners.py", line 47, in run
_cancel_all_tasks(loop)
File "/usr/lib/python3.8/asyncio/runners.py", line 60, in _cancel_all_tasks
task.cancel()
File "/usr/lib/python3.8/asyncio/tasks.py", line 718, in cancel
if child.cancel():
File "/usr/lib/python3.8/asyncio/tasks.py", line 718, in cancel
if child.cancel():
File "/usr/lib/python3.8/asyncio/tasks.py", line 718, in cancel
if child.cancel():
[Previous line repeated 495 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object
2024-12-03 05:42:32 ERROR asyncio: Task exception was never retrieved
future: <Task finished name='update_bootloader(125)' coro=<main.<locals>.run() done, defined at update_auth_bit.py:285> exception=KeyboardInterrupt()>
Traceback (most recent call last):
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
self.run_forever()
File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
self._run_once()
File "/usr/lib/python3.8/asyncio/base_events.py", line 1859, in _run_once
handle._run()
File "/usr/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "update_auth_bit.py", line 287, in run
await update_bootloader(node, node_id, bootloader_image)
File "update_auth_bit.py", line 246, in update_bootloader
await agent.write_rom(0x0000BF00, bytes.fromhex(s))
File "update_auth_bit.py", line 120, in write_rom
while len(data) % write_size:
KeyboardInterrupt
Then another few stanzas of errors appear.