divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00046
[Bug 410098] Re: Installing python-nevow breaks twisted trial
Zooko: the bug is explained in
http://thread.gmane.org/gmane.comp.python.distutils.devel/7363/focus=7409
.
--
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for nevow.
https://bugs.launchpad.net/bugs/410098
Title:
Installing python-nevow breaks twisted trial
Status in Divmod Nevow:
Invalid
Status in Tahoe, the Lovely Accessible File System:
New
Status in “nevow” package in Ubuntu:
Fix Released
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/nevow/+bug/410098/+subscriptions