cosmicds / hubbleds

Hubble's law data story
MIT License
0 stars 8 forks source link

Terminal error we see a lot #627

Open patudom opened 1 week ago

patudom commented 1 week ago
Exception in callback Future.set_exception(CancelledError())
handle: <Handle Future.set_exception(CancelledError())>
Traceback (most recent call last):
  File "/Users/Pat/anaconda3/envs/common-solara/lib/python3.11/asyncio/events.py", line 84, in _run
    self._context.run(self._callback, *self._args)
asyncio.exceptions.InvalidStateError: invalid state

We think this isn't really a problem - it results from our threaded tasks. Some solara variable is triggering a refresh before the task is done, so it has to kill it and redo it.