[Z3-zemantic] Re: big zemantic storage / some changes
Reinout van Rees
reinout at vanrees.org
Sun May 8 10:45:16 CEST 2005
On Sat, 7 May 2005, Tarek Ziadé wrote:
> Reinout van Rees wrote:
>
> >Note that I actively discourage you from really using it :-) But at
> >least I got all the new-style classes out of rdflib, because they
> >don't work with zope 2.7's zodb storage.
>
> Oh really ? What's the problem you've encountered under 2.7 ?
> Zemantic zodb backend (btrees) works fine on my 2.7.
One thing that might be a big difference: I did my work with rdflib
1.x. Two weeks after I got it working on zope, 2.0 came out...
rdflib uses the super() method a lot, and that's stopped dead in it's
tracks by zope's ExtensionClass mechanism. I removed it and called the
parent's __init__ manually, but still errors. Rdflib checks a lot for
correct types ("is this a URI?") and that also gave me errors
("AcquisitionWrapper is not a URI") or something like that.
Now, I might have done something wrong. It *was* one of my first
projects. :-) The problem might also have been with rdflib's zodb
backend implementation. I believe that was missing in the first
version of rdflib 2.0. Perhaps you've added a better version?
Anyway, rdflib 2.0 looks much cleaner, so less problems with zope is
to be expected.
Reinout
--
Reinout van Rees r.van.rees at zestsoftware.nl
http://vanrees.org/weblog/ http://zestsoftware.nl
"engineer: a mechanism for converting caffeine into designs"
More information about the Z3-zemantic
mailing list