mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[GH-ISSUE #881] Autoreply showing swagger problem in log #780
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#780
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @benfante on GitHub (May 19, 2016).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/881
Hi,
when an e-mail is relayed through autoreply I see following message in the log (and the autoreply doesn't work, of course). Any Idea? I'm running Modoboa 1.5.3, with Postfix autoreply plugin 1.1.6.
May 19 10:03:45 mail postfix/pipe[3323]: 282432069B9: to=<email@mydomain@autoreply.mydomain>, orig_to=<email@mydomain>, relay=autoreply, delay=5.3, delays=0.13/0.03/0/5.1, dsn=5.3.0, status=bounced (Command died with status 1: "/opt/environments/modoboa/bin/python". Command output: Traceback (most recent call last): File "/var/www/modoboa_benfante/manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/opt/environments/modoboa/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/opt/environments/modoboa/lib/python2.7/site-packages/django/core/management/__init__.py", line 328, in execute django.setup() File "/opt/environments/modoboa/lib/python2.7/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/opt/environments/modoboa/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate app_config = AppConfig.create(entry) File "/opt/environments/modoboa/lib/python2.7/site-packages/django/apps/config.py", line 86, in create module = import_module(entry) File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) ImportError: No module named rest_framework_swagger )@tonioo commented on GitHub (May 20, 2016):
It looks like your virtual environment is not fully functional because it tries to locate the missing requirement inside the default python installation (/usr/lib/python2.7).
I suggest you recreate your virtualenv.
@tonioo commented on GitHub (Jun 2, 2016):
@benfante ping
@benfante commented on GitHub (Jun 6, 2016):
Hi,
sorry for the late.
I spent some hours trying to solve this problem, but...no results. The error is still there.
I recreated the virtual environment environment and also reinstalled modoboa, but nothing changed.
I also installed the package django-rest-swagger in the root environment, and still nothing changed.
Can I try anything else?
@benfante commented on GitHub (Jun 7, 2016):
Sorry, I was updating the wrong virtual environment. Now it's ok.
Thank you for your support.