addition of a __init__.py file to /var/lib/python-support/python2.5/twisted

Bug #508638 reported by Zooko Wilcox-O'Hearn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-support (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: python-support

I'm not sure if this is a bug in python-support, but somehow on my Hardy system there is a file named /var/lib/python-support/python2.5/twisted/__init__.py which prevents twisted from being importable. Using sudo to rm that file works-around the problem:

zooko@prodtahoe16:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.3 LTS
Release: 8.04
Codename: hardy
zooko@prodtahoe16:~$ python -c 'from twisted.python import usage'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named python
zooko@prodtahoe16:~$ python -c 'import twisted;print twisted'
<module 'twisted' from '/var/lib/python-support/python2.5/twisted/__init__.pyc'>
zooko@prodtahoe16:~$ ls -al /var/lib/python-support/python2.5/twisted/
total 16
drwxr-xr-x 3 root root 4096 2008-09-24 16:26 .
drwxr-xr-x 8 root root 4096 2008-09-24 16:26 ..
-rw-r--r-- 1 root root 0 2008-09-24 16:26 __init__.py
-rw-r--r-- 1 root root 140 2008-09-24 16:26 __init__.pyc
drwxr-xr-x 2 root root 4096 2008-09-24 16:26 plugins
zooko@prodtahoe16:~$ sudo rm /var/lib/python-support/python2.5/twisted/__init__.py*
[sudo] password for zooko:
zooko@prodtahoe16:~$ python -c 'from twisted.python import usage;print usage'
<module 'twisted.python.usage' from '/usr/lib/python2.5/site-packages/twisted/python/usage.pyc'>

Revision history for this message
dino99 (9d9) wrote :

Support for that version has ended

Changed in python-support (Ubuntu):
status: New → Invalid
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.