[Grok-dev] Re: AttributeError: type object
'ISessionDataContainer' has no attribute 'isOrExtends'
peter at fry-it.com
Sun Jun 15 15:16:36 EDT 2008
2008/6/15 Graham Stratton <gns24 at mythic-beasts.com>:
> Sebastian Ware wrote:
>> I searched the mailing list archive and found this by PvW:
>>> line 80, in ensureUtility
>>> utils = [reg for reg in sm.registeredUtilities()
>>> AttributeError: type object 'IClientIdManager' has no attribute
>>> I'd like to keep my data; how can I go about getting the ZODB into a
>>> working state?
>> You're missing zope.app.session (and possibly zope.app.securitypolicy as
>> well) which were moved to zope.session and zope.securitypolicy recently. If
>> you make your application depend explicitly on those two zope.app packages,
>> it shoudl work again.
> FWIW, I'm pretty sure that adding those two packages didn't fix the issue
> for me. I ended up changing data structures anyway, so it was easiest to
> copy the data to a clean ZODB.
Yes! Thank you! That worked. I just realised that the data in my
Data.fs was all just dummy stuff anyway.
I deleted it (and had to re-run buildout which sucks) and restart and
voila it works again.
More information about the Grok-dev