Myapp_app | File "/opt/venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 58, in load Myapp_app | File "/opt/venv/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi Myapp_app | File "/opt/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi Myapp_app | File "/opt/venv/lib/python3.8/site-packages/gunicorn/workers/base.py", line 134, in init_process Myapp_app | File "/opt/venv/lib/python3.8/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker Myapp_app | Traceback (most recent call last): I did try changing references to use the format but when I run my container I get the following exception, which TLDR ends with: myapp_app | ModuleNotFoundError: No module named 'web'Īny ideas how I can correct this? myapp_app | Exception in worker process from import RegisterForm # This is recognisedįrom app.config import FormsConfig # This is not The web folder sits in the project root and is part of a wider Docker setup, I don't think this is necessarily relevant but correct me if not. This issue does not exist when I switch to VSCode. It doesn't stop the application running, it's just annoying. This is causing me issues with the autocomplete not recognising the paths as I type my imports. I'm having an issue with Pycharm whereby it is not recognising my app folder in my web package.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |