__init__.py missing

Bug #175230 reported by Carl Karsten
6
Affects Status Importance Assigned to Milestone
python-django (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: python-django

These 2 files are missing, which keeps the example from working.
usr/share/doc/python-django/examples/__init__.py
usr/share/doc/python-django/examples/hello/__init__.py

from IRC: (10:04:36 PM) crimsun: the reason is that the files you want are not listed in debian/install

Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote :

Thanks for that report. What version of Ubuntu and of python-django do you have installed?
Gutsy with python-django0.96-1 seems to have those files (although I've not tested the examples):

$ find /usr/share/doc/python-django -name "__init__.py"
/usr/share/doc/python-django/examples/hello/__init__.py
/usr/share/doc/python-django/examples/__init__.py

Revision history for this message
Dan O'Huiginn (daniel-ohuiginn) wrote :

Ah, just installed the hardy package, and you're exactly right. This is something that has broken between gutsy and hardy. Just creating those two files makes the examples run fine.

Changed in python-django:
importance: Undecided → Low
status: New → Confirmed
Andrea Gasparini (gaspa)
Changed in python-django:
assignee: nobody → gaspa
status: Confirmed → In Progress
Revision history for this message
Andrea Gasparini (gaspa) wrote :

it's better to use dh_installexamples. ;)
Here's a debiff of the change.

Changed in python-django:
assignee: gaspa → nobody
status: In Progress → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Sorry, bug spam necessary because of bug 176085.

This bug has a patch attached, which needs review and sponsoring.

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Thank you, uploaded (I just massaged the changelog).
Can you please submit a bug report to Debian, if not already existing?

Changed in python-django:
status: Confirmed → Fix Committed
Revision history for this message
Andrea Gasparini (gaspa) wrote :

python-django (0.96.1-1ubuntu1) hardy; urgency=low

  * Change examples installation from debian/docs to debian/examples as
    dh_installdocs doesn't install empty files (LP: #175230)
  * debian/control: changed maintainer field to ubuntu motu.

 -- Andrea Gasparini <email address hidden> Wed, 12 Dec 2007 17:13:33 +0100

Changed in python-django:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.