Public bug reported:

After installing python-nevow, the "trial" test utility provided by
python-twisted-core fails with the following error message:

Traceback (most recent call last):
  File "/usr/bin/trial", line 23, in <module>
    from twisted.scripts.trial import run
ImportError: No module named scripts.trial

Investigation reveals that the culprit is an empty "__init__.py" file
generated by the nevow installation.  This file is placed in /var/lib
/python-support/python2.5/twisted/plugins.  The existence of that file
breaks twisted's plugin finding approach and causes it to fail to find
the twisted.scripts package, which is actually located at
/usr/share/pyshared/twisted/scripts.

I can't see how this file gets generated

Source package: nevow
Ubuntu release: Ubuntu 8.04.3 LTS
Package versions: python-nevow: 0.9.26-1, python-twisted-core: 2.5.0-2build2, 
python2.5: 2.5.2-2ubuntu6

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Installing python-nevow breaks twisted trial
https://bugs.launchpad.net/bugs/410098
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to