Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #11

Open
SpyC0der77 opened this issue Dec 15, 2024 · 0 comments
Open

Error #11

SpyC0der77 opened this issue Dec 15, 2024 · 0 comments

Comments

@SpyC0der77
Copy link

Traceback (most recent call last):
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_transports\default.py", line 101, in map_httpcore_exceptions
yield
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_transports\default.py", line 250, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_sync\connection_pool.py", line 256, in handle_request
raise exc from None
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_sync\connection_pool.py", line 236, in handle_request
response = connection.handle_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_sync\connection.py", line 103, in handle_request
return self._connection.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_sync\http11.py", line 136, in handle_request
raise exc
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_sync\http11.py", line 106, in handle_request
) = self._receive_response_headers(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_sync\http11.py", line 177, in _receive_response_headers
event = self._receive_event(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_sync\http11.py", line 217, in _receive_event
data = self._network_stream.read(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_backends\sync.py", line 126, in read
with map_exceptions(exc_map):
File "C:\Python312\Lib\contextlib.py", line 155, in exit
self.gen.throw(value)
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpcore_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ReadTimeout: The read operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\shuttleai\client_sync.py", line 150, in _request
response = self._http_client.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_client.py", line 825, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_client.py", line 914, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_client.py", line 1014, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_transports\default.py", line 249, in handle_request
with map_httpcore_exceptions():
File "C:\Python312\Lib\contextlib.py", line 155, in exit
self.gen.throw(value)
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\httpx_transports\default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: The read operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter\generate.py", line 18, in
chat_completion = shuttleai.chat.completions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\shuttleai\resources\chat\completions.py", line 150, in create
return self.handle_request( # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\shuttleai\resources\common.py", line 46, in handle_request
return self._no_stream_response(response, response_cls)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\shuttleai\resources\common.py", line 24, in _no_stream_response
for resp in response:
File "C:\Users\Carter\Code\Full Projects\Podcast2Newsletter.venv\Lib\site-packages\shuttleai\client_sync.py", line 162, in _request
raise ShuttleAIException(f"Unexpected exception ({e.class.name}): {e}") from e
shuttleai.exceptions.ShuttleAIException: Unexpected exception (ReadTimeout): The read operation timed out
PS C:\Users\Carter\Code\Full Projects\Podcast2Newsletter>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant