[GH-ISSUE #435] amavis activation brakes system #420

Closed
opened 2026-02-27 11:11:40 +03:00 by kerem · 3 comments
Owner

Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/435

Originally assigned to: @tonioo on GitHub.

Originally created by Jan Honnens on 2013-07-24T11:55:46Z

if you enable amavis in the Settings the following error is thrown:

Exception Type: NoReverseMatch
Exception Value: Reverse for 'modoboa.extensions.amavis.views.nbrequests' with arguments '()' and keyword arguments '{}' not found.

Error during template rendering

In template lib/python2.7/site-packages/modoboa-1.0.0-py2.7.egg/modoboa/templates/nlayout.html, error at line 26
Reverse for 'modoboa.extensions.amavis.views.nbrequests' with arguments '()' and keyword arguments '{}' not found.
16  

17
18
19
20
21 {% url "django.views.i18n.javascript_catalog" as catalog_url %}
22
23
26 {% extra_head_content user %}
27 {% block html_head %}{% endblock %}
28 </head>
29
30
31


32

33

34

Originally created by @tonioo on GitHub (Dec 4, 2013). Original GitHub issue: https://github.com/modoboa/modoboa/issues/435 Originally assigned to: @tonioo on GitHub. **Originally created by Jan Honnens on 2013-07-24T11:55:46Z** if you enable amavis in the Settings the following error is thrown: Exception Type: NoReverseMatch Exception Value: Reverse for 'modoboa.extensions.amavis.views.nbrequests' with arguments '()' and keyword arguments '{}' not found. <pre> Error during template rendering In template lib/python2.7/site-packages/modoboa-1.0.0-py2.7.egg/modoboa/templates/nlayout.html, error at line 26 Reverse for 'modoboa.extensions.amavis.views.nbrequests' with arguments '()' and keyword arguments '{}' not found. 16 <script src="{{ STATIC_URL }}js/global.js" type="text/javascript"></script> 17 <script src="{{ STATIC_URL }}js/csrf.js" type="text/javascript"></script> 18 <script src="{{ STATIC_URL }}js/confirmation.js" type="text/javascript"></script> 19 <script src="{{ STATIC_URL }}js/notify.js" type="text/javascript"></script> 20 <script src="{{ STATIC_URL }}js/poller.js" type="text/javascript"></script> 21 {% url "django.views.i18n.javascript_catalog" as catalog_url %} 22 <script type="text/javascript" src="{{ catalog_url }}"></script> 23 <script type="text/javascript"> 24 set_static_url("{{ STATIC_URL }}"); 25 </script> 26 {% extra_head_content user %} 27 {% block html_head %}{% endblock %} 28 </head> 29 30 <body> 31 <div class="navbar navbar-inverse navbar-fixed-top"> 32 <div class="navbar-inner"> 33 <div class="container-fluid"> 34 <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> 35 <span class="icon-bar"></span> 36 <span class="icon-bar"></span> </pre>
kerem 2026-02-27 11:11:40 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2013-07-24T12:26:22Z

Hi Jan,

it is a known issue. To fix it, just restart the modoboa instance.

I'm thinking about a real fix but it is not easy...

<!-- gh-comment-id:29816448 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2013-07-24T12:26:22Z** Hi Jan, it is a known issue. To fix it, just restart the modoboa instance. I'm thinking about a real fix but it is not easy...
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Simon Kern on 2013-11-02T12:04:09Z

Maybe django-waffle could help there, or at least give some inspiration:

https://github.com/jsocol/django-waffle

<!-- gh-comment-id:29816449 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Simon Kern on 2013-11-02T12:04:09Z** Maybe django-waffle could help there, or at least give some inspiration: https://github.com/jsocol/django-waffle
Author
Owner

@tonioo commented on GitHub (Dec 4, 2013):

Posted by Antoine Nguyen on 2013-11-02T14:57:43Z

Actually, I think I've finally solved this issue myself :)

If you want to test, just checkout the features/relay_domains branch on github.

<!-- gh-comment-id:29816450 --> @tonioo commented on GitHub (Dec 4, 2013): **Posted by Antoine Nguyen on 2013-11-02T14:57:43Z** Actually, I think I've finally solved this issue myself :) If you want to test, just checkout the features/relay_domains branch on github.
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#420
No description provided.