Opened at 2009-09-17T05:50:24Z
Last modified at 2012-02-13T18:19:11Z
#806 closed defect
bogus twisted/__init__.py on Ubuntu? — at Initial Version
Reported by: | zooko | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | packaging | Version: | 1.5.0 |
Keywords: | debian ubuntu | Cc: | |
Launchpad Bug: |
Description
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 <module> from allmydata.scripts import runner File "/usr/lib/python2.5/site-packages/allmydata/scripts/runner.py", line 7, in <module> 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 <module 'twisted' from '/var/lib/python-support/python2.5/twisted/__init__.pyc'> >>> from twisted.python import runner Traceback (most recent call last): File "<stdin>", line 1, in <module> 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 <module> from allmydata.scripts import runner File "/usr/lib/python2.5/site-packages/allmydata/scripts/runner.py", line 7, in <module> 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
Note: See
TracTickets for help on using
tickets.