-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Traceback (most recent call last):
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
yield
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_transports/default.py", line 250, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpcore/_sync/connection_pool.py", line 256, in handle_request
raise exc from None
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpcore/_sync/connection_pool.py", line 236, in handle_request
response = connection.handle_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpcore/_sync/connection.py", line 101, in handle_request
raise exc
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpcore/_sync/connection.py", line 78, in handle_request
stream = self._connect(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpcore/_sync/connection.py", line 124, in _connect
stream = self._network_backend.connect_tcp(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpcore/_backends/sync.py", line 207, in connect_tcp
with map_exceptions(exc_map):
^^^^^^^^^^^^^^^^^^^^^^^
File "./contextlib.py", line 158, in __exit__
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectError: [Errno 61] Connection refused
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 94, in <module>
File "<frozen runpy>", line 229, in run_module
File "<frozen runpy>", line 88, in _run_code
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/main.py", line 6, in <module>
from model_hub import *
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/model_hub.py", line 93, in <module>
ollama_models_table.rows = generate_model_rows(list())
^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/ollama/_client.py", line 328, in list
return self._request('GET', '/api/tags').json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/ollama/_client.py", line 68, in _request
response = self._client.request(method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_client.py", line 825, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_client.py", line 914, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_client.py", line 1014, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_transports/default.py", line 249, in handle_request
with map_httpcore_exceptions():
^^^^^^^^^^^^^^^^^^^^^^^^^
File "./contextlib.py", line 158, in __exit__
File "/Users/cpp/Library/Application Support/com.flet.pyollamx/flet/app/__pypackages__/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectError: [Errno 61] Connection refused
Metadata
Metadata
Assignees
Labels
No labels