-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 new installation #1373
Comments
I have the same exact issue downloaded @ 1330 cst |
Hi! (Vanilla deploy for llama)
|
Hi can you create the config.yaml again or give a 32 character key for Encryption_key |
Hi! After fixing my broken system and re- cloning the repo it works now, the fault was on my side. :) |
I re created config , where can I "give " it a key ? |
in the config.yaml there would be |
@Fluder-Paradyne encoding the encryption key to base64 worked for me |
Where are you using SuperAGI?
MacOS
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
I get error when I trying to install it in my local machine
superagi-backend-1 | The above exception was the direct cause of the following exception:
superagi-backend-1 |
superagi-backend-1 | Traceback (most recent call last):
superagi-backend-1 | File "/usr/local/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
superagi-backend-1 | self.run()
superagi-backend-1 | File "/usr/local/lib/python3.10/multiprocessing/process.py", line 108, in run
superagi-backend-1 | self._target(*self._args, **self._kwargs)
superagi-backend-1 | File "/opt/venv/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
superagi-backend-1 | target(sockets=sockets)
superagi-backend-1 | File "/opt/venv/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
superagi-backend-1 | return asyncio.run(self.serve(sockets=sockets))
superagi-backend-1 | File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
superagi-backend-1 | return loop.run_until_complete(main)
superagi-backend-1 | File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
superagi-backend-1 | File "/opt/venv/lib/python3.10/site-packages/uvicorn/server.py", line 68, in serve
superagi-backend-1 | config.load()
superagi-backend-1 | File "/opt/venv/lib/python3.10/site-packages/uvicorn/config.py", line 473, in load
superagi-backend-1 | self.loaded_app = import_from_string(self.app)
superagi-backend-1 | File "/opt/venv/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
superagi-backend-1 | module = importlib.import_module(module_str)
superagi-backend-1 | File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
superagi-backend-1 | return _bootstrap._gcd_import(name[level:], package, level)
superagi-backend-1 | File "", line 1050, in _gcd_import
superagi-backend-1 | File "", line 1027, in _find_and_load
superagi-backend-1 | File "", line 1006, in _find_and_load_unlocked
superagi-backend-1 | File "", line 688, in _load_unlocked
superagi-backend-1 | File "", line 883, in exec_module
superagi-backend-1 | File "", line 241, in _call_with_frames_removed
superagi-backend-1 | File "/app/main.py", line 15, in
superagi-backend-1 | from superagi.agent.workflow_seed import IterationWorkflowSeed, AgentWorkflowSeed
superagi-backend-1 | File "/app/superagi/agent/workflow_seed.py", line 1, in
superagi-backend-1 | from superagi.agent.agent_prompt_builder import AgentPromptBuilder
superagi-backend-1 | File "/app/superagi/agent/agent_prompt_builder.py", line 6, in
superagi-backend-1 | from superagi.helper.token_counter import TokenCounter
superagi-backend-1 | File "/app/superagi/helper/token_counter.py", line 7, in
superagi-backend-1 | from superagi.models.models import Models
superagi-backend-1 | File "/app/superagi/models/models.py", line 7, in
superagi-backend-1 | from superagi.helper.encyption_helper import decrypt_data
superagi-backend-1 | File "/app/superagi/helper/encyption_helper.py", line 12, in
superagi-backend-1 | cipher_suite = Fernet(key)
superagi-backend-1 | File "/opt/venv/lib/python3.10/site-packages/cryptography/fernet.py", line 36, in init
superagi-backend-1 | raise ValueError(
superagi-backend-1 | ValueError: Fernet key must be 32 url-safe base64-encoded bytes.
How to replicate your Issue?
I just trying to install it from the tutorial.
Upload Error Log Content
ValueError: Fernet key must be 32 url-safe base64-encoded bytes.
The text was updated successfully, but these errors were encountered: