Re: Problem with version > 0.11, handling OwlReadyInconsistentOntologyError()

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Problem-with-version-0-11-handling-OwlReadyInconsistentOntologyError-tp941p961.html

Hi,

Yes, there is a bug in version 0.15 that causes the wrong Error to be raised on inconsistent ontology, when the reasoner is executed inside a with...: block.

I fixed the bug in the development version (on Mercurial).

As a workaround, you can also use just "except:" instead of "OwlReadyInconsistentOntologyError:".

Best regards,
Jiba