It seems like pdf2swf is not in the PATH On Wed, Sep 19, 2012 at 10:19 PM, Glen Delpine <[email protected]>wrote:
> Hello, > > I have installed openmeetings 2.0 on debian squeeze last week. Everything > worked fine for some days. > Now I get an error everytime i try to upload a pdf to whiteboard. After > converting the pdf to jpg, the pdf file is removed from the original > uploadtemp/files directory and exists only in the target directory > upload/files. > But the following command to pdf2swf gives uploadtemp/files as from > directory where the pdf file doesn't reside any longer. > > placing the pdf2swf command in a command line with corrected from > directory generates the expected swf. > > How to avoid the premature removal form the uploadtem/files directory? > > Anyone can help? > > The error message follows: > > Name: exitValue > Value: 0 > Name: command > Value: > Name: completeName > Value: > /usr/lib/red5/webapps/openmeetings/uploadtemp/files/63063f9eafe3da4fdb21fb610ee36f89 > Name: error > Value: > Name: fileExplorerItemId > Value: 13 > Name: process > Value: > Name: exitValue > Value: 0 > Name: process > Value: generateXMLDocument > Name: out > Value: > Name: exitValue > Value: 0 > Name: command > > Value: [convert, -thumbnail, 80, > /usr/lib/red5/webapps/openmeetings/uploadtemp/files/63063f9eafe3da4fdb21fb610ee36f89.pdf, > /usr/lib/red5/webapps/openmeetings/upload/files/63063f9eafe3da4fdb21fb610ee36f89/_thumb_page-%04d.jpg] > Name: error > Value: > Name: process > Value: generateBatchThumbByWidth > Name: exitValue > Value: 0 > Name: process > Value: processPDF > Name: out > Value: > Name: exitValue > Value: -1 > Name: command > Value: [pdf2swf, -s, insertstop, -s, poly2bitmap, -i, -j, 85, -s, zoom=72, > /usr/lib/red5/webapps/openmeetings/uploadtemp/files/63063f9eafe3da4fdb21fb610ee36f89.pdf, > /usr/lib/red5/webapps/openmeetings/upload/files/63063f9eafe3da4fdb21fb610ee36f89/63063f9eafe3da4fdb21fb610ee36f89.swf] > Name: exception > > Value: java.io.IOException: Cannot run program "pdf2swf": > java.io.IOException: error=2, No such file or directory > Name: error > Value: Cannot run program "pdf2swf": java.io.IOException: error=2, No such > file or directory > Name: process > Value: generateSwf > -- WBR Maxim aka solomax
