Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Tests fail on install #5

Open
rpgoldman opened this issue Nov 21, 2020 · 1 comment
Open

Tests fail on install #5

rpgoldman opened this issue Nov 21, 2020 · 1 comment

Comments

@rpgoldman
Copy link

When I follow the installation instruction in the README, I get the following test failures:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running se.liu.ida.rdfstar.pgtools.conversion.RDFStar2TinkerpopPGTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.461 sec
Running se.liu.ida.rdfstar.pgtools.conversion.RDFStar2PGinCSVFormatTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
Running se.liu.ida.rdfstar.pgtools.conversion.PG2RDFStarTest
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
_:v1 <name> "'marko' ;'polo'"^^xsd:string ;
     <age> "29 ;25"^^xsd:integer .
_:v2 <name> "lop"^^xsd:string ;
     <lang> "ja,va"^^xsd:string .
_:v4 <name> 'citat teecken "ser ut sa'^^xsd:string .
_:v3 <name> "fml"^^xsd:string ;
     <lang> 'ja"g";vi"ll "test"; sova typ;nu'^^xsd:string .
_:v5 <name> "Gunnar                   Stenson"^^xsd:string .
_:v6 <name> "'marko' ;'polo'"^^xsd:string ;
     <age> "29 ;25"^^xsd:integer .
_:v6 <lang> "ensak"^^xsd:string .
<<_:v1 <created> _:v2>> <weight> "0.4"^^xsd:double ;
                        <oldest> "0.8"^^xsd:double .
<<_:v1 <friends> _:v2>> <oldest> "0.7;0.2"^^xsd:double .
<<_:v2 <nagot> _:v1>> <weight> "bajs;kiss"^^xsd:double ;
                      <likes> "coolio"^^xsd:string .
_:v2 <ingenmeta> _:v1 .

[main] WARN org.apache.jena.riot - [line: 3, col: 12] Lexical form '29 ;25' not valid for datatype XSD integer
[main] WARN org.apache.jena.riot - [line: 11, col: 12] Lexical form '29 ;25' not valid for datatype XSD integer
[main] WARN org.apache.jena.riot - [line: 15, col: 34] Lexical form '0.7;0.2' not valid for datatype XSD double
[main] WARN org.apache.jena.riot - [line: 16, col: 32] Lexical form 'bajs;kiss' not valid for datatype XSD double
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 sec

Results :

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0

If I understand correctly, these are problems with the upstream Jena library, rather than in your code proper. Looking up my history, I do not see any errors with the installation and testing of RDFstarTools.

I'm afraid I'm not very knowledgeable about modern Java development, so I would need some direction to know how to investigate this any further. Thanks.

@rpgoldman
Copy link
Author

One more note, I was hoping for docs, so I tried mvn site. I don't know if I should have expected this to work, but it failed with

[WARNING] Error injecting: org.apache.maven.report.projectinfo.CiManagementReport
java.lang.NoClassDefFoundError: org/apache/maven/doxia/siterenderer/DocumentContent

in case you are interested.

Also, it's not clear how to run the jar file that we have built. Could you provide an example command line?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant