Public bug reported:
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:
zo...@prodtahoe16:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04.3 LTS
Release: 8.04
Codename: hardy
zo...@prodtahoe16:~$ python -c 'from twisted.python import usage'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named python
zo...@prodtahoe16:~$ python -c 'import twisted;print twisted'
<module 'twisted' from '/var/lib/python-support/python2.5/twisted/__init__.pyc'>
zo...@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
zo...@prodtahoe16:~$ sudo rm
/var/lib/python-support/python2.5/twisted/__init__.py*
[sudo] password for zooko:
zo...@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'>
** Affects: python-support (Ubuntu)
Importance: Undecided
Status: New
--
addition of a __init__.py file to /var/lib/python-support/python2.5/twisted
https://bugs.launchpad.net/bugs/508638
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs