Impossible to import nevow on edgy

Bug #61423 reported by Mary Gardiner
6
Affects Status Importance Assigned to Milestone
Edgy Backports
Invalid
Undecided
Unassigned
nevow (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

There are a number of importation warnings, but there's also a complete import failure at the end:

$ python
Python 2.4.3 (#2, Aug 25 2006, 17:37:59)
[GCC 4.1.2 20060817 (prerelease) (Ubuntu 4.1.1-11ubuntu1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import nevow
/var/lib/python-support/python2.4/nevow/compy.py:44: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IComponentized(Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:12: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IQ(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:64: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IResource(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:75: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IRenderer(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:84: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IRendererFactory(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:95: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IMacroFactory(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:108: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IData(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:116: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IGettable(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:124: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ISettable(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:132: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IContainer(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:147: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IComponentized(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:209: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ISession(IComponentized):
/var/lib/python-support/python2.4/nevow/inevow.py:245: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IGuardSession(ISession):
/var/lib/python-support/python2.4/nevow/inevow.py:255: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IRequest(IComponentized):
/var/lib/python-support/python2.4/nevow/inevow.py:418: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ISerializable(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:427: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IStatusMessage(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:434: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IHand(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:443: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ICanHandleException(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:453: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ICanHandleNotFound(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:459: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IEventMaster(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:463: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IDocFactory(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:483: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ISession(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:494: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IRemainingSegments(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:502: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ICurrentSegments(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:511: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class IViewParameters(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:524: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class II18NConfig(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:541: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ILanguages(compy.Interface):
/var/lib/python-support/python2.4/nevow/inevow.py:548: ComponentsDeprecationWarning: twisted.python.components.Interface is deprecated in Twisted 2.3. Use zope.interface.Interface instead. (also note that you should not use 'self' as the first arg on function decls in z.i.Interfaces).
  class ILogger(compy.Interface):
/var/lib/python-support/python2.4/nevow/stan.py:379: ComponentsDeprecationWarning: components.backwardsCompatImplements doesn't do anything in Twisted 2.3, stop calling it.
  compy.backwardsCompatImplements(Tag)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/var/lib/python-support/python2.4/nevow/__init__.py", line 140, in ?
    load(basic_adapters)
  File "/var/lib/python-support/python2.4/nevow/__init__.py", line 30, in load
    compy.registerAdapter(a, clean(o), i)
  File "/var/lib/python-support/python2.4/nevow/compy.py", line 32, in registerAdapter
    adapterFactory = _namedAnyWithBuiltinTranslation(adapterFactory)
  File "/var/lib/python-support/python2.4/nevow/util.py", line 225, in _namedAnyWithBuiltinTranslation
    return namedAny(name)
  File "/var/lib/python-support/python2.4/nevow/util.py", line 78, in namedAny
    topLevelPackage = __import__(trialname)
  File "/var/lib/python-support/python2.4/formless/__init__.py", line 9, in ?
    from formless.annotate import *
  File "/var/lib/python-support/python2.4/formless/annotate.py", line 17, in ?
    from nevow.compy import Interface, MetaInterface
ImportError: cannot import name MetaInterface

Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

This happens on my Edgy install as well.

Revision history for this message
Mary Gardiner (puzzlement) wrote : Re: [Bug 61423] Re: Impossible to import nevow on edgy

Moving to confirmed. As far as I can tell the intended fix was the
same as that for bug 57482 (ie upload 0.9) but it was never applied.

Changed in nevow:
status: Unconfirmed → Confirmed
Revision history for this message
Matti Lindell (mlind) wrote :

This doesn't happen on Feisty using nevow 0.9.0-0.1

Revision history for this message
Matti Lindell (mlind) wrote :

nevow 0.9.0-0.1 didn't quite make it in Edgy. We can open a backport task for it though.

Revision history for this message
zenrox (kergan) wrote :

b/i/r under prevu
+1 edgy

Changed in edgy-backports:
status: Unconfirmed → Confirmed
Matti Lindell (mlind)
Changed in nevow:
status: Confirmed → Fix Released
Revision history for this message
Scott Sweeny (ssweeny) wrote :

b/i/r under prevu
+1 edgy

Revision history for this message
Martin Meredith (mez) wrote :

more than likely a candidate for SRU... did it work in breezy?

Revision history for this message
John Dong (jdong) wrote :

Agreeing with Martin -- this should be SRU. Backports will only handle this if MOTU refuses to SRU it.

Changed in edgy-backports:
status: Confirmed → Needs Info
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Edgy Backports because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.