Re: New quadstore !

Posted by gp on
URL: http://owlready.306.s1.nabble.com/New-quadstore-tp647p650.html

Hello JB,

I downloaded the dev version from bitbucket and let most of my scripts run with it and so far so good.

I did try to run the test suite and most tests failed. I did not investigate much more than this the issue though as I might have something misconfigured here.

One of the outputs:
F
test\regtest.py:2349 (Test.test_annotation_5)
self = <regtest.Test testMethod=test_annotation_5>

    def test_annotation_5(self):
      n = self.new_ontology()
      with n:
        class C1(Thing): pass
        class C2(Thing): pass
        class prop(ObjectProperty): pass
        class annot(AnnotationProperty): pass
    
      c1 = C1()
      c2 = C2()
      c1.prop.append(c2)
    
      annot[c1, prop, c2].append(locstr("Un test", "fr"))
      annot[c1, prop, c2].append(locstr("A test", "en"))
    
      annot[c1, prop, c2] = ["Test"]
      annots = None
>     for bnode, p, o in n.get_objs_spo_spo(None, rdf_type, owl_axiom):
E     TypeError: 'NoneType' object is not callable

regtest.py:2367: TypeError


I can also pass you the full blown html report as generated by pycharm but I did not want to clutter the thread.