Closed Iamasdf closed 4 months ago
I have a similar error with the TimeoutError
:
(base) ➜ AutoGPT git:(master) ✗ ./run agent start Helper
⌛ Running setup for agent 'Helper'...
dyld[9084]: Library not loaded: /opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python
Referenced from: <4709693B-C0D0-35B6-8474-59BC545EEFC6> /Users/Till_Brodbeck/Library/Application Support/pypoetry/venv/bin/python
Reason: tried: '/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file)
No poetry environment found.
dyld[9085]: Library not loaded: /opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python
Referenced from: <4709693B-C0D0-35B6-8474-59BC545EEFC6> /Users/Till_Brodbeck/Library/Application Support/pypoetry/venv/bin/python
Reason: tried: '/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file)
./setup: line 11: 9085 Abort trap: 6 poetry install --extras benchmark
Setup completed successfully.
⌛ (Re)starting benchmark server...
dyld[9089]: Library not loaded: /opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python
Referenced from: <4709693B-C0D0-35B6-8474-59BC545EEFC6> /Users/Till_Brodbeck/Library/Application Support/pypoetry/venv/bin/python
Reason: tried: '/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file), '/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/Python' (no such file)
./run_benchmark: line 9: 9089 Abort trap: 6 poetry run agbenchmark "$@"
Traceback (most recent call last):
File "/Users/Till_Brodbeck/Library/CloudStorage/Box-Box/1 Projekte/AI/AutoGPT/cli.py", line 493, in <module>
cli()
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/miniconda/base/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/Till_Brodbeck/Library/CloudStorage/Box-Box/1 Projekte/AI/AutoGPT/cli.py", line 149, in start
wait_until_conn_ready(8080)
File "/Users/Till_Brodbeck/Library/CloudStorage/Box-Box/1 Projekte/AI/AutoGPT/cli.py", line 489, in wait_until_conn_ready
raise TimeoutError(f"Port {port} did not open within {timeout} seconds")
TimeoutError: Port 8080 did not open within 30 seconds
This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.
This issue was closed automatically because it has been stale for 10 days with no activity.
⚠️ Search for existing issues first ⚠️
Which Operating System are you using?
Linux
Which version of AutoGPT are you using?
Latest Release
Do you use OpenAI GPT-3 or GPT-4?
GPT-3.5
Which area covers your issue best?
Memory
Describe your issue.
I have installed on my server it successed to be runed ,then a visit the IP:8000/app/index.html agent service on browser. it is empty .the browser receive html code is
| -- | -- | | | ||
<!DOCTYPE html>
it display nothing on the page.
then I try to install on gitpod.io: the agent server can not run.there are some error in it
Installing onnxruntime (1.16.3): Failed
RuntimeError
Unable to find installation candidates for onnxruntime (1.16.3)
at ~/.local/share/pypoetry/venv/lib/python3.12/site-packages/poetry/installation/chooser.py:74 in choose_for 70│ 71│ links.append(link) 72│ 73│ if not links: → 74│ raise RuntimeError(f"Unable to find installation candidates for {package}") 75│ 76│ # Get the best link 77│ chosen = max(links, key=lambda link: self._sort_key(package, link)) 78│
Cannot install onnxruntime.
⌛ (Re)starting benchmark server... INFO: Started server process [12459] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
⌛ (Re)starting agent 'testing'... kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/workspace/AutoGPT/autogpts/testing/forge/main.py", line 6, in
import forge.sdk.forge_log
File "/workspace/AutoGPT/autogpts/testing/forge/sdk/init.py", line 5, in
from ..llm import chat_completion_request, create_embedding_request, transcribe_audio
File "/workspace/AutoGPT/autogpts/testing/forge/llm.py", line 3, in
from litellm import AuthenticationError, InvalidRequestError, ModelResponse, acompletion
ModuleNotFoundError: No module named 'litellm'
Traceback (most recent call last):
File "/workspace/AutoGPT/cli.py", line 933, in
cli()
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1157, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/AutoGPT/cli.py", line 294, in start
wait_until_conn_ready(8000)
File "/workspace/AutoGPT/cli.py", line 929, in wait_until_conn_ready
raise TimeoutError(f"Port {port} did not open within {timeout} seconds")
TimeoutError: Port 8000 did not open within 30 seconds
gitpod /workspace/AutoGPT (master) $
may be the onnxruntime module can not installed due to it can not create 8000 agent server. but I have tried pip install onnxruntime ,it have installed. there are some error on ./run agent start agentname. it can not success to be runed
Upload Activity Log Content
Installing onnxruntime (1.16.3): Failed
RuntimeError
Unable to find installation candidates for onnxruntime (1.16.3)
at ~/.local/share/pypoetry/venv/lib/python3.12/site-packages/poetry/installation/chooser.py:74 in choose_for 70│ 71│ links.append(link) 72│ 73│ if not links: → 74│ raise RuntimeError(f"Unable to find installation candidates for {package}") 75│ 76│ # Get the best link 77│ chosen = max(links, key=lambda link: self._sort_key(package, link)) 78│
Cannot install onnxruntime.
⌛ (Re)starting benchmark server... INFO: Started server process [12459] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
⌛ (Re)starting agent 'testing'... kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/workspace/AutoGPT/autogpts/testing/forge/main.py", line 6, in
import forge.sdk.forge_log
File "/workspace/AutoGPT/autogpts/testing/forge/sdk/init.py", line 5, in
from ..llm import chat_completion_request, create_embedding_request, transcribe_audio
File "/workspace/AutoGPT/autogpts/testing/forge/llm.py", line 3, in
from litellm import AuthenticationError, InvalidRequestError, ModelResponse, acompletion
ModuleNotFoundError: No module named 'litellm'
Traceback (most recent call last):
File "/workspace/AutoGPT/cli.py", line 933, in
cli()
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1157, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/AutoGPT/cli.py", line 294, in start
wait_until_conn_ready(8000)
File "/workspace/AutoGPT/cli.py", line 929, in wait_until_conn_ready
raise TimeoutError(f"Port {port} did not open within {timeout} seconds")
TimeoutError: Port 8000 did not open within 30 seconds
gitpod /workspace/AutoGPT (master) $
Upload Error Log Content
Installing onnxruntime (1.16.3): Failed
RuntimeError
Unable to find installation candidates for onnxruntime (1.16.3)
at ~/.local/share/pypoetry/venv/lib/python3.12/site-packages/poetry/installation/chooser.py:74 in choose_for 70│ 71│ links.append(link) 72│ 73│ if not links: → 74│ raise RuntimeError(f"Unable to find installation candidates for {package}") 75│ 76│ # Get the best link 77│ chosen = max(links, key=lambda link: self._sort_key(package, link)) 78│
Cannot install onnxruntime.
⌛ (Re)starting benchmark server... INFO: Started server process [12459] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
⌛ (Re)starting agent 'testing'... kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/workspace/AutoGPT/autogpts/testing/forge/main.py", line 6, in
import forge.sdk.forge_log
File "/workspace/AutoGPT/autogpts/testing/forge/sdk/init.py", line 5, in
from ..llm import chat_completion_request, create_embedding_request, transcribe_audio
File "/workspace/AutoGPT/autogpts/testing/forge/llm.py", line 3, in
from litellm import AuthenticationError, InvalidRequestError, ModelResponse, acompletion
ModuleNotFoundError: No module named 'litellm'
Traceback (most recent call last):
File "/workspace/AutoGPT/cli.py", line 933, in
cli()
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1157, in call
return self.main(args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gitpod/.pyenv/versions/3.12.3/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/AutoGPT/cli.py", line 294, in start
wait_until_conn_ready(8000)
File "/workspace/AutoGPT/cli.py", line 929, in wait_until_conn_ready
raise TimeoutError(f"Port {port} did not open within {timeout} seconds")
TimeoutError: Port 8000 did not open within 30 seconds
gitpod /workspace/AutoGPT (master) $