You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Stefane Fermigier <sf...@fermigier.com> on 2012/06/05 10:58:58 UTC

Problems building stanbol

Hi,

when I try to build Stanbol from svn trunk (via mvn install), I get:

Failed tests:   testSingleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
  testSingleSentenceChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
  testSingleSentenceNoChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
  testMultipleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)

Maybe because some models are not loaded?

1084 [main] INFO org.apache.stanbol.commons.opennlp.TextAnalyzer - Unable to load POS Model for language 'en'
java.io.EOFException: Unexpected end of ZLIB input stream

  S.

-- 
Stefane Fermigier, tech entrepreneur
http://fermigier.com/ - http://twitter.com/sfermigier - http://www.linkedin.com/in/sfermigier
"Well done is better than well said." - Benjamin Franklin
"There's no such thing as can't. You always have a choice." - Ken Gor


Re: Problems building stanbol

Posted by Rupert Westenthaler <ru...@gmail.com>.
On Tue, Jun 5, 2012 at 10:58 AM, Stefane Fermigier <sf...@fermigier.com> wrote:
> Hi,
>
> when I try to build Stanbol from svn trunk (via mvn install), I get:
>
> Failed tests:   testSingleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testSingleSentenceChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testSingleSentenceNoChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testMultipleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>
> Maybe because some models are not loaded?
>
> 1084 [main] INFO org.apache.stanbol.commons.opennlp.TextAnalyzer - Unable to load POS Model for language 'en'
> java.io.EOFException: Unexpected end of ZLIB input stream
>

looks like the "en-pos-maxent.bin" is somehow corrupted. All *.bin
files used by OpenNLP are actually Zip archives.

Please try to delete the everything under

   {stanbol-trunk}/data/opennlp/lang/en/src/main/resources/

this will cause the models to be re-downloaded on the next build.
Hopefully this will solve your issue.

best
Rupert

>  S.
>
> --
> Stefane Fermigier, tech entrepreneur
> http://fermigier.com/ - http://twitter.com/sfermigier - http://www.linkedin.com/in/sfermigier
> "Well done is better than well said." - Benjamin Franklin
> "There's no such thing as can't. You always have a choice." - Ken Gor
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: Problems building stanbol

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi

On Tue, Jun 5, 2012 at 11:36 AM, Stefane Fermigier <sf...@fermigier.com> wrote:
> Also, with the 0.9.0 release, I have the following (different) errors:
>
> [INFO] Building Apache Stanbol Commons Web Base
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:jersey-server:bundle:null
>
> Reason: Cannot find parent: com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null for project null:jersey-server:bundle:null
>

I think this is related to

    http://markmail.org/message/hakidpayagesfdm2

best
Rupert


>  S.
>
> On Jun 5, 2012, at 10:58 AM, Stefane Fermigier wrote:
>
>> Hi,
>>
>> when I try to build Stanbol from svn trunk (via mvn install), I get:
>>
>> Failed tests:   testSingleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>>  testSingleSentenceChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>>  testSingleSentenceNoChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>>  testMultipleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>>
>> Maybe because some models are not loaded?
>>
>> 1084 [main] INFO org.apache.stanbol.commons.opennlp.TextAnalyzer - Unable to load POS Model for language 'en'
>> java.io.EOFException: Unexpected end of ZLIB input stream
>>
>>  S.
>>
>> --
>> Stefane Fermigier, tech entrepreneur
>> http://fermigier.com/ - http://twitter.com/sfermigier - http://www.linkedin.com/in/sfermigier
>> "Well done is better than well said." - Benjamin Franklin
>> "There's no such thing as can't. You always have a choice." - Ken Gor
>>
>
> --
> Stefane Fermigier, tech entrepreneur
> http://fermigier.com/ - http://twitter.com/sfermigier - http://www.linkedin.com/in/sfermigier
> "Well done is better than well said." - Benjamin Franklin
> "There's no such thing as can't. You always have a choice." - Ken Gor
>



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Re: Problems building stanbol

Posted by Stefane Fermigier <sf...@fermigier.com>.
Also, with the 0.9.0 release, I have the following (different) errors:

[INFO] Building Apache Stanbol Commons Web Base
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:jersey-server:bundle:null

Reason: Cannot find parent: com.sun.jersey:jersey-project for project: null:jersey-server:bundle:null for project null:jersey-server:bundle:null

  S.

On Jun 5, 2012, at 10:58 AM, Stefane Fermigier wrote:

> Hi,
> 
> when I try to build Stanbol from svn trunk (via mvn install), I get:
> 
> Failed tests:   testSingleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testSingleSentenceChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testSingleSentenceNoChunkerConfig(org.apache.commons.opennlp.TextAnalyzerTest)
>  testMultipleSentenceDefaultConfig(org.apache.commons.opennlp.TextAnalyzerTest)
> 
> Maybe because some models are not loaded?
> 
> 1084 [main] INFO org.apache.stanbol.commons.opennlp.TextAnalyzer - Unable to load POS Model for language 'en'
> java.io.EOFException: Unexpected end of ZLIB input stream
> 
>  S.
> 
> -- 
> Stefane Fermigier, tech entrepreneur
> http://fermigier.com/ - http://twitter.com/sfermigier - http://www.linkedin.com/in/sfermigier
> "Well done is better than well said." - Benjamin Franklin
> "There's no such thing as can't. You always have a choice." - Ken Gor
> 

-- 
Stefane Fermigier, tech entrepreneur
http://fermigier.com/ - http://twitter.com/sfermigier - http://www.linkedin.com/in/sfermigier
"Well done is better than well said." - Benjamin Franklin
"There's no such thing as can't. You always have a choice." - Ken Gor