You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 15, 2021. It is now read-only.
It works fine with the older versions of the Raptor/Rasqal libraries:
raptor_version=2.0.6
rasqal_version=0.9.28
But with the current versions,
raptor_version=2.0.8
rasqal_version=0.9.29
4Store-API throws an exception.
com.clarkparsia.fourstore.api.StoreException: (400) RDF parser reported errors
null
at com.clarkparsia.fourstore.impl.StoreImpl.responseToStoreException(StoreImpl.java:789)
at com.clarkparsia.fourstore.impl.StoreImpl.dataOperation(StoreImpl.java:708)
at com.clarkparsia.fourstore.impl.StoreImpl.dataOperation(StoreImpl.java:668)
at com.clarkparsia.fourstore.impl.StoreImpl.add(StoreImpl.java:486)
at com.clarkparsia.fourstore.impl.StoreImpl.add(StoreImpl.java:498)
at com.clarkparsia.fourstore.test.APITests.testAdd(APITests.java:320)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
4s-httpd's log is the following:
$ cat /var/log/messages
Nov 17 16:29:39 debian1 4store[4969]: httpd.c:520 starting import http://4store.clarkparsia.com/test/ (683061 bytes)
Nov 17 16:29:39 debian1 4store[4969]: import.c:162 Error: The namespace prefix in "UnitOfAssessment:16:HESAInst:H-0076:Group:A" was not declared. at -1
Nov 17 16:29:39 debian1 4store[4969]: import.c:157 Warning: Using node element '16:HESAInst:H-0076:Group:A' without a namespace is forbidden. at 1
Nov 17 16:29:39 debian1 4store[4969]: import.c:162 Error: XML parser error: error parsing attribute name at -1
Nov 17 16:29:39 debian1 4store[4969]: import.c:162 Error: XML parser error: attributes construct error at -1
Nov 17 16:29:39 debian1 4store[4969]: import.c:162 Error: XML parser error: xmlParseStartTag: problem parsing attributes at -1
Nov 17 16:29:39 debian1 4store[4969]: import.c:162 Error: XML parser error: Couldn't find end of Start Tag http: at -1
Nov 17 16:29:39 debian1 4store[4969]: httpd.c:642 finished import http://4store.clarkparsia.com/test/
Nov 17 16:29:39 debian1 4store[4969]: httpd.c:303 HTTP error, returning status 400 RDF parser reported errors
Nov 17 16:29:39 debian1 4store[4969]: httpd.c:799 deleted model <http://4store.clarkparsia.com/test/>
Nov 17 16:29:39 debian1 4store[4969]: httpd.c:303 HTTP error, returning status 200 deleted successfully
I couldn't find any issues or documentation for this. I suspect it might be connected with the support for SPARQL 1.1, but I'm not sure.
Hello!
I installed 4store with the https://github.com/szarnyasg/4Store-API/blob/master/scripts/install-4s.sh script.
It works fine with the older versions of the Raptor/Rasqal libraries:
But with the current versions,
4Store-API throws an exception.
4s-httpd's log is the following:
I couldn't find any issues or documentation for this. I suspect it might be connected with the support for SPARQL 1.1, but I'm not sure.
Thanks,
Gabor