[Grok-dev] Re: AttributeError: type object 'ISessionDataContainer' has no attribute 'isOrExtends'

Peter Bengtsson 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:
>>
>> """
>>>
>>>
>>> "/Users/graham/.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 'IClientIdManager' has no attribute
>>> 'isOrExtends'
>>> 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.



-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Grok-dev mailing list