Open studyletmehappy1 opened 3 weeks ago
jupyterhubs python testl.py /srv/jupyterhub/testl.py:20: SyntaxWarning; Using the sync method will unknown blocking exception, consider using async method. def example_job(): 2024-10-31 16:28:06.786 [MainThread] [NotInTask] INFO /usr/local/lib/python3, 10/dist-packages/pyxxl/main.py (cleanup ctx:107)- register with handlers [''] 2024-10-31 16:28:06.786 [MainThread] [NotInTask] INFO /usr/local/lib/python3.10/dist-packages/pyxxl/main. py (server_info_ctx: 31) - start executor server vith pid 76151. 2024-10-31 16:28:06.787 [MainThread] [NotInTask] INFO /usr/local/lib/python3.10/dist-packages/pyxxl/main. py (server_info_ctx:3) - stop executor server. pid-76151 2024-10-31 16:28:06.788 [MainThread] INotInTask] WARNING /us/ocal/ib/python3,10/dist-packages/pyxx1/main. py(register_task:76) Register task is exit. ERROR: asyncio: unhandled exception during asyncio.runO shutdown task: <Task finished name-'Task-1coo-< run app done, defined
@studyletmehappy1 你的电脑什么系统。只在你电脑上复现?
本人windows上面可以正常调度注册,但是调用到项目机器上时就不等待直接stop,项目机器为linux,Ubuntu
信息太少了,设成debug模式,看看更多的日志
jupyterhubs python testl.py /srv/jupyterhub/testl.py:20: SyntaxWarning; Using the sync method will unknown blocking exception, consider using async method. def example_job(): 2024-10-31 16:28:06.786 [MainThread] [NotInTask] INFO /usr/local/lib/python3, 10/dist-packages/pyxxl/main.py (cleanup ctx:107)- register with handlers ['']
2024-10-31 16:28:06.786 [MainThread] [NotInTask] INFO /usr/local/lib/python3.10/dist-packages/pyxxl/main. py (server_info_ctx: 31) - start executor server vith pid 76151.
2024-10-31 16:28:06.787 [MainThread] [NotInTask] INFO /usr/local/lib/python3.10/dist-packages/pyxxl/main. py (server_info_ctx:3) - stop executor server. pid-76151
2024-10-31 16:28:06.788 [MainThread] INotInTask] WARNING /us/ocal/ib/python3,10/dist-packages/pyxx1/main. py(register_task:76) Register task is exit. ERROR: asyncio: unhandled exception during asyncio.runO shutdown
task: <Task finished name-'Task-1coo-< run app done, defined