#806 closed defect (invalid)

bogus twisted/__init__.py on Ubuntu hardy (from nevow)

Reported by: zooko Owned by: somebody
Priority: major Milestone: undecided
Component: packaging Version: 1.5.0
Keywords: debian ubuntu Cc:
Launchpad Bug:

Description (last modified by zooko)

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

Change History (5)

comment:1 Changed at 2009-11-28T18:02:40Z by zooko

The machine in the example text above is running "Ubuntu 8.04.3 LTS".

comment:2 Changed at 2009-11-28T18:05:15Z by zooko

This is ticketed on launchpad as a bug in nevow: https://bugs.launchpad.net/ubuntu/+source/nevow/+bug/410098 . (I don't really think that it is a bug in nevow, but I'm not sure. Anyway it seems to be in the nevow's people's court to explain why it isn't a bug in nevow on that ticket or to link to an appropriate nevow ticket.)

comment:3 Changed at 2009-11-28T19:29:56Z by warner

  • Summary changed from bogus twisted/__init__.py on Ubuntu? to bogus twisted/__init__.py on Ubuntu hardy (from nevow)

for reference, Ubuntu 8.04 is better known as "hardy", and is the most recent (as of this month, at least) long-term support release.

comment:4 Changed at 2012-02-13T18:17:41Z by zooko

  • Description modified (diff)

comment:5 Changed at 2012-02-13T18:19:11Z by zooko

  • Resolution set to invalid
  • Status changed from new to closed

Resolving this as "invalid" inasmuch as it was not-our-bug. It is most likely Ubuntu/Debian's bug. Also, it is claimed that it was fixed, in https://bugs.launchpad.net/tahoe-lafs/+bug/410098, although I haven't independently verified that claim.

Note: See TracTickets for help on using tickets.