Story #8832
Conflict between pyshacl and owlr on ubuntu
0%
Description
This error arises when trying to test on gmn-multihost-test (ubuntu 18.04.2 LTS).
~~~
Traceback (most recent call last):
File "/home/gmn/.pyenv/versions/schema_org/bin/d1-check-site", line 11, in
load_entry_point('schema-org==4.0.0', 'console_scripts', 'd1-check-site')()
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/pkg_resources/init.py", line 2793, in load_entry_point
return ep.load()
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/pkg_resources/init.py", line 2411, in load
return self.resolve()
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/pkg_resources/init.py", line 2417, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/schema_org-4.0.0-py3.7.egg/schema_org/init.py", line 1, in
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/schema_org-4.0.0-py3.7.egg/schema_org/arm.py", line 9, in
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/schema_org-4.0.0-py3.7.egg/schema_org/common.py", line 24, in
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/schema_org-4.0.0-py3.7.egg/schema_org/jsonld_validator.py", line 10, in
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/pyshacl/init.py", line 3, in
from pyshacl.validate import validate, Validator
File "/home/gmn/.pyenv/versions/schema_org/lib/python3.7/site-packages/pyshacl/validate.py", line 5, in
import owlrl
File "/home/gmn/.pyenv/versions/3.7.4/envs/schema_org/bin/owlrl.py", line 4, in
from owlrl import convert_graph, RDFXML, TURTLE, JSON, AUTO, RDFA
ImportError: cannot import name 'convert_graph' from 'owlrl' (/home/gmn/.pyenv/versions/3.7.4/envs/schema_org/bin/owlrl.py)
Worker completed with exit code: 1
~~~
History
#1 Updated by John Evans over 5 years ago
On both platforms, the owlrl version is 4.2.2 and the pyshacl version is 0.9.11.