Skip to content

Crash after invalid connection when connecting to 2 robots #24

@Sigmanificient

Description

@Sigmanificient
Connnecting to <ilo name=default @ 88:57:21:A0:5C:6E (via BLUETOOTH)>
You are connected to default, v0.16
Checking for online updates... Please wait.
Latest version: 0.16
Your ilo is already up to date ;)
Traceback (most recent call last):
  File "/home/sigmanificient/repos/ilo/lib_python/tests/test_imu.py", line 9, in <module>
    ilo.robot(c, debug=False)
    ~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/home/sigmanificient/repos/ilo/lib_python/src/ilo/facade.py", line 15, in robot
    raise ValueError("Aucun robot correspondant")
ValueError: Aucun robot correspondant
Task exception was never retrieved
future: <Task finished name='Task-34' coro=<_SyncBleak.subscribe_to_notifications.<locals>.async_callback() done, defined at /home/sigmanificient/repos/ilo/lib_python/src/ilo/ble_lib.py:63> exception=RuntimeError('cannot schedule new futures after shutdown')>
Traceback (most recent call last):
  File "/home/sigmanificient/repos/ilo/lib_python/src/ilo/ble_lib.py", line 65, in async_callback
    self.executor.submit(callback, sender, data)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/hqlychjwmc9l8c6vnlsz9l0smal24vi8-python3-3.13.9-env/lib/python3.13/concurrent/futures/thread.py", line 171, in submit
    raise RuntimeError('cannot schedule new futures after shutdown')
RuntimeError: cannot schedule new futures after shutdown

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions