Re: TypeError: metaclass conflict:

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/TypeError-metaclass-conflict-tp420p438.html

Hello,
I've investigated the problem (I finally get the error with this version!).
The problem was caused by a bug in the World class when backend parameters are given at the World's creation, as you did:

my_world = World(filename="rdfstore.db")

I fixed the problem in the development version; you can also use the following workaround:

my_world = World()
my_world.set_backend(filename=rdf_store, exclusive=False)

Additionally, in your program, you are creating 2 Worlds that uses the same database. Is it intended? Normally, multiple worlds are used when you want several, isolated, quadstore.

Best regards, Jiba