[GH-ISSUE #1710] Internal Server Error #1349

Closed
opened 2026-02-27 11:16:39 +03:00 by kerem · 4 comments
Owner

Originally created by @Th0rGer on GitHub (Mar 28, 2019).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1710

Impacted versions

  • Modoboa: i think 1.12.2
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

Dont know/ Maybe a upgrade ?

Current behavior

on web page:
Internal Server Error

Expected behavior

?

Traceback

Traceback (most recent call last): File "/srv/modoboa/instance/manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 308, in execute settings.INSTALLED_APPS File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/srv/modoboa/instance/instance/settings.py", line 331, in <module> from modoboa_amavis import settings as modoboa_amavis_settings File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_amavis/__init__.py", line 7, in <module> from pkg_resources import DistributionNotFound, get_distribution File "/srv/modoboa/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 74, in <module> __import__('pkg_resources.extern.packaging.requirements') File "/srv/modoboa/env/local/lib/python2.7/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module "distribution.".format(**locals()) ImportError: The 'packaging.requirements' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.

Originally created by @Th0rGer on GitHub (Mar 28, 2019). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1710 # Impacted versions * Modoboa: i think 1.12.2 * installer used: Yes * Webserver: Nginx # Steps to reproduce Dont know/ Maybe a upgrade ? # Current behavior on web page: Internal Server Error # Expected behavior ? # Traceback > `Traceback (most recent call last): File "/srv/modoboa/instance/manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 308, in execute settings.INSTALLED_APPS File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/srv/modoboa/instance/instance/settings.py", line 331, in <module> from modoboa_amavis import settings as modoboa_amavis_settings File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa_amavis/__init__.py", line 7, in <module> from pkg_resources import DistributionNotFound, get_distribution File "/srv/modoboa/env/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 74, in <module> __import__('pkg_resources.extern.packaging.requirements') File "/srv/modoboa/env/local/lib/python2.7/site-packages/pkg_resources/extern/__init__.py", line 61, in load_module "distribution.".format(**locals()) ImportError: The 'packaging.requirements' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.`
kerem closed this issue 2026-02-27 11:16:39 +03:00
Author
Owner

@tonioo commented on GitHub (Apr 29, 2019):

@Th0rGer Try to upgrade your installation to the latest version please.

<!-- gh-comment-id:487527833 --> @tonioo commented on GitHub (Apr 29, 2019): @Th0rGer Try to upgrade your installation to the latest version please.
Author
Owner

@Th0rGer commented on GitHub (Apr 29, 2019):

I have.. works fine now. Only that i cant allow spam mails from the qarantane to go through.

<!-- gh-comment-id:487616025 --> @Th0rGer commented on GitHub (Apr 29, 2019): I have.. works fine now. Only that i cant allow spam mails from the qarantane to go through.
Author
Owner

@tonioo commented on GitHub (May 6, 2019):

@Th0rGer Do you have more information?

<!-- gh-comment-id:489567536 --> @tonioo commented on GitHub (May 6, 2019): @Th0rGer Do you have more information?
Author
Owner

@Th0rGer commented on GitHub (May 7, 2019):

When i want to accept a mail to go out from qarantane it says "undefined" when i press the button. Which information i can give you?

<!-- gh-comment-id:490193124 --> @Th0rGer commented on GitHub (May 7, 2019): When i want to accept a mail to go out from qarantane it says "undefined" when i press the button. Which information i can give you?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1349
No description provided.