[z3-five] Re: Five fails on my 2.8 instance
Philipp von Weitershausen
philipp at weitershausen.de
Tue Nov 16 14:57:15 MET 2004
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...
> 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.
Philipp
More information about the z3-five
mailing list