AttributeError: components.Interface

Bug #83053 reported by Hector Miuler Malpica Gallegos
16
Affects Status Importance Assigned to Milestone
twisted-web2 (Ubuntu)
Fix Released
High
Matthias Klose

Bug Description

(python=2.5/2.4, python-twisted-web2=0.2.0-1.1, ubuntu)

>>> from twisted.web2 import iweb
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/twisted/web2/iweb.py", line 58, in ?
    class IOldNevowResource(components.Interface):
AttributeError: 'module' object has no attribute 'Interface'
>>>

Revision history for this message
Hector Miuler Malpica Gallegos (miuler) wrote :
Revision history for this message
William Grant (wgrant) wrote :

web2 is incompatible with the new version of twisted that we have (2.5). We need an unreleased version for it to work with 2.5. I'm setting this to High, as it breaks Zope 3.

Changed in twisted-web2:
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Andrew Mitchell (ajmitch) wrote :

As a quick hack, changing components.Interface to Interface in iweb.py allows zope3 to start (haven't tested functionality) - a similar change is done in SVN where zope.interface is used throughout.

Revision history for this message
Matthias Klose (doko) wrote :
Changed in twisted-web2:
status: Confirmed → Needs Info
Revision history for this message
Andrew Mitchell (ajmitch) wrote :

From a little testing with zope3, it appears to work without any problems.

Matthias Klose (doko)
Changed in twisted-web2:
assignee: nobody → doko
status: Needs Info → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

uploaded twisted-web2_0.2.0+svn20070403-0ubuntu1

Changed in twisted-web2:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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