Closed rille111 closed 5 months ago
Windows
Main
GPT-3.5
Installation and setup
When running either docker-compose or `` , I get the same errors from the containers, specifically "celery-1".
docker-compose
Attaching the standard out from the faulty container.
docker compose -f docker-compose.yaml up --build
docker compose -f docker-compose-gpu.yml up --build
No changes to the docker compose files.
celery-1 | Installing collected packages: superagi-tools celery-1 | Attempting uninstall: superagi-tools celery-1 | Found existing installation: superagi-tools 1.0.8 celery-1 | Uninstalling superagi-tools-1.0.8: celery-1 | Successfully uninstalled superagi-tools-1.0.8 celery-1 | Successfully installed superagi-tools-1.0.6 celery-1 | Usage: celery [OPTIONS] COMMAND [ARGS]... celery-1 | Try 'celery --help' for help. celery-1 | celery-1 | Error: Invalid value for '-A' / '--app': celery-1 | Unable to load celery application. celery-1 | While trying to load the module superagi.worker the following error occurred: celery-1 | Traceback (most recent call last): celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/app/utils.py", line 384, in find_app celery-1 | sym = symbol_by_name(app, imp=imp) celery-1 | File "/opt/venv/lib/python3.10/site-packages/kombu/utils/imports.py", line 61, in symbol_by_name celery-1 | return getattr(module, cls_name) if cls_name else module celery-1 | AttributeError: module 'superagi' has no attribute 'worker' celery-1 | celery-1 | During handling of the above exception, another exception occurred: celery-1 | celery-1 | Traceback (most recent call last): celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/bin/celery.py", line 57, in convert celery-1 | return find_app(value) celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/app/utils.py", line 387, in find_app celery-1 | sym = imp(app) celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/utils/imports.py", line 105, in import_from_cwd celery-1 | return imp(module, package=package) celery-1 | File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module celery-1 | return _bootstrap._gcd_import(name[level:], package, level) celery-1 | File "", line 1050, in _gcd_import celery-1 | File "", line 1027, in _find_and_load celery-1 | File "", line 1006, in _find_and_load_unlocked celery-1 | File "", line 688, in _load_unlocked celery-1 | File "", line 883, in exec_module celery-1 | File "", line 241, in _call_with_frames_removed celery-1 | File "/app/superagi/worker.py", line 6, in celery-1 | from superagi.helper.tool_helper import handle_tools_import celery-1 | File "/app/superagi/helper/tool_helper.py", line 14, in celery-1 | from superagi.models.tool_config import ToolConfig celery-1 | File "/app/superagi/models/tool_config.py", line 5, in celery-1 | from superagi.helper.encyption_helper import encrypt_data celery-1 | File "/app/superagi/helper/encyption_helper.py", line 11, in celery-1 | raise Exception("Encryption key not found in config file.") celery-1 | Exception: Encryption key not found in config file. celery-1 | celery-1 exited with code 2
⚠️ Check for existing issues before proceeding. ⚠️
Where are you using SuperAGI?
Windows
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.
When running either
docker-compose
or `` , I get the same errors from the containers, specifically "celery-1".Attaching the standard out from the faulty container.
How to replicate your Issue?
docker compose -f docker-compose.yaml up --build
ordocker compose -f docker-compose-gpu.yml up --build
as isNo changes to the docker compose files.
Upload Error Log Content
celery-1 | Installing collected packages: superagi-tools celery-1 | Attempting uninstall: superagi-tools celery-1 | Found existing installation: superagi-tools 1.0.8 celery-1 | Uninstalling superagi-tools-1.0.8: celery-1 | Successfully uninstalled superagi-tools-1.0.8 celery-1 | Successfully installed superagi-tools-1.0.6 celery-1 | Usage: celery [OPTIONS] COMMAND [ARGS]... celery-1 | Try 'celery --help' for help. celery-1 | celery-1 | Error: Invalid value for '-A' / '--app': celery-1 | Unable to load celery application. celery-1 | While trying to load the module superagi.worker the following error occurred: celery-1 | Traceback (most recent call last): celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/app/utils.py", line 384, in find_app celery-1 | sym = symbol_by_name(app, imp=imp) celery-1 | File "/opt/venv/lib/python3.10/site-packages/kombu/utils/imports.py", line 61, in symbol_by_name celery-1 | return getattr(module, cls_name) if cls_name else module celery-1 | AttributeError: module 'superagi' has no attribute 'worker' celery-1 | celery-1 | During handling of the above exception, another exception occurred: celery-1 | celery-1 | Traceback (most recent call last): celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/bin/celery.py", line 57, in convert celery-1 | return find_app(value) celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/app/utils.py", line 387, in find_app celery-1 | sym = imp(app) celery-1 | File "/opt/venv/lib/python3.10/site-packages/celery/utils/imports.py", line 105, in import_from_cwd celery-1 | return imp(module, package=package) celery-1 | File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module celery-1 | return _bootstrap._gcd_import(name[level:], package, level) celery-1 | File "", line 1050, in _gcd_import celery-1 | File "", line 1027, in _find_and_load celery-1 | File "", line 1006, in _find_and_load_unlocked celery-1 | File "", line 688, in _load_unlocked celery-1 | File "", line 883, in exec_module celery-1 | File "", line 241, in _call_with_frames_removed celery-1 | File "/app/superagi/worker.py", line 6, in celery-1 | from superagi.helper.tool_helper import handle_tools_import celery-1 | File "/app/superagi/helper/tool_helper.py", line 14, in celery-1 | from superagi.models.tool_config import ToolConfig celery-1 | File "/app/superagi/models/tool_config.py", line 5, in celery-1 | from superagi.helper.encyption_helper import encrypt_data celery-1 | File "/app/superagi/helper/encyption_helper.py", line 11, in celery-1 | raise Exception("Encryption key not found in config file.") celery-1 | Exception: Encryption key not found in config file. celery-1 | celery-1 exited with code 2