Jump to content

Recommended Posts

Posted

I appreciate your help, hope I'm not doing something dumb, or abusing your support! 

I have a brand new helionet django site on johnny, and it nondeterminstically throws a mysterious ModuleNotFoundError: No module named 'gianluca' exception. The traceback doesn't show which code is trying to import 'gianluca', and I can't find out anything about it. This django code works fine outside of helionet, and my virtual environments have no mention of gianluca.

Here's the last part of the log, you can see the same request here happens to work fine three times, and then errors:

2026-02-26 03:26:09 Access 151.205.113.159 200 GET /mikvah/ HTTP/1.0   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 5.07 K Apache SSL/TLS access
2026-02-26 03:26:10 Access 151.205.113.159 200 GET /mikvah/ HTTP/1.0   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 5.07 K Apache SSL/TLS access
2026-02-26 03:26:10 Access 151.205.113.159 200 GET /mikvah/ HTTP/1.0   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 8.21 K Apache SSL/TLS access
2026-02-26 03:26:11 Error 151.205.113.159 500 GET /mikvah/ HTTP/1.0   Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 1.24 K Apache SSL/TLS access
2026-02-26 03:26:11 Error 151.205.113.159   mod_wsgi (pid=1848708): Failed to exec Python script file '/home/spoerri.helioho.st/httpdocs/mikvah/mikvah/dispatch.wsgi'.       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   mod_wsgi (pid=1848708): Exception occurred processing WSGI script '/home/spoerri.helioho.st/httpdocs/mikvah/mikvah/dispatch.wsgi'.       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   Traceback (most recent call last):       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "/home/spoerri.helioho.st/httpdocs/mikvah/mikvah/dispatch.wsgi", line 18, in <module>       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   application = get_wsgi_application()       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   ^^^^^^^^^^^^^^^^^^^^^^       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "/usr/local/python3.12/lib/python3.12/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   django.setup(set_prefix=False)       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "/usr/local/python3.12/lib/python3.12/site-packages/django/__init__.py", line 19, in setup       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   ^^^^^^^^^^^^^^^^^^^^^^^       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "/usr/local/python3.12/lib/python3.12/site-packages/django/conf/__init__.py", line 89, in __getattr__       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   self._setup(name)       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "/usr/local/python3.12/lib/python3.12/site-packages/django/conf/__init__.py", line 76, in _setup       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   self._wrapped = Settings(settings_module)       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   ^^^^^^^^^^^^^^^^^^^^^^^^^       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "/usr/local/python3.12/lib/python3.12/site-packages/django/conf/__init__.py", line 190, in __init__       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   mod = importlib.import_module(self.SETTINGS_MODULE)       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "/usr/local/python3.12/lib/python3.12/importlib/__init__.py", line 90, in import_module       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   return _bootstrap._gcd_import(name[level:], package, level)       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked       Apache error
2026-02-26 03:26:11 Error 151.205.113.159   ModuleNotFoundError: No module named 'gianluca'       Apache error

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...