You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Annie Burgess <an...@gmail.com> on 2014/05/08 01:16:58 UTC

tika install fail on os x 10.9.2

Hi all,

I have a new computer running  OS X 10.9.2 (13C64).  I am attempting to get
Tika up and running, but am getting errors in the Maven install phase.  My
steps are as follows:


[annies-mbp:~/tika/] % svn co https://svn.apache.org/repos/asf/tika/trunktmp
[annies-mbp:~/tika/tmp]% setenv MAVEN_OPTS "-Xms128m -Xmx256m"
[annies-mbp:~/tika/tmp]% mvn install

Results :

Tests in error:

  testiBooksParser(org.apache.tika.parser.ibooks.iBooksParserTest):
Premature end of file.

Tests run: 506, Failures: 0, Errors: 1, Skipped: 1

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] Apache Tika parent ................................ SUCCESS [  0.626
s]
[INFO] Apache Tika core .................................. SUCCESS [  6.631
s] [INFO] Apache Tika parsers ............................... FAILURE [
23.323 s]

.
.
.

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------

My Maven version is:

[annies-mbp:~/Development/tika/tmp]% mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T08:37:52-09:00)
Maven home: /usr/local/Cellar/maven/3.2.1/libexec
Java version: 1.8.0_05, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"--


Does anyone have any insight as to why this is failing at
'iBooksParserTest'?
Thanks!
Annie

------------------------------------------------------------------------------------------
Ann Bryant Burgess, PhD

Postdoctoral Fellow
Computer Science Department
University of Southern California
Viterbi School of Engineering
Los Angeles, CA

Alaska Science Center/USGS
Anchorage, AK

Cell:  (585) 738-7549
Office:  (907) 786-7059
Fax:  (907) 786-7150
E-mail: anniebryant.burgess@gmail.com
Office Address: 4210 University Dr., Anchorage, AK 99508-4626
-------------------------------------------------------------------------------------------

Re: tika install fail on os x 10.9.2

Posted by Nick Burch <ap...@gagravarr.org>.
On Wed, 7 May 2014, Annie Burgess wrote:
> [annies-mbp:~/tika/tmp]% mvn install
>
> Results :
>
> Tests in error:
>
>  testiBooksParser(org.apache.tika.parser.ibooks.iBooksParserTest):
> Premature end of file.

There ought to be a surefire report which will give details of why the 
test failed.

For that test, you ought to have files:
tika-parsers/target/surefire-reports/org.apache.tika.parser.ibooks.iBooksParserTest.txt
tika-parsers/target/surefire-reports/TEST-org.apache.tika.parser.ibooks.iBooksParserTest.xml
(Same info, different formats)

If you check those, does it offer anything useful on why the test failed 
for you?

Nick

Re: tika install fail on os x 10.9.2

Posted by Annie Burgess <an...@gmail.com>.
Following Lewis's advice, I installed:

  Mac OS X x64179.56 MB
jdk-7u55-macosx-x64.dmg<http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-macosx-x64.dmg>
I subsequently updated my bash profile to:

#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_
05.jdk/Contents/Home
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_
55.jdk/Contents/Home

After these adjustments, Tika installed without a problem.

Thanks all.





On Thu, May 15, 2014 at 8:04 AM, Ramirez, Paul M (398J) <
paul.m.ramirez@jpl.nasa.gov> wrote:

> Annie,
>
> I haven't built tika in a while but if it's a typical maven build the
> details of the test output will be captured in one of the files in the
> target directory. If you find those details and post them here that would
> help troubleshoot what is going on.
>
> Thanks,
> Paul Ramirez
>
> On May 8, 2014, at 10:02 AM, Annie Burgess <an...@gmail.com>
>  wrote:
>
> > Hi all,
> >
> > I have a new computer running  OS X 10.9.2 (13C64).  I am attempting to
> get
> > Tika up and running, but am getting errors in the Maven install phase.
>  My
> > steps are as follows:
> >
> >
> > [annies-mbp:~/tika/] % svn co
> https://svn.apache.org/repos/asf/tika/trunktmp
> > [annies-mbp:~/tika/tmp]% setenv MAVEN_OPTS "-Xms128m -Xmx256m"
> > [annies-mbp:~/tika/tmp]% mvn install
> >
> > Results :
> >
> > Tests in error:
> >
> >  testiBooksParser(org.apache.tika.parser.ibooks.iBooksParserTest):
> > Premature end of file.
> >
> > Tests run: 506, Failures: 0, Errors: 1, Skipped: 1
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO] Apache Tika parent ................................ SUCCESS [
>  0.626
> > s]
> > [INFO] Apache Tika core .................................. SUCCESS [
>  6.631
> > s] [INFO] Apache Tika parsers ............................... FAILURE [
> > 23.323 s]
> >
> > .
> > .
> > .
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > My Maven version is:
> >
> > [annies-mbp:~/Development/tika/tmp]% mvn --version
> > Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
> > 2014-02-14T08:37:52-09:00)
> > Maven home: /usr/local/Cellar/maven/3.2.1/libexec
> > Java version: 1.8.0_05, vendor: Oracle Corporation
> > Java home:
> > /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"--
> >
> >
> > Does anyone have any insight as to why this is failing at
> > 'iBooksParserTest'?
> > Thanks!
> > Annie
> >
> >
> ------------------------------------------------------------------------------------------
> > Ann Bryant Burgess, PhD
> >
> > Postdoctoral Fellow
> > Computer Science Department
> > University of Southern California
> > Viterbi School of Engineering
> > Los Angeles, CA
> >
> > Alaska Science Center/USGS
> > Anchorage, AK
> >
> > Cell:  (585) 738-7549
> > Office:  (907) 786-7059
> > Fax:  (907) 786-7150
> > E-mail: anniebryant.burgess@gmail.com
> > Office Address: 4210 University Dr., Anchorage, AK 99508-4626
> >
> -------------------------------------------------------------------------------------------
>
>


-- 
------------------------------------------------------------------------------------------
Ann Bryant Burgess, PhD

Postdoctoral Fellow
Computer Science Department
University of Southern California
Viterbi School of Engineering
Los Angeles, CA

Alaska Science Center/USGS
Anchorage, AK

Cell:  (585) 738-7549
Office:  (907) 786-7059
Fax:  (907) 786-7150
E-mail: anniebryant.burgess@gmail.com
Office Address: 4210 University Dr., Anchorage, AK 99508-4626
-------------------------------------------------------------------------------------------

Re: tika install fail on os x 10.9.2

Posted by "Ramirez, Paul M (398J)" <pa...@jpl.nasa.gov>.
Annie,

I haven't built tika in a while but if it's a typical maven build the details of the test output will be captured in one of the files in the target directory. If you find those details and post them here that would help troubleshoot what is going on.

Thanks,
Paul Ramirez

On May 8, 2014, at 10:02 AM, Annie Burgess <an...@gmail.com>
 wrote:

> Hi all,
> 
> I have a new computer running  OS X 10.9.2 (13C64).  I am attempting to get
> Tika up and running, but am getting errors in the Maven install phase.  My
> steps are as follows:
> 
> 
> [annies-mbp:~/tika/] % svn co https://svn.apache.org/repos/asf/tika/trunktmp
> [annies-mbp:~/tika/tmp]% setenv MAVEN_OPTS "-Xms128m -Xmx256m"
> [annies-mbp:~/tika/tmp]% mvn install
> 
> Results :
> 
> Tests in error:
> 
>  testiBooksParser(org.apache.tika.parser.ibooks.iBooksParserTest):
> Premature end of file.
> 
> Tests run: 506, Failures: 0, Errors: 1, Skipped: 1
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] Apache Tika parent ................................ SUCCESS [  0.626
> s]
> [INFO] Apache Tika core .................................. SUCCESS [  6.631
> s] [INFO] Apache Tika parsers ............................... FAILURE [
> 23.323 s]
> 
> .
> .
> .
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> 
> My Maven version is:
> 
> [annies-mbp:~/Development/tika/tmp]% mvn --version
> Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
> 2014-02-14T08:37:52-09:00)
> Maven home: /usr/local/Cellar/maven/3.2.1/libexec
> Java version: 1.8.0_05, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"--
> 
> 
> Does anyone have any insight as to why this is failing at
> 'iBooksParserTest'?
> Thanks!
> Annie
> 
> ------------------------------------------------------------------------------------------
> Ann Bryant Burgess, PhD
> 
> Postdoctoral Fellow
> Computer Science Department
> University of Southern California
> Viterbi School of Engineering
> Los Angeles, CA
> 
> Alaska Science Center/USGS
> Anchorage, AK
> 
> Cell:  (585) 738-7549
> Office:  (907) 786-7059
> Fax:  (907) 786-7150
> E-mail: anniebryant.burgess@gmail.com
> Office Address: 4210 University Dr., Anchorage, AK 99508-4626
> -------------------------------------------------------------------------------------------


Fwd: tika install fail on os x 10.9.2

Posted by Annie Burgess <an...@gmail.com>.
Hi all,

I have a new computer running  OS X 10.9.2 (13C64).  I am attempting to get
Tika up and running, but am getting errors in the Maven install phase.  My
steps are as follows:


[annies-mbp:~/tika/] % svn co https://svn.apache.org/repos/asf/tika/trunktmp
[annies-mbp:~/tika/tmp]% setenv MAVEN_OPTS "-Xms128m -Xmx256m"
[annies-mbp:~/tika/tmp]% mvn install

Results :

Tests in error:

  testiBooksParser(org.apache.tika.parser.ibooks.iBooksParserTest):
Premature end of file.

Tests run: 506, Failures: 0, Errors: 1, Skipped: 1

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] Apache Tika parent ................................ SUCCESS [  0.626
s]
[INFO] Apache Tika core .................................. SUCCESS [  6.631
s] [INFO] Apache Tika parsers ............................... FAILURE [
23.323 s]

.
.
.

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------

My Maven version is:

[annies-mbp:~/Development/tika/tmp]% mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T08:37:52-09:00)
Maven home: /usr/local/Cellar/maven/3.2.1/libexec
Java version: 1.8.0_05, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"--


Does anyone have any insight as to why this is failing at
'iBooksParserTest'?
Thanks!
Annie

------------------------------------------------------------------------------------------
Ann Bryant Burgess, PhD

Postdoctoral Fellow
Computer Science Department
University of Southern California
Viterbi School of Engineering
Los Angeles, CA

Alaska Science Center/USGS
Anchorage, AK

Cell:  (585) 738-7549
Office:  (907) 786-7059
Fax:  (907) 786-7150
E-mail: anniebryant.burgess@gmail.com
Office Address: 4210 University Dr., Anchorage, AK 99508-4626
-------------------------------------------------------------------------------------------

Re: tika install fail on os x 10.9.2

Posted by "Mattmann, Chris A (3980)" <ch...@jpl.nasa.gov>.
Hey Annie, can you SVN up and try again? I saw some commits from
Nick not sure if they fixed this.

Cheers,
Chris



-----Original Message-----
From: Annie Burgess <an...@gmail.com>
Reply-To: "user@tika.apache.org" <us...@tika.apache.org>,
"anniebryant.burgess@gmail.com" <an...@gmail.com>
Date: Wednesday, May 7, 2014 4:16 PM
To: user <us...@tika.apache.org>
Subject: tika install fail on os x 10.9.2

>Hi all, 
>
>
>I have a new computer running  OS X 10.9.2 (13C64).  I am attempting to
>get Tika up and running, but am getting errors in the Maven install
>phase.  My steps are as follows:
>
>
>[annies-mbp:~/tika/] % svn co
>https://svn.apache.org/repos/asf/tika/trunk
><https://svn.apache.org/repos/asf/tika/trunk> tmp
>[annies-mbp:~/tika/tmp]% setenv MAVEN_OPTS "-Xms128m -Xmx256m"
>[annies-mbp:~/tika/tmp]% mvn install
>
>Results :
>
>Tests in error: 
>
>  testiBooksParser(org.apache.tika.parser.ibooks.iBooksParserTest):
>Premature end of file.
>Tests run: 506, Failures: 0, Errors: 1, Skipped: 1
>
>[INFO] 
>------------------------------------------------------------------------
>[INFO] Reactor Summary:
>[INFO] Apache Tika parent ................................ SUCCESS [
>0.626 s]
>[INFO] Apache Tika core .................................. SUCCESS [
>6.631 s] [INFO] Apache Tika parsers ...............................
>FAILURE [ 23.323 s]
>.
>.
>.
>
>[INFO] 
>------------------------------------------------------------------------
>
>[INFO] BUILD FAILURE
>[INFO] 
>------------------------------------------------------------------------
>
>My Maven version is:
>
>[annies-mbp:~/Development/tika/tmp]% mvn --version
>Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
>2014-02-14T08:37:52-09:00)
>Maven home: /usr/local/Cellar/maven/3.2.1/libexec
>Java version: 1.8.0_05, vendor: Oracle Corporation
>Java home: 
>/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre
>Default locale: en_US, platform encoding: UTF-8
>OS name: "mac os x", version: "10.9.2", arch: "x86_64", family: "mac"--
>
>
>
>
>Does anyone have any insight as to why this is failing at
>'iBooksParserTest'?
>Thanks!
>Annie
>
>--------------------------------------------------------------------------
>----------------
>Ann Bryant Burgess, PhD
>
>Postdoctoral Fellow
>Computer Science Department
>University of Southern California
>Viterbi School of Engineering
>Los Angeles, CA
>
>Alaska Science Center/USGS
>Anchorage, AK     
>
>Cell:  (585) 738-7549
>Office:  (907) 786-7059
>Fax:  (907) 786-7150
>E-mail: anniebryant.burgess@gmail.com
>Office Address: 4210 University Dr., Anchorage, AK 99508-4626
>--------------------------------------------------------------------------
>-----------------
>
>
>