Hi,

On Fri, 30 Mar 2012, Chris Lamb wrote:
> Indeed:
> 
>   http://packages.debian.org/squeeze/all/python-django/filelist
> 
> Compare with, for example:
> 
>   http://packages.debian.org/squeeze-backports/all/python-django/filelist
> 
> Raphael, it looks like you did this upload; is there anything in your
> setup that would have skipped some __init__.py files? Is very odd.

Both packages do not use the same python helper. The former still uses
python-support while the latter uses dh_python2.

python-support will populate /usr/lib/pymodules/python2.X in the postinst
based on /usr/lib/pyshared/ and it works here:

$ dpkg -s python-django|grep Version
Version: 1.2.3-3+squeeze2
$ dpkg -L python-django| grep __init__|head -n 3
/usr/share/pyshared/django/forms/extras/__init__.py
/usr/share/pyshared/django/forms/__init__.py
/usr/share/pyshared/django/http/__init__.py
$ ls -al /usr/lib/pymodules/python2.6/django/__init__.py
lrwxrwxrwx 1 root root 38 29 oct.  08:59 
/usr/lib/pymodules/python2.6/django/__init__.py -> 
/usr/share/pyshared/django/__init__.py

Somehow, python-support failed... maybe the package state is showing
this error. What does "dpkg -s python-django" return ? Do you have logs
where you can investigate whether python-support displayed an error ?

In any case, rerunning "sudo update-python-modules python-django.public
python-django.private" should fix the problem.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/



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

Reply via email to