[z3-five] Re: Five fails on my 2.8 instance
Tim Hicks
tim at sitefusion.co.uk
Tue Nov 16 15:10:04 MET 2004
Philipp von Weitershausen said:
> Tim Hicks wrote:
>> Hi,
>>
>> I'm trying to install Five in a Zope 2.8 instance but get problems on
>> initialization of Five. I'm afraid I don't understand enough of what's
>> happening to figure out what's going wrong or how to fix it. Can anyone
>> else see the problem?
>>
>> See traceback below. I'm using Zope X3 3.0.0 final in case that makes
>> any
>> difference.
>
> Five currently only works with Zope 2.7 and X3.0.0. It does not work
> with Zope 2.8 which changes certain subtleties regarding the ZODB
> packages.
> The reason is that Zope 2.7 is stable and in production. It's what most
> people use. 2.8 is not on anyone's radar yet...
Ok, that's a shame. I need 2.8 so I can persist new-style classes.
>> class ISimpleItem(IItem, IPersistent, IAcquisition, IRoleManager):
>> File "/home/tim/zope/X3-3.0.0/lib/python/zope/interface/interface.py",
>> line 416, in __init__
>> raise TypeError, 'Expected base interfaces'
>> TypeError: Expected base interfaces
>
> Yes, this makes sense because in Zope 2.8, the IPersistent interface is
> an Interface.Interface (old-style) whereas in Zope 2.7, it is a
> zope.interface.Interface (new-style). Once we support Zope 2.8, we'll
> have to think about what to do with that.
Either I don't follow properly or that's a little strange. Why would 2.7
use 'new-style' interfaces while 2.8 uses 'old-style'.
Thanks for the reply,
tim
More information about the z3-five
mailing list