Re: [Dspace-tech] FW: XPDF: filter-media error cannot find the file

2013-08-01 Thread Álvaro Vargas Quezada
Thanks for your answer Keiji!
I changed the url to http://localhost/xpdf/pdftotext; and the error stills, I 
have configure that url in Tomcat, but nothing :/
Could it be the xpdf version? Or sth like that?
Thanks again :)

Date: Thu, 1 Aug 2013 10:21:02 +0900
Subject: Re: [Dspace-tech] FW: XPDF: filter-media error cannot find the file
From: z...@mbc.ocn.ne.jp
To: al...@outlook.com
CC: dspace-gene...@lists.sourceforge.net; dspace-tech@lists.sourceforge.net

Hi Álvaro,

 java.io.IOException: Cannot run program http://localhost:80/xpdf/pdftotext: 
 CreateProcess error=2, The system cannot find the file specified

This error means that the value of the property xpdf.path.pdftotext in 
[dspace]/config/dspace.cfg is http://localhost:80/xpdf/pdftotext;. 
Double-check if this property is set to the valid path.
Keiji SuzukiEbetsu, Japan
2013/8/1 Álvaro Vargas Quezada al...@outlook.com




Hi everyone!

I'm trying to use XPDF in my DSpace site, but when I execute the filter-media 
command it throws me a lot of errors. The jpg files are ok, it shows the 
thumbnail, that means xpdf works, but it says cannot find the file specified, 
if it is about the xpdf that's wrong because the xpdf files are there, and if 
it is because of the pdf, it is also wrong because when I go to the specified 
item, I can open the documento without problems. 

Below I let you the error, I hope you can help me :) I'm using DSpace 1.8.2, 
Apache Tomcat 6.0, XPDF 3.01
Muchas gracias desde Chile!
:D
ERROR filtering, skipping bitstream:Item Handle: 123456789/1359
Bundle Name: ORIGINALFile Size: 32379168
Checksum: 5ee6a48c6d7cc9c7d4fc1bf0b4fbc426 (MD5)Asset Store: 
0java.io.IOException: Cannot run program http://localhost:80/xpdf/pdftotext: 
CreateProcess error=2, The system cannot find the file specified
java.io.IOException: Cannot run program http://localhost:80/xpdf/pdftotext: 
CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)at 
java.lang.Runtime.exec(Unknown Source)at java.lang.Runtime.exec(Unknown 
Source)at 
org.dspace.app.mediafilter.XPDF2Text.getDestinationStream(XPDF2Text.java:111)
at 
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:737)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:561)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:414)
at 
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:333)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)Caused by: 
java.io.IOException: CreateProcess error=2, The system cannot find the file 
specified
at java.lang.ProcessImpl.create(Native Method)at 
java.lang.ProcessImpl.init(Unknown Source)at 
java.lang.ProcessImpl.start(Unknown Source)
... 15 moreERROR filtering, skipping bitstream: 
  

--

Get your SQL database under version control now!

Version control is standard for application code, but databases havent

caught up. So what steps can you take to put your SQL databases under

version control? Why should you start doing it? Read more to find out.

http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___


DSpace-tech mailing list

DSpace-tech@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/dspace-tech

List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

  --
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] FW: XPDF: filter-media error cannot find the file

2013-08-01 Thread Mark H. Wood
On Thu, Aug 01, 2013 at 11:49:39AM -0400, Álvaro Vargas Quezada wrote:
 Thanks for your answer Keiji!
 I changed the url to http://localhost/xpdf/pdftotext; and the error stills, 
 I have configure that url in Tomcat, but nothing :/

The value of xpdf.path.pdftotext is not a URL; it is a local
filesystem path.  On a working system here we have:

  xpdf.path.pdftotext = /usr/bin/pdftotext

Try 'which pdftotext' to see where yours is.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Machines should not be friendly.  Machines should be obedient.


signature.asc
Description: Digital signature
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] FW: XPDF: filter-media error cannot find the file

2013-07-31 Thread SUZUKI Keiji
Hi Álvaro,

 java.io.IOException: Cannot run program 
http://localhost:80/xpdf/pdftotext: CreateProcess error=2, The system
cannot find the file specified

This error means that the value of the property xpdf.path.pdftotext in
[dspace]/config/dspace.cfg is http://localhost:80/xpdf/pdftotext;.
Double-check if this property is set to the valid path.

Keiji Suzuki
Ebetsu, Japan

2013/8/1 Álvaro Vargas Quezada al...@outlook.com

 Hi everyone!

 I'm trying to use XPDF in my DSpace site, but when I execute the
 filter-media command it throws me a lot of errors. The jpg files are ok, it
 shows the thumbnail, that means xpdf works, but it says cannot find the
 file specified, if it is about the xpdf that's wrong because the xpdf
 files are there, and if it is because of the pdf, it is also wrong because
 when I go to the specified item, I can open the documento without problems.

 Below I let you the error, I hope you can help me :) I'm using DSpace
 1.8.2, Apache Tomcat 6.0, XPDF 3.01

 Muchas gracias desde Chile!
 :D

 *ERROR filtering, skipping bitstream:*
 *Item Handle: 123456789/1359*
 *Bundle Name: ORIGINAL*
 *File Size: 32379168*
 *Checksum: 5ee6a48c6d7cc9c7d4fc1bf0b4fbc426 (MD5)*
 *Asset Store: 0*
 *java.io.IOException: Cannot run program 
 http://localhost:80/xpdf/pdftotext: CreateProcess error=2, The system
 cannot find the file specified*
 *java.io.IOException: Cannot run program 
 http://localhost:80/xpdf/pdftotext: CreateProcess error=2, The system
 cannot find the file specified*
 *at java.lang.ProcessBuilder.start(Unknown Source)*
 *at java.lang.Runtime.exec(Unknown Source)*
 *at java.lang.Runtime.exec(Unknown Source)*
 *at
 org.dspace.app.mediafilter.XPDF2Text.getDestinationStream(XPDF2Text.java:111)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:737)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:561)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:414)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:333)
 *
 *at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
 *at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)*
 *at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)*
 *at java.lang.reflect.Method.invoke(Unknown Source)*
 *at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)*
 *Caused by: java.io.IOException: CreateProcess error=2, The system cannot
 find the file specified*
 *at java.lang.ProcessImpl.create(Native Method)*
 *at java.lang.ProcessImpl.init(Unknown Source)*
 *at java.lang.ProcessImpl.start(Unknown Source)*
 *... 15 more*
 *ERROR filtering, skipping bitstream:*


 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette