Forums

(Please Help) Something went wrong while trying to load this website; please try again later. If it is your site, you should check your logs to determine what the problem is.

hello for 2 days i couldn't find the problem.

2022-03-22 21:48:53,120: ***************************************************
2022-03-22 21:48:54,215: Error running WSGI application
2022-03-22 21:48:54,216: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:48:54,216:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:48:54,216:     application = get_wsgi_application()
2022-03-22 21:48:54,216: 
2022-03-22 21:48:54,216:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:48:54,216:     django.setup(set_prefix=False)
2022-03-22 21:48:54,216: 
2022-03-22 21:48:54,217:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:48:54,217:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:48:54,217: 
2022-03-22 21:48:54,217:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:48:54,217:     self._setup(name)
2022-03-22 21:48:54,217: 
2022-03-22 21:48:54,217:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:48:54,218:     self._wrapped = Settings(settings_module)
2022-03-22 21:48:54,218: 
2022-03-22 21:48:54,218:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:48:54,218:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:48:54,218: ***************************************************
2022-03-22 21:48:54,218: If you're seeing an import error and don't know why,
2022-03-22 21:48:54,218: we have a dedicated help page to help you debug: 
2022-03-22 21:48:54,218: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:48:54,219: ***************************************************
2022-03-22 21:50:19,144: Error running WSGI application
2022-03-22 21:50:19,148: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:50:19,149:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:50:19,149:     application = get_wsgi_application()
2022-03-22 21:50:19,149: 
2022-03-22 21:50:19,149:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:50:19,149:     django.setup(set_prefix=False)
2022-03-22 21:50:19,149: 
2022-03-22 21:50:19,149:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:50:19,149:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:50:19,150: 
2022-03-22 21:50:19,150:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:50:19,150:     self._setup(name)
2022-03-22 21:50:19,150: 
2022-03-22 21:50:19,150:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:50:19,150:     self._wrapped = Settings(settings_module)
2022-03-22 21:50:19,150: 
2022-03-22 21:50:19,150:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:50:19,150:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:50:19,150: ***************************************************
2022-03-22 21:50:19,151: If you're seeing an import error and don't know why,
2022-03-22 21:50:19,151: we have a dedicated help page to help you debug: 
2022-03-22 21:50:19,151: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:50:19,151: ***************************************************
2022-03-22 21:50:32,088: Error running WSGI application
2022-03-22 21:50:32,088: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:50:32,089:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:50:32,089:     application = get_wsgi_application()
2022-03-22 21:50:32,089: 
2022-03-22 21:50:32,089:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:50:32,089:     django.setup(set_prefix=False)
2022-03-22 21:50:32,090: 
2022-03-22 21:50:32,090:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:50:32,090:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:50:32,090: 
2022-03-22 21:50:32,090:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:50:32,090:     self._setup(name)
2022-03-22 21:50:32,091: 
2022-03-22 21:50:32,091:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:50:32,091:     self._wrapped = Settings(settings_module)
2022-03-22 21:50:32,091: 
2022-03-22 21:50:32,091:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:50:32,091:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:50:32,091: ***************************************************
2022-03-22 21:50:32,092: If you're seeing an import error and don't know why,
2022-03-22 21:50:32,092: we have a dedicated help page to help you debug: 
2022-03-22 21:50:32,092: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:50:32,092: ***************************************************
2022-03-22 21:50:40,372: Error running WSGI application
2022-03-22 21:50:40,372: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:50:40,372:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:50:40,372:     application = get_wsgi_application()
2022-03-22 21:50:40,372: 
2022-03-22 21:50:40,372:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:50:40,372:     django.setup(set_prefix=False)
2022-03-22 21:50:40,373: 
2022-03-22 21:50:40,373:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:50:40,373:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:50:40,373: 
2022-03-22 21:50:40,373:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:50:40,373:     self._setup(name)
2022-03-22 21:50:40,374: 
2022-03-22 21:50:40,374:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:50:40,374:     self._wrapped = Settings(settings_module)
2022-03-22 21:50:40,374: 
2022-03-22 21:50:40,374:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:50:40,374:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:50:40,375: ***************************************************
2022-03-22 21:50:40,375: If you're seeing an import error and don't know why,
2022-03-22 21:50:40,375: we have a dedicated help page to help you debug: 
2022-03-22 21:50:40,375: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:50:40,375: ***************************************************
2022-03-22 21:51:13,422: Error running WSGI application
2022-03-22 21:51:13,435: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:51:13,435:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:51:13,436:     application = get_wsgi_application()
2022-03-22 21:51:13,436: 
2022-03-22 21:51:13,436:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:51:13,436:     django.setup(set_prefix=False)
2022-03-22 21:51:13,436: 
2022-03-22 21:51:13,436:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:51:13,437:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:51:13,437: 
2022-03-22 21:51:13,437:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:51:13,437:     self._setup(name)
2022-03-22 21:51:13,437: 
2022-03-22 21:51:13,437:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:51:13,438:     self._wrapped = Settings(settings_module)
2022-03-22 21:51:13,438: 
2022-03-22 21:51:13,438:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:51:13,438:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:51:13,438: ***************************************************
2022-03-22 21:51:13,438: If you're seeing an import error and don't know why,
2022-03-22 21:51:13,438: we have a dedicated help page to help you debug: 
2022-03-22 21:51:13,438: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:51:13,439: ***************************************************
2022-03-22 21:53:17,665: Error running WSGI application
2022-03-22 21:53:17,672: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:53:17,672:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:53:17,672:     application = get_wsgi_application()
2022-03-22 21:53:17,672: 
2022-03-22 21:53:17,672:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:53:17,673:     django.setup(set_prefix=False)
2022-03-22 21:53:17,673: 
2022-03-22 21:53:17,673:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:53:17,673:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:53:17,673: 
2022-03-22 21:53:17,674:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:53:17,674:     self._setup(name)
2022-03-22 21:53:17,674: 
2022-03-22 21:53:17,674:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:53:17,674:     self._wrapped = Settings(settings_module)
2022-03-22 21:53:17,674: 
2022-03-22 21:53:17,674:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:53:17,675:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:53:17,675: ***************************************************
2022-03-22 21:53:17,675: If you're seeing an import error and don't know why,
2022-03-22 21:53:17,675: we have a dedicated help page to help you debug: 
2022-03-22 21:53:17,675: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:53:17,676: ***************************************************
2022-03-22 21:53:32,519: Error running WSGI application
2022-03-22 21:53:32,520: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:53:32,520:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:53:32,521:     application = get_wsgi_application()
2022-03-22 21:53:32,521: 
2022-03-22 21:53:32,521:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:53:32,521:     django.setup(set_prefix=False)
2022-03-22 21:53:32,521: 
2022-03-22 21:53:32,521:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:53:32,522:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:53:32,522: 
2022-03-22 21:53:32,522:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:53:32,522:     self._setup(name)
2022-03-22 21:53:32,522: 
2022-03-22 21:53:32,522:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:53:32,522:     self._wrapped = Settings(settings_module)
2022-03-22 21:53:32,523: 
2022-03-22 21:53:32,523:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:53:32,524:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:53:32,524: ***************************************************
2022-03-22 21:53:32,524: If you're seeing an import error and don't know why,
2022-03-22 21:53:32,524: we have a dedicated help page to help you debug: 
2022-03-22 21:53:32,524: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:53:32,525: ***************************************************
2022-03-22 21:55:37,786: Error running WSGI application
2022-03-22 21:55:37,794: ModuleNotFoundError: No module named 'bookmarksdev'
2022-03-22 21:55:37,795:   File "/var/www/bookmarksdev_pythonanywhere_com_wsgi.py", line 16, in <module>
2022-03-22 21:55:37,795:     application = get_wsgi_application()
2022-03-22 21:55:37,795: 
2022-03-22 21:55:37,795:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application
2022-03-22 21:55:37,795:     django.setup(set_prefix=False)
2022-03-22 21:55:37,795: 
2022-03-22 21:55:37,796:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/__init__.py", line 19, in setup
2022-03-22 21:55:37,796:     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2022-03-22 21:55:37,796: 
2022-03-22 21:55:37,796:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 87, in __getattr__
2022-03-22 21:55:37,796:     self._setup(name)
2022-03-22 21:55:37,796: 
2022-03-22 21:55:37,796:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 74, in _setup
2022-03-22 21:55:37,797:     self._wrapped = Settings(settings_module)
2022-03-22 21:55:37,797: 
2022-03-22 21:55:37,797:   File "/home/bookmarksdev/.virtualenvs/mysite-virtualenv/lib/python3.8/site-packages/django/conf/__init__.py", line 183, in __init__
2022-03-22 21:55:37,797:     mod = importlib.import_module(self.SETTINGS_MODULE)
2022-03-22 21:55:37,797: ***************************************************
2022-03-22 21:55:37,797: If you're seeing an import error and don't know why,
2022-03-22 21:55:37,797: we have a dedicated help page to help you debug: 
2022-03-22 21:55:37,798: https://help.pythonanywhere.com/pages/DebuggingImportError/
2022-03-22 21:55:37,798: ***************************************************

firstly my url: bookmarksdev.pythonanywhere.com

so is the file path correct? bookmarksdev_pythonanywhere_com_wsgi.py bookmarksdev_pythonanywhere_com_wsgi.py

Webapps: Source code: /home/bookmarksdev/bookmarks-site-django/todo_project

Go to directory Working directory: /home/bookmarksdev/

Go to directory WSGI configuration file:/var/www/bookmarksdev_pythonanywhere_com_wsgi.py Python version: 3.8

and files preview: https://prnt.sc/B2aWdrpEOC4t

please help me.

Make sure that paths in the WSGI file (the one that is linked to on the Web page) are set up correctly. The error you're seeing is caused by the fact that wsgi can't find module bookmarksdev in the PATH.

hey @pafk what is the correct setting it is really confusing.

See the Theory section here https://help.pythonanywhere.com/pages/DebuggingImportError/ for details on how Python finds the modules that you're trying to import. Once you understand that, you can work out what path you need to use in your wsgi file.