-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Startup error after deployment from AOAI Studio: ModuleNotFoundError: No module named 'app' #1117
Comments
Any updates on this? Facing the same issue |
@rajbos @mekjr1 has the app completed the sync of code from the repo? You can check this from the app service resource Deployment Center page, you need to have an 'active' commit in the Logs tab. If you don't see one you can retry pulling the code by clicking 'sync'. Once there is an active commit, restart the app and it should start up without hitting this error. |
Hi @sarah-widder I am having the same issue. |
Hi @sarah-widder |
@luisdanielse @kocsispeter does this fix work for you? |
Checked the Deployment Center / Logs. At first try (earlier) there was commit telling the build failed. I have pushed the Sync button now, and after a while I saw your commit and the app build was success. Thank You for the quick fix @sarah-widder! |
@sarah-widder sync fixed the issue for me... It took three sync attempts on my case. now the on blocker is related to updating existing app.... thanks for your help :) |
Same here, glad that it works. I had to redeploy three times as well. Not a great UX, but glad that it worked @sarah-widder! |
Same as #786 :
ModuleNotFoundError: No module named 'app'
on startup of the AppDescribe the bug
App won't start after default deployment. I ran the deployment from the Azure OpenAI studio:
This lets you create a WebApp and it deploys it with a link back to this repo.
To Reproduce
Steps to reproduce the behavior:
If you are the application administrator, you can access the diagnostic resources.'
ModuleNotFoundError: No module named 'app'
in the app deployemntExpected behavior
Working example application :-).
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration: Please provide the following
gpt-4o 2024-05-13
No
I have added Azure AI Search to the Chat playground before I deployed.
Output:
Logs
Output:
The text was updated successfully, but these errors were encountered: