Dear Forum,
I'm facing an issue with owlready2 reasoning. Please help me in this Traceback (most recent call last): File "/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/reasoning.py", line 250, in sync_reasoner_pellet output = subprocess.run(command, stdout = subprocess.PIPE, stderr = subprocess.PIPE, check = True, **_subprocess_kargs).stdout File "/usr/lib/python3.6/subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['java', '-Xmx8000M', '-cp', '/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/jena-iri-0.9.5.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/httpclient-4.2.3.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/aterm-java-1.6.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/xercesImpl-2.10.0.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/xml-apis-1.4.01.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/log4j-1.2.16.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/pellet-2.3.1.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/owlapi-distribution-3.4.3-bin.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/jena-arq-2.10.0.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/jena-core-2.10.0.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/jcl-over-slf4j-1.6.4.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/slf4j-api-1.6.4.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/jgrapht-jdk1.5.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/httpcore-4.2.2.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/jena-tdb-0.10.0.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/antlr-runtime-3.2.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/commons-codec-1.6.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/antlr-3.2.jar:/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/pellet/slf4j-log4j12-1.6.4.jar', 'pellet.Pellet', 'realize', '--loader', 'Jena', '--input-format', 'N-Triples', '--infer-prop-values', '--infer-data-prop-values', '--ignore-imports', '/tmp/tmpejurb6rs']' died with <Signals.SIGKILL: 9>. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/shaila/swiadmin/GVA/filters/views.py", line 797, in filter_file reasoner_initialize(user, path, orig_file_name, user_gva_obj, self.status, parent, flag) File "/home/shaila/swiadmin/GVA/filters/owl.py", line 656, in reasoner_initialize sync_reasoner_pellet([gva],infer_property_values = True, infer_data_property_values = True) File "/home/shaila/swiadmin/GVA/venv/lib/python3.6/site-packages/owlready2/reasoning.py", line 263, in sync_reasoner_pellet raise OwlReadyJavaError("Java error message is:\n%s" % (e.stderr or e.output or b"").decode("utf8")) owlready2.base.OwlReadyJavaError: Java error message is: log4j:WARN No appenders could be found for logger (com.hp.hpl.jena.sparql.mgt.ARQMgt). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Thank you in advance. |
Facing the same issue.
|
Administrator
|
In reply to this post by Web Dev Junkie
Hi,
It seems that the Java process executing the reasoner died. Could you please try the following command : java -version to obtain the Java version? You may also run the reasoner directly in the terminal by copy-pasting the command line shown in the standard output (you need to call the reasoner with the keep_tmp_file=True option so that the temporary file is not deleted), to see what happens. Jiba |
Free forum by Nabble | Edit this page |