Re: OperationalError: too many SQL variables

Posted by ChloƩ on
URL: http://owlready.306.s1.nabble.com/OperationalError-too-many-SQL-variables-tp643p648.html

Thank you very much for the answer.

My command is :

for desc in onto.Produit.descendants():
       for iprod in desc.instances():
               print(iprod.name)

"Produit" is a Class, and the descendants should be too, but there are many (about 1000).

I re-tried the execution and it works now!

Sorry for the inconvenience,

ChloƩ