You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tika.apache.org by Michael McCandless <lu...@mikemccandless.com> on 2008/12/20 13:49:30 UTC

No output with TikaCLI?

Hi,

I'm trying to run the command-line tool (TikaCLI) from the 0.2 release.

I downloaded the 0.2 sources, and ran "mvn install" successfully.

When I run "cat XXX.pdf | java -target/tika-0.2.jar
org.apache.tika.cli.TikaCLI" I get lots of xml output.

But, weirdly, if I add --text or --xml or --metadata or --html to the
command-line I get no output.  (--gui seems to work great).

Does anyone else see this?

I haven't tried to track down what's going on...

Mike

Re: No output with TikaCLI?

Posted by Michael McCandless <lu...@mikemccandless.com>.
I think I may be hitting a different issue, because none of the  
different output options work (nothing whatsoever is printed to stdout).

It's especially weird because xml output is the default so I'd expect  
at least --xml to work.  Not sure what's up just yet.

Mike

Uwe Schindler wrote:

> Hi Mike,
>
> Maybe this is TIKA-179, I do not know if it is fixed in 0.2 or if it  
> was later.
>
> Uwe
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> From: Michael McCandless [mailto:lucene@mikemccandless.com]
> Sent: Saturday, December 20, 2008 1:50 PM
> To: tika-user@lucene.apache.org
> Subject: No output with TikaCLI?
>
> Hi,
>
> I'm trying to run the command-line tool (TikaCLI) from the 0.2  
> release.
>
> I downloaded the 0.2 sources, and ran "mvn install" successfully.
>
> When I run "cat XXX.pdf | java -target/tika-0.2.jar
> org.apache.tika.cli.TikaCLI" I get lots of xml output.
>
> But, weirdly, if I add --text or --xml or --metadata or --html to the
> command-line I get no output.  (--gui seems to work great).
>
> Does anyone else see this?
>
> I haven't tried to track down what's going on...
>
> Mike
>


RE: No output with TikaCLI?

Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi Mike,

 

Maybe this is TIKA-179, I do not know if it is fixed in 0.2 or if it was
later.

 

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

  _____  

From: Michael McCandless [mailto:lucene@mikemccandless.com] 
Sent: Saturday, December 20, 2008 1:50 PM
To: tika-user@lucene.apache.org
Subject: No output with TikaCLI?

 

Hi,

 

I'm trying to run the command-line tool (TikaCLI) from the 0.2 release.

 

I downloaded the 0.2 sources, and ran "mvn install" successfully.

 

When I run "cat XXX.pdf | java -target/tika-0.2.jar

org.apache.tika.cli.TikaCLI" I get lots of xml output.

 

But, weirdly, if I add --text or --xml or --metadata or --html to the

command-line I get no output.  (--gui seems to work great).

 

Does anyone else see this?

 

I haven't tried to track down what's going on...

 

Mike