Hi Sebastian,

it seems that you are experiencing a name clash or similar.
email.quoprimime is included in Python 2.6 (see here
http://hg.python.org/cpython/file/3edf679917ba/Lib/email) so if you find it
in /usr/lib/python2.6/email/quoprimime.py then you are probably masking the
name "email" with something different, perhaps a local Python file.

Moreover, you say that you are using a virtual environment, but your
traceback refers to /usr/lib/python2.6, so I think that something there is
not working as you expected too.
May you check your paths? How are you running the deployed package?

Let me know, cheers

Leo


Leonardo Giordani
Author of The Digital Cat <http://lgiordani.github.com>
My profile on About.me <http://about.me/leonardo.giordani> - My GitHub
page<https://github.com/lgiordani>- My Coderwall
profile <https://coderwall.com/lgiordani>


2013/11/18 Sebastian Clemens <clemensba...@gmx.de>

> Hello,
>
> here's my traceback, I use a virtualenv running django.
>
> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] ServerName: '
>> sebastian-clemens.de'
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] DocumentRoot:
>> '/var/www/vhosts/sebastian-clemens.de/httpdocs'
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] URI: '/'
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] Location: None
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] Directory:
>> '/var/www/vhosts/sebastian-clemens.de/httpdocs/'
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] Filename:
>> '/var/www/vhosts/sebastian-clemens.de/httpdocs/wsgi.py'
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] PathInfo: '/'
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] Traceback
>> (most recent call last):
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1537, in
>> HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent)
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1229, in
>> _process_target\n result = _execute_target(config, req, object, arg)
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/usr/lib/python2.6/dist-packages/mod_python/importer.py", line 1128, in
>> _execute_target\n result = object(arg)
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/usr/lib/python2.6/dist-packages/mod_python/cgihandler.py", line 96, in
>> handler\n imp.load_module(module_name, fd, path, desc)
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/var/www/vhosts/sebastian-clemens.de/httpdocs/wsgi.py", line 12, in
>> <module>\n from django.core.wsgi import get_wsgi_application
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/var/www/vhosts/
>> sebastian-clemens.de/httpdocs/lib/python2.6/site-packages/django/core/wsgi.py",
>> line 1, in <module>\n from django.core.handlers.wsgi import WSGIHandler
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/var/www/vhosts/
>> sebastian-clemens.de/httpdocs/lib/python2.6/site-packages/django/core/handlers/wsgi.py",
>> line 9, in <module>\n from django import http
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/var/www/vhosts/
>> sebastian-clemens.de/httpdocs/lib/python2.6/site-packages/django/http/__init__.py",
>> line 4, in <module>\n from django.http.response import (HttpResponse,
>> StreamingHttpResponse,
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/var/www/vhosts/
>> sebastian-clemens.de/httpdocs/lib/python2.6/site-packages/django/http/response.py",
>> line 6, in <module>\n from email.header import Header
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140] File
>> "/usr/lib/python2.6/email/header.py", line 53, in <module>\n _max_append =
>> email.quoprimime._max_append
>> [Mon Nov 18 17:40:03 2013] [error] [client 79.205.192.140]
>> AttributeError: 'module' object has no attribute 'quoprimime'
>
>
> What can I do to solve "AttributeError: 'module' object has no attribute
> 'quoprimime'" ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9dab173d-9e94-4d2b-8eca-3b840fc2ff52%40googlegroups.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEhE%2BO%3D222_TkDX7eZdSZh2v_9CgzcNHVtmOgpm5MObHP8bv1w%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to