id summary reporter owner description type status priority milestone component version resolution keywords cc launchpad_bug 806 bogus twisted/__init__.py on Ubuntu hardy (from nevow) zooko somebody "This is almost certainly a bug in !Debian/Ubuntu rather than in Tahoe-LAFS or Twisted, but it is relevant to Tahoe-LAFS and so I'll want to track progress on our tracker: {{{ zooko@tahoebs1:~$ tahoe --version Traceback (most recent call last): File ""/usr/bin/tahoe"", line 2, in from allmydata.scripts import runner File ""/usr/lib/python2.5/site-packages/allmydata/scripts/runner.py"", line 7, in from twisted.python import usage ImportError: No module named python zooko@tahoebs1:~$ python -i Python 2.5.2 (r252:60911, Jul 22 2009, 15:35:03) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2 Type ""help"", ""copyright"", ""credits"" or ""license"" for more information. >>> import twisted >>> twisted >>> from twisted.python import runner Traceback (most recent call last): File """", line 1, in ImportError: No module named python >>> zooko@tahoebs1:~$ zooko@tahoebs1:~$ dpkg --search /var/lib/python-support/python2.5/twisted/ dpkg: /var/lib/python-support/python2.5/twisted/ not found. zooko@tahoebs1:~$ dpkg --search /var/lib/python-support/python2.5/twisted/ __init__.py __init__.pyc plugins/ zooko@tahoebs1:~$ dpkg --search /var/lib/python-support/python2.5/twisted/__init__.py dpkg: /var/lib/python-support/python2.5/twisted/__init__.py not found. zooko@tahoebs1:~$ /bin/rm -rf /var/lib/python-support/python2.5/twisted/__init__.py /bin/rm: cannot remove `/var/lib/python-support/python2.5/twisted/__init__.py': Permission denied zooko@tahoebs1:~$ sudo !! sudo /bin/rm -rf /var/lib/python-support/python2.5/twisted/__init__.py zooko@tahoebs1:~$ tahoe --version Traceback (most recent call last): File ""/usr/bin/tahoe"", line 2, in from allmydata.scripts import runner File ""/usr/lib/python2.5/site-packages/allmydata/scripts/runner.py"", line 7, in from twisted.python import usage ImportError: No module named python zooko@tahoebs1:~$ sudo /bin/rm -rf /var/lib/python-support/python2.5/twisted/ __init__.pyc plugins/ zooko@tahoebs1:~$ sudo /bin/rm -rf /var/lib/python-support/python2.5/twisted/__init__.pyc zooko@tahoebs1:~$ tahoe --version allmydata-tahoe: 1.5.0-r4044, foolscap: 0.4.1, pycryptopp: 0.5.16-r669, zfec: 1.4.0-4, Twisted: 2.5.0, Nevow: 0.9.26, zope.interface: 3.3.1, python: 2.5.2, platform: Linux-Ubuntu_8.04-i686-32bit, sqlite: 3.4.2, simplejson: 1.7.3, argparse: 0.8.0, pyOpenSSL: 0.6, pyutil: 1.3.16-12, setuptools: 0.6c12dev, pysqlite: 2.3.2 }}} See also: http://allmydata.org/pipermail/tahoe-dev/2009-August/002551.html " defect closed major undecided packaging 1.5.0 invalid debian ubuntu