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: [email protected]
To: [email protected]
CC: [email protected]; [email protected]

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 <[email protected]>




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: 
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=49501711&iu=/4140/ostg.clktrk
_______________________________________________


DSpace-tech mailing list

[email protected]

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=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to