Ticket #1878 (closed defect: wontfix)
twisted.web.monitor traceback, AttributeError: class IChangeNotified has no attribute '__class__'
| Reported by: | misc@… | Owned by: | thijs |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | web | Keywords: | |
| Cc: | thijs, exarkun | Branch: | |
| Author: | Launchpad Bug: |
Description (last modified by exarkun) (diff)
~ $ python /usr/share/doc/python-twisted-web-0.6.0/examples/webmon.py http://sisay.ephaone.org/~misc/tmp/tmp.rss
Traceback (most recent call last):
File "/usr/share/doc/python-twisted-web-0.6.0/examples/webmon.py", line 6, in ?
from twisted.web import monitor
File "/usr/lib64/python2.4/site-packages/twisted/web/monitor.py", line 14, in ?
class BaseChangeNotified:
File "/usr/lib64/python2.4/site-packages/zope/interface/advice.py", line 132, in advise
return callback(newClass)
File "/usr/lib64/python2.4/site-packages/zope/interface/declarations.py", line 550, in _implements_advice
classImplements(cls, *interfaces)
File "/usr/lib64/python2.4/site-packages/zope/interface/declarations.py", line 527, in classImplements
spec.declared += tuple(_normalizeargs(interfaces))
File "/usr/lib64/python2.4/site-packages/zope/interface/declarations.py", line 1345, in _normalizeargs
_normalizeargs(v, output)
File "/usr/lib64/python2.4/site-packages/zope/interface/declarations.py", line 1340, in _normalizeargs
cls = sequence.__class__
AttributeError: class IChangeNotified has no attribute '__class__'
It seems IChangeNotified need to inherit from components.Interface, i will attach a patch.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

