any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewismc <...@git.apache.org>
Subject [GitHub] any23 issue #38: ANY23-308 Adding option '-d' support for yaml file
Date Tue, 20 Jun 2017 21:35:56 GMT
Github user lewismc commented on the issue:

    https://github.com/apache/any23/pull/38
  
    Hi @jgrzebyta this is when I attempt build the source project from top level directory
    ```
    $ mvn clean test
    ...
    Results :
    
    Tests in error:
      EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead:30->AbstractExtractorTestCase.assertExtract:223->AbstractExtractorTestCase.assertExtract:210
» Runtime
      EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead:37->AbstractExtractorTestCase.assertExtract:223->AbstractExtractorTestCase.assertExtract:210
» Runtime
    
    Tests run: 394, Failures: 0, Errors: 2, Skipped: 15
    
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Apache Any23 ....................................... SUCCESS [  0.792 s]
    [INFO] Apache Any23 :: Base API ........................... SUCCESS [  1.575 s]
    [INFO] Apache Any23 :: Test Resources ..................... SUCCESS [  0.191 s]
    [INFO] Apache Any23 :: Utilities .......................... SUCCESS [  1.018 s]
    [INFO] Apache Any23 :: Mime Type Detection ................ SUCCESS [  2.081 s]
    [INFO] Apache Any23 :: Encoding Detection ................. SUCCESS [  0.883 s]
    [INFO] Apache Any23 :: Core ............................... FAILURE [  8.565 s]
    [INFO] Apache Any23 :: CLI ................................ SKIPPED
    [INFO] Apache Any23 :: Plugins :: Basic Crawler ........... SKIPPED
    [INFO] Apache Any23 :: Plugins :: HTML Scraper ............ SKIPPED
    [INFO] Apache Any23 :: Plugins :: Office Scraper .......... SKIPPED
    [INFO] Apache Any23 :: Plugins :: Integration Test ........ SKIPPED
    [INFO] Apache Any23 :: Service ............................ SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    ```
    The test results are as follows
    ```
    -------------------------------------------------------------------------------
    Test set: org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest
    -------------------------------------------------------------------------------
    Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.524 sec <<<
FAILURE! - in org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest
    testEmbeddedJSONLDInHead(org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest)
 Time elapsed: 1.141 sec  <<< ERROR!
    java.lang.RuntimeException: org.apache.any23.extractor.ExtractionException: Error while
parsing RDF document.
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
    Caused by: org.apache.any23.extractor.ExtractionException: Error while parsing RDF document.
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
    Caused by: org.eclipse.rdf4j.rio.RDFParseException: Could not parse JSONLD
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
    Caused by: com.github.jsonldjava.core.JsonLdError: loading remote context failed: http://json-ld.org/contexts/person.jsonld
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:30)
    
    testSeveralEmbeddedJSONLDInHead(org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest)
 Time elapsed: 0.383 sec  <<< ERROR!
    java.lang.RuntimeException: org.apache.any23.extractor.ExtractionException: Error while
parsing RDF document.
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
    Caused by: org.apache.any23.extractor.ExtractionException: Error while parsing RDF document.
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
    Caused by: org.eclipse.rdf4j.rio.RDFParseException: Could not parse JSONLD
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
    Caused by: com.github.jsonldjava.core.JsonLdError: loading remote context failed: http://json-ld.org/contexts/person.jsonld
    	at org.apache.any23.extractor.html.EmbeddedJSONLDExtractorTest.testSeveralEmbeddedJSONLDInHead(EmbeddedJSONLDExtractorTest.java:37)
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message