-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
LiteLLM Proxy Startup Error: TypeError in check_view_exists() #5702
Comments
I am also facing the same issue on a kubernetes deployment, running I am running |
@kishan-getstarted @ksquarekumar fix will be on 1.46.0 |
@ishaan-jaff I tried a fresh deploy of 1.46.0 on railway but same error I think: INFO: Started server process [1] INFO: Waiting for application startup. ERROR: Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 732, in lifespan
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 608, in aenter
File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 709, in startup
File "/usr/local/lib/python3.11/site-packages/litellm/proxy/proxy_server.py", line 2905, in startup_event
File "/usr/local/lib/python3.11/site-packages/backoff/_async.py", line 151, in retry
File "/usr/local/lib/python3.11/site-packages/litellm/proxy/utils.py", line 995, in check_view_exists
TypeError: argument of type 'NoneType' is not iterable ERROR: Application startup failed. Exiting. |
I have taken a pull from main. I have updated the litellm I am still facing the same issue I m just doing docker-compose up am I doing something wrong here ? |
Hi everyone, thank you for trying this so far. We believe we have a fix on main for this now. It's not published yet due to some ci/cd issues that we're working through. Hoping to have this fixed by EOD. |
@kishan-getstarted i can confirm this works for me on main latest with a new db. This is the new warning you should now be seeing - litellm/litellm/proxy/utils.py Line 1029 in 8d4339c
|
This looks like an unrelated issue @kishan-getstarted looks like your DB is either not running or the url is incorrect |
@krrishdholakia it works fine now.. I had to do now I am able to run the app locally. I am happy to close this thread :) Thanks for your response and help ! |
When attempting to start the LiteLLM proxy server following the quick start guide, I encountered an error during the application startup process. The error occurs in the check_view_exists() function and seems to be related to handling a None value.
Steps to Reproduce
Follow the quick start guide at https://docs.litellm.ai/docs/proxy/quick_start
Attempt to start the LiteLLM proxy server
Error Message
The text was updated successfully, but these errors were encountered: