-
Notifications
You must be signed in to change notification settings - Fork 43.1k
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
agent have started ,but the website is empty,and in the gitpod env, it can not be installed and can not #7122
Comments
I have a similar error with the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
| -- | -- | | | | | | | | | | | | | | | | | | | | <title>auto_gpt_flutter_client</title> | | | <script> | // The value below is injected by flutter build, do not touch. | const serviceWorkerVersion = "2777025953"; | </script> | | <script src="flutter.js" defer></script> | | <script type="module"> | // Import the functions you need from the SDKs you need | import { initializeApp } from "https://www.gstatic.com/firebasejs/10.4.0/firebase-app.js"; | import { getAnalytics } from "https://www.gstatic.com/firebasejs/10.4.0/firebase-analytics.js"; | // TODO: Add SDKs for Firebase products that you want to use | // https://firebase.google.com/docs/web/setup#available-libraries | | // Your web app's Firebase configuration | // For Firebase JS SDK v7.20.0 and later, measurementId is optional | const firebaseConfig = { | apiKey: "AIzaSyBvYLAK_A0uhFuVPQbTxUdVWbb_Lsur9cg", | authDomain: "prod-auto-gpt.firebaseapp.com", | projectId: "prod-auto-gpt", | storageBucket: "prod-auto-gpt.appspot.com", | messagingSenderId: "387936576242", | appId: "1:387936576242:web:7536e0c50dd81b4dd7a66b", | measurementId: "G-8PRS69JJRL" | }; | | // Initialize Firebase | const app = initializeApp(firebaseConfig); | const analytics = getAnalytics(app); | </script> | | | <script> | window.addEventListener('load', function(ev) { | // Download main.dart.js | _flutter.loader.loadEntrypoint({ | serviceWorker: { | serviceWorkerVersion: serviceWorkerVersion, | }, | onEntrypointLoaded: function(engineInitializer) { | engineInitializer.initializeEngine().then(function(appRunner) { | appRunner.runApp(); | }); | } | }); | }); | </script> | | | <title>auto_gpt_flutter_client</title> <script> // The value below is injected by flutter build, do not touch. const serviceWorkerVersion = "2777025953"; </script> <script src="[flutter.js](http://43.201.154.199:8000/app/flutter.js)" defer></script> <script type="module"> // Import the functions you need from the SDKs you need import { initializeApp } from "https://www.gstatic.com/firebasejs/10.4.0/firebase-app.js"; import { getAnalytics } from "https://www.gstatic.com/firebasejs/10.4.0/firebase-analytics.js"; // TODO: Add SDKs for Firebase products that you want to use // https://firebase.google.com/docs/web/setup#available-libraries // Your web app's Firebase configuration // For Firebase JS SDK v7.20.0 and later, measurementId is optional const firebaseConfig = { apiKey: "AIzaSyBvYLAK_A0uhFuVPQbTxUdVWbb_******", authDomain: "prod-auto-gpt.firebaseapp.com", projectId: "prod-auto-gpt", storageBucket: "prod-auto-gpt.appspot.com", messagingSenderId: "387936576242", appId: "1:387936576242:web:7536e0c50dd81********", measurementId: "G-8PRS69JJRL" }; // Initialize Firebase const app = initializeApp(firebaseConfig); const analytics = getAnalytics(app); </script> <script> window.addEventListener('load', function(ev) { // Download main.dart.js _flutter.loader.loadEntrypoint({ serviceWorker: { serviceWorkerVersion: serviceWorkerVersion, }, onEntrypointLoaded: function(engineInitializer) { engineInitializer.initializeEngine().then(function(appRunner) { appRunner.runApp(); }); } }); }); </script>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) $
The text was updated successfully, but these errors were encountered: