Skip to content

Django module not found #13

@aquagarced

Description

@aquagarced

I went looking through the logs after successfully installing the flake because I kept getting an internal server error while attempting to connect to the web gui, and I found this in the logs for the uwsgi systemd service:

Aug 23 15:01:25 nixos uwsgi[1375]: Traceback (most recent call last):
Aug 23 15:01:25 nixos uwsgi[1375]:   File "/var/lib/openstack_dashboard/wsgi.py", line 21, in <module>
Aug 23 15:01:25 nixos uwsgi[1372]: Traceback (most recent call last):
Aug 23 15:01:25 nixos uwsgi[1372]:   File "/var/lib/openstack_dashboard/wsgi.py", line 21, in <module>
Aug 23 15:01:25 nixos uwsgi[1380]: Traceback (most recent call last):
Aug 23 15:01:25 nixos uwsgi[1380]:   File "/var/lib/openstack_dashboard/wsgi.py", line 21, in <module>
Aug 23 15:01:25 nixos uwsgi[1375]:     from django.core.wsgi import get_wsgi_application
Aug 23 15:01:25 nixos uwsgi[1375]: ModuleNotFoundError: No module named 'django'
Aug 23 15:01:25 nixos uwsgi[1375]: unable to load app 0 (mountpoint='') (callable not found or import error)
Aug 23 15:01:25 nixos uwsgi[1372]:     from django.core.wsgi import get_wsgi_application
Aug 23 15:01:25 nixos uwsgi[1375]: *** no app loaded. going in full dynamic mode ***
Aug 23 15:01:25 nixos uwsgi[1372]: ModuleNotFoundError: No module named 'django'
Aug 23 15:01:25 nixos uwsgi[1372]: unable to load app 0 (mountpoint='') (callable not found or import error)
Aug 23 15:01:25 nixos uwsgi[1380]:     from django.core.wsgi import get_wsgi_application
Aug 23 15:01:25 nixos uwsgi[1372]: *** no app loaded. going in full dynamic mode ***
Aug 23 15:01:25 nixos uwsgi[1380]: ModuleNotFoundError: No module named 'django'
Aug 23 15:01:25 nixos uwsgi[1380]: unable to load app 0 (mountpoint='') (callable not found or import error)
Aug 23 15:01:25 nixos uwsgi[1380]: *** no app loaded. going in full dynamic mode ***

I would normally assume I did something wrong however I get no errors when rebuilding this? Is this from my own error in setting this up or is something not quite right with the flake if you wish to install it into an exisiting system?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions