Opened 11 years ago

Closed 11 years ago

#22573 closed Uncategorized (invalid)

ImportError: No module named header

Reported by: Kamo Petrosyan Owned by: nobody
Component: Uncategorized Version: 1.6
Severity: Release blocker Keywords: 1.6.4
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Traceback (most recent call last):

File "./wsgi.py", line 13, in <module>

from django.core.wsgi import get_wsgi_application

File "/srv/env/vsevseti/lib/python2.7/site-packages/django/core/wsgi.py", line 1, in <module>

from django.core.handlers.wsgi import WSGIHandler

File "/srv/env/vsevseti/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 9, in <module>

from django import http

File "/srv/env/vsevseti/lib/python2.7/site-packages/django/http/init.py", line 4, in <module>

from django.http.response import (HttpResponse, StreamingHttpResponse,

File "/srv/env/vsevseti/lib/python2.7/site-packages/django/http/response.py", line 6, in <module>

from email.header import Header

ImportError: No module named header
unable to load app 0 (mountpoint=) (callable not found or import error)
* no app loaded. going in full dynamic mode *
* uWSGI is running in multiple interpreter mode *
spawned uWSGI master process (pid: 24205)
spawned uWSGI worker 1 (pid: 24212, cores: 1)
--- no python application found, check your startup logs for errors ---

Change History (1)

comment:1 by Tim Graham, 11 years ago

Resolution: invalid
Status: newclosed

I don't think this is an issue with Django. I guess you might have another module named email on your Python path that's taking precedence over the Python stdlib version.

https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels

Note: See TracTickets for help on using tickets.
Back to Top