-
-
Notifications
You must be signed in to change notification settings - Fork 403
Description
Hello, I have this problem when starting. Help me please.
Traceback (most recent call last):
File "D:\python\chatgpt_env\Lib\site-packages\websockets\legacy\client.py", line 655, in await_impl_timeout
return await self.await_impl()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\python\chatgpt_env\Lib\site-packages\websockets\legacy\client.py", line 662, in await_impl
await protocol.handshake(
File "D:\python\chatgpt_env\Lib\site-packages\websockets\legacy\client.py", line 323, in handshake
status_code, response_headers = await self.read_http_response()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\python\chatgpt_env\Lib\site-packages\websockets\legacy\client.py", line 139, in read_http_response
status_code, reason, headers = await read_response(self.reader)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\python\chatgpt_env\Lib\site-packages\websockets\legacy\http.py", line 120, in read_response
status_line = await read_line(stream)
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\python\chatgpt_env\Lib\site-packages\websockets\legacy\http.py", line 194, in read_line
line = await stream.readline()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\streams.py", line 545, in readline
line = await self.readuntil(sep)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\streams.py", line 637, in readuntil
await self._wait_for_data('readuntil')
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\streams.py", line 522, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "d:\python\Code_Interpreter\main.py", line 29, in
asyncio.run(main())
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "d:\python\Code_Interpreter\main.py", line 11, in main
await session.astart()
File "D:\python\chatgpt_env\Lib\site-packages\codeinterpreterapi\session.py", line 32, in astart
await self.codebox.astart()
File "D:\python\chatgpt_env\Lib\site-packages\codeboxapi\box\localbox.py", line 139, in astart
self.ws = await ws_connect(
^^^^^^^^^^^^^^^^^
File "D:\python\chatgpt_env\Lib\site-packages\websockets\legacy\client.py", line 654, in await_impl_timeout
async with asyncio_timeout(self.open_timeout):
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\timeouts.py", line 111, in aexit
raise TimeoutError from exc_val
TimeoutError
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x00000200F497BE10>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x00000200F4A31A20>, 88774.64)]']
connector: <aiohttp.connector.TCPConnector object at 0x00000200F4959790>
Exception ignored in: <function BaseSubprocessTransport.del at 0x00000200D5F28900>
Traceback (most recent call last):
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_subprocess.py", line 126, in del
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_subprocess.py", line 104, in close
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\proactor_events.py", line 109, in close
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 761, in call_soon
File "C:\Users\amese\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 519, in _check_closed
RuntimeError: Event loop is closed
Activity