[Grok-dev] AttributeError: type object 'ISessionDataContainer' has
no attribute 'isOrExtends'
Peter Bengtsson
peter at fry-it.com
Fri Jun 13 11:28:25 EDT 2008
I tried to copycat the LoginDemo application from grokapps (with some
slight modifications for my usage)
But it get this error:
$ ./bin/zopectl fg
/home/peterbe/dev/GROK/TheGrokWay/parts/app/runzope -C
/home/peterbe/dev/GROK/TheGrokWay/parts/zopectl/zope.conf
Traceback (most recent call last):
File "/home/peterbe/dev/GROK/TheGrokWay/parts/app/runzope", line 115, in ?
zope.app.twisted.main.main()
File "/home/peterbe/buildout-eggs/tmplwHlwB/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py",
line 74, in main
File "/home/peterbe/buildout-eggs/tmplwHlwB/zope.app.twisted-3.4.0a1-py2.4.egg/zope/app/twisted/main.py",
line 149, in setup
File "/home/peterbe/buildout-eggs/zope.event-3.4.0-py2.4.egg/zope/event/__init__.py",
line 23, in notify
subscriber(event)
File "/home/peterbe/buildout-eggs/zope.component-3.4.0-py2.4.egg/zope/component/event.py",
line 26, in dispatch
for ignored in zope.component.subscribers(event, None):
File "/home/peterbe/buildout-eggs/zope.component-3.4.0-py2.4.egg/zope/component/_api.py",
line 130, in subscribers
return sitemanager.subscribers(objects, interface)
File "/home/peterbe/buildout-eggs/zope.component-3.4.0-py2.4.egg/zope/component/registry.py",
line 290, in subscribers
return self.adapters.subscribers(objects, provided)
File "/home/peterbe/buildout-eggs/tmpwcKl3f/zope.interface-3.4.0-py2.4-linux-i686.egg/zope/interface/adapter.py",
line 535, in subscribers
File "/home/peterbe/buildout-eggs/tmp7OBo5K/zope.app.principalannotation-3.4.0a1-py2.4.egg/zope/app/principalannotation/bootstrap.py",
line 36, in bootStrapSubscriber
File "/home/peterbe/buildout-eggs/zope.app.appsetup-3.4.1-py2.4.egg/zope/app/appsetup/bootstrap.py",
line 80, in ensureUtility
utils = [reg for reg in sm.registeredUtilities()
AttributeError: type object 'ISessionDataContainer' has no attribute
'isOrExtends'
I'm using grok 0.12.1 here.
If I debug that sm.registeredUtilities() is I get this:
[UtilityRegistration(<LocalSiteManager ++etc++site>,
IPrincipalAnnotationUtility, '', PrincipalAnnotation, u''),
UtilityRegistration(<Loc
eManager ++etc++site>, IClientIdManager, '', broken object, u''),
UtilityRegistration(<LocalSiteManager ++etc++site>,
ISessionDataContain
', broken object, u''), UtilityRegistration(<LocalSiteManager
++etc++site>, IErrorReportingUtility, '', RootErrorReportingUtility,
u'')]
...if that means anything.
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Grok-dev
mailing list