Re: New quadstore !

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

Let's check I did things in order. I just reproduced the failing test following this procedure. I just do not use mercurial, so already in the beginning things might go wild.

1. uninstalled the current owlready2 installation
-> import owlready2 returns some error
2. went to the owlready bitbucket cloned directory and did "hg pull" then "hg update"
-> can see in regtest.py@line 18  the command "print("Testing Owlready2 version 2-%s located in %s" % (VERSION, owlready2.__file__))" so I assume this is indeed the last version
3. did "python setup.py install" (as "pip install -e ." somehow did not work on my system)
-> import owlready2 works
4. in some ipython environment went to the test folder of the hg clone, ran "%run regtest.py" and got the following first line
..EEEE............................................................................................................E.........E....................................................E...............................................................EE......................
followed by the corresponding error details.
Using the console the details are a bit different from the pycharm outputs though, here is one:
======================================================================
ERROR: test_reasoning_paper_ic2015 (__main__.Paper)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\temp\owlready2\test\regtest.py", line 4656, in test_reasoning_paper_ic2015
    sync_reasoner(world, debug = 0)
  File "C:\winpython370amd64_running\python-3.7.0.amd64\lib\site-packages\owlready2-0.11-py3.7-win-amd64.egg\owlready2\reasoning.py", line 123, in sync_reasoner_hermit
    output = output.decode("utf8").replace("\r","")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 827: invalid continuation byte

Unfortunately I did not run the testsuite using the console before updating again so things might have changed here. Pycharm still returns many failed tests, looks like they are the same.

Any hint as of a way to improve my owlready2 testing skills?

Some extra infos:
I use winpython370amd64 as basic install. It is heavily overloaded with other packages that I need (even involving with some R integration thingies) so this might as well be the source of the problems.

Cheers,
GP