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
2023-07-27 15:28:44,961 [ERROR]: Error running the kernel_program: Traceback (most recent call last): File "<ipython-input-1-8f4447b92d2a>", line 28, in run_kernel_program asyncio.run(kernel_program_main()) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/gpt_code_ui/kernel_program/main.py", line 149, in main await start_snakemq() File "/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/gpt_code_ui/kernel_program/main.py", line 71, in start_snakemq messaging, link = utils.init_snakemq(config.IDENT_MAIN) File "/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/gpt_code_ui/kernel_program/utils.py", line 24, in init_snakemq link.add_listener(("localhost", config.SNAKEMQ_PORT)) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/snakemq/link.py", line 343, in add_listener listen_sock.listen(address) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/snakemq/link.py", line 93, in listen self.sock.bind(address) OSError: [Errno 98] Address already in use
console have an error Traceback (most recent call last): File "/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/gpt_code_ui/kernel_program/launch_kernel.py", line 4, in <module> app.launch_new_instance() File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/traitlets/config/application.py", line 1042, in launch_instance app.initialize(argv) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/traitlets/config/application.py", line 113, in inner return method(app, *args, **kwargs) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 692, in initialize self.write_connection_file() File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/ipykernel/kernelapp.py", line 285, in write_connection_file write_connection_file(cf, **connection_info) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/jupyter_client/connect.py", line 149, in write_connection_file with secure_write(fname) as f: File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/contextlib.py", line 119, in __enter__ return next(self.gen) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/jupyter_core/paths.py", line 1000, in secure_write raise RuntimeError(msg) RuntimeError: Permissions assignment failed for secure file: '/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/kernel_connection_file.json'. Got '0o677' instead of '0o0600'.
Looks like you are working on a Windows or otherwise remote filesystem from a Unix-like system. As per jupyter/notebook#5058, this does not seem to work well. Can you try again, e.g. from your home directory?
The error in your first message seems to indicate that already a process was running and using one of the required network ports. Possibly, not all processes have terminated in a previous run?
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
-
2023-07-27 15:28:44,961 [ERROR]: Error running the kernel_program: Traceback (most recent call last): File "<ipython-input-1-8f4447b92d2a>", line 28, in run_kernel_program asyncio.run(kernel_program_main()) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/gpt_code_ui/kernel_program/main.py", line 149, in main await start_snakemq() File "/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/gpt_code_ui/kernel_program/main.py", line 71, in start_snakemq messaging, link = utils.init_snakemq(config.IDENT_MAIN) File "/mnt/d/code/PyTorch_Tutorial-master/Code/temp/gpt-code-ui-main/gpt_code_ui/kernel_program/utils.py", line 24, in init_snakemq link.add_listener(("localhost", config.SNAKEMQ_PORT)) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/snakemq/link.py", line 343, in add_listener listen_sock.listen(address) File "/home/elephont/miniconda3/envs/gpt/lib/python3.9/site-packages/snakemq/link.py", line 93, in listen self.sock.bind(address) OSError: [Errno 98] Address already in use
Beta Was this translation helpful? Give feedback.
All reactions