@chriddyp I just got an example of how the debugger goes buggy when setting a trace in a callback. Decided to just move this to a new thread as it was getting unrelated.
Any idea what this could be based on the traceback below?
Btw, I’m using
dash 1.11.0
dash-core-components 1.9.1
dash-gif-component 1.0.2
dash-html-components 1.0.3
dash-renderer 1.4.0
dash-table 4.6.2
Exception in thread Thread-193:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/Users/mkupfer/Interactive-Tools/iece/venv/lib/python3.7/site-packages/IPython/terminal/debugger.py", line 102, in in_thre
ad
line = self.pt_app.prompt()
File "/Users/mkupfer/Interactive-Tools/iece/venv/lib/python3.7/site-packages/prompt_toolkit/shortcuts/prompt.py", line 994, in p
rompt
return self.app.run(set_exception_handler=set_exception_handler)
File "/Users/mkupfer/Interactive-Tools/iece/venv/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 81
2, in run
self.run_async(pre_run=pre_run, set_exception_handler=set_exception_handler)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/Users/mkupfer/Interactive-Tools/iece/venv/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 77
8, in run_async
return await _run_async2()
File "/Users/mkupfer/Interactive-Tools/iece/venv/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 76
6, in _run_async2
await self.cancel_and_wait_for_background_tasks()
File "/Users/mkupfer/Interactive-Tools/iece/venv/lib/python3.7/site-packages/prompt_toolkit/application/application.py", line 86
7, in cancel_and_wait_for_background_tasks
await task
RuntimeError: Task <Task pending coro=<Application.run_async() running at /Users/mkupfer/Interactive-Tools/iece/venv/lib/python3.7
/site-packages/prompt_toolkit/application/application.py:778> cb=[_run_until_complete_cb() at /Library/Frameworks/Python.framework
/Versions/3.7/lib/python3.7/asyncio/base_events.py:158]> got Future <Task pending coro=<KeyProcessor._start_timeout.<locals>.wait$