Package: python-django
Version: 1.2.3-3+squeeze2
Severity: important

Trying to "import django.core" fails with the error message
ImportError: No module named core

Amongst other possible problems, this means that the mumble-django admin
interface does not work: Accessing http://myserver/mumble-django results in
a "500 Internal Server Error", with the following error message in error.log
of apache:
Traceback (most recent call last):
  File "/usr/share/mumble-django/mumble-django.wsgi", line 28, in <module>
    import django.core.handlers.wsgi
ImportError: No module named core.handlers.wsgi

The problem seems to be that __init__.py files are missing in a lot of
folders, including /usr/lib/pymodules/python2.6/django/core and its
subfolders. Creating empty __init__.py files fixes this specific problem,
only to give another import error - and since there are so many files
missing, I am not sure creating them all manually is the right thing.
However, the current Debian testing packages do have these files included.

-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-028stab091.2 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-django depends on:
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P

Versions of packages python-django recommends:
ii  libjs-jquery                  1.4.2-2    JavaScript library for dynamic web

Versions of packages python-django suggests:
pn  python-flup                   <none>     (no description available)
pn  python-mysqldb                <none>     (no description available)
pn  python-psycopg                <none>     (no description available)
pn  python-psycopg2               <none>     (no description available)
pn  python-sqlite                 <none>     (no description available)
pn  python-yaml                   <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to