[Twisted-Python] twisted 2 mktap runs but
Jp Calderone
exarkun at divmod.com
Mon Apr 18 08:17:10 MDT 2005
On Mon, 18 Apr 2005 13:29:29 +0200, jean-marc.pouchoulon at ac-montpellier.fr wrote:
>bonjour,
>
>portforward.tap is valid but :
>
>/usr/local/bin/mktap -u 80030 portforward -p 10526 -h machine.domain -d
>10530
>which: no dia in
>(/home/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
>:/usr/X11R6/bin:/root/bin)
>Traceback (most recent call last):
> File "/usr/local/lib/python2.4/site-packages/twisted/scripts/mktap.py",
>line 193, in run
> options.parseOptions(sys.argv[1:])
> File "/usr/local/lib/python2.4/site-packages/twisted/python/usage.py", line
>197, in parseOptions
> self.postOptions()
> File "/usr/local/lib/python2.4/site-packages/twisted/scripts/mktap.py",
>line 175, in postOptions
> self.tapLookup = loadPlugins(debug, progress)
> File "/usr/local/lib/python2.4/site-packages/twisted/scripts/mktap.py",
>line 75, in loadPlugins
> for plug in plugins:
>--- <exception caught here> ---
> File "/usr/local/lib/python2.4/site-packages/twisted/plugin.py", line 203,
>in getPlugIns
> adapted = interface(plugin, None)
> File "/usr/local/lib/python2.4/site-packages/zope/interface/interface.py",
>line 658, in __call__
> adapter = conform(self)
> File "/usr/local/lib/python2.4/site-packages/twisted/plugin.py", line 77,
>in __conform__
> return self.load()
> File "/usr/local/lib/python2.4/site-packages/twisted/plugin.py", line 72,
>in load
> return namedAny(self.dropin.moduleName + '.' + self.name)
> File "/usr/local/lib/python2.4/site-packages/twisted/python/reflect.py",
>line 389, in namedAny
> obj = getattr(obj, n)
>exceptions.AttributeError: 'module' object has no attribute 'twisted_news'
>
>miss something ?
>thanks
>
Thanks for the report. This is a known bug with the 2.0 installer. The news package was accidentally omitted (although it is present in the tarball - it just doesn't get installed). An upcoming 2.0.1 release will fix the problem. In the mean time, if you're not using news, there's nothing to worry about. The report is only to warn you that the install isn't quite right.
Jp
More information about the Twisted-Python
mailing list