You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the dev mod with uvicorn 0.29.0 everytime I ctrl+s (or ctrl+c, to exit) a big Exception message pops in the terminal.
Process SpawnProcess-2:
Traceback (most recent call last):
File "c:\Users\Lumineer\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Lumineer\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 685, in run_until_complete
returnfuture.result()
^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\Lumineer\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "c:\Users\Lumineer\AppData\Local\Programs\Python\Python312\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "d:\Desktop\Codding Space\EventKit\auth\server\.venv\Lib\site-packages\uvicorn\_subprocess.py", line 78, in subprocess_started
target(sockets=sockets)
File "d:\Desktop\Codding Space\EventKit\auth\server\.venv\Lib\site-packages\uvicorn\server.py", line 65, in run
return asyncio.run(self.serve(sockets=sockets))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\Lumineer\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "c:\Users\Lumineer\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 123, in run
raise KeyboardInterrupt()
KeyboardInterrupt
It's not a big issue, but it's rather distracting when developing and debugging the application.
And with the new version of fastapi cli requireing 0.29.0 i can't forcefully use the 0.23 that worked.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
When using the dev mod with uvicorn 0.29.0 everytime I ctrl+s (or ctrl+c, to exit) a big Exception message pops in the terminal.
It's not a big issue, but it's rather distracting when developing and debugging the application.
And with the new version of fastapi cli requireing 0.29.0 i can't forcefully use the 0.23 that worked.
Thank you for the hard work.
Operating System
Windows
Operating System Details
No response
FastAPI Version
0.111.0
Pydantic Version
2.7.1
Python Version
3.12.2
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions