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
Backend Startup Failure Due to Unset Environment Variables #77
Comments
INFO: Started server process [8616] The above exception was the direct cause of the following exception: Traceback (most recent call last): ERROR: Application startup failed. Exiting. |
It appears you are trying to launch the project from source code. The application startup failed according to the logs, because the environment variables Please set them to point to the Docker pods |
What should I do if I don’t want to use Docker? |
@luolin-ai Since TaskingAI-Inference and TaskingAI-Plugin are not yet ready to be made open-source on GitHub, it is recommended to host TaskingAI directly through Docker. If you are keen on starting from the source code, please follow our organization and stay updated. We plan to make TaskingAI-Inference open-source in April, followed by TaskingAI-Plugin :-) |
OK 坐等开源 我做一个基于企业微信的TaskingAI客户端 马上项目 |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend.venv\Scripts\python.exe C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\main.py
Traceback (most recent call last):
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\main.py", line 2, in
from app.config import CONFIG
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\config.py", line 103, in
CONFIG = Config()
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\config.py", line 86, in init
self.TASKINGAI_PLUGIN_URL = load_str_env("TASKINGAI_PLUGIN_URL", required=True)
File "C:\Users\86185\Desktop\cuiyi\TaskingAI-0.2.0\TaskingAI-0.2.0\backend\app\config.py", line 33, in load_str_env
raise Exception(f"Env {name} is not set")
Exception: Env TASKINGAI_PLUGIN_URL is not set
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: