mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 08:56:02 +03:00
[PR #2] [MERGED] Media path issue in extensions/webmail/lib.py #1943
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#1943
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?
📋 Pull Request Information
Original PR: https://github.com/modoboa/modoboa/pull/2
Author: @simonkern
Created: 5/9/2013
Status: ✅ Merged
Merged: 5/9/2013
Merged by: @tonioo
Base:
master← Head:master📝 Commits (4)
9bc2a84fixed path in webmail/lib.pyb693bc8fixed typifd58218Revert "fixed typi"88dc634fixed typo📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
modoboa/extensions/webmail/lib.py(+3 -3)📄 Description
If you had moved your MEDIA_ROOT somewhere else, this wouldn't have
worked probably.
Traceback (most recent call last): File "/srv/modoboa/.env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 115, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/srv/modoboa/.env/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view return view_func(request, *args, **kwargs) File "/srv/modoboa/.env/local/lib/python2.7/site-packages/modoboa-0.9.5-py2.7.egg/modoboa/lib/decorators.py", line 19, in wrapped_f return f(request, *args, **kwargs) File "/srv/modoboa/.env/local/lib/python2.7/site-packages/modoboa-0.9.5-py2.7.egg/modoboa/extensions/webmail/views.py", line 416, in getmailcontent email = ImapEmail(mbox, mailid, request, links=int(request.GET["links"])) File "/srv/modoboa/.env/local/lib/python2.7/site-packages/modoboa-0.9.5-py2.7.egg/modoboa/extensions/webmail/lib.py", line 226, in __init__ self._fetch_inlines() File "/srv/modoboa/.env/local/lib/python2.7/site-packages/modoboa-0.9.5-py2.7.egg/modoboa/extensions/webmail/lib.py", line 301, in _fetch_inlines fp = open(path, "wb") IOError: [Errno 2] No such file or directory: u'/srv/modoboa/modomail/modomail/media/webmail/974_pic3494219'🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.