You don't have "convert" installed 06.07.2012 15:23 пользователь "Dimosthenis Trichakis" <[email protected]> написал:
> Hi, > > I have installed the openmmetings in Centos5 64bit and works nice except > the loading of a document in whiteboard. > > After the upload of the document and during conversion I'm getting a > pop-up window which writes the following: > > > *Name: out* > > *Value: * > > *Name: exitValue* > > *Value: 1* > > *Name: command* > > *Value: [java, -Doffice.home=/usr/lib64/openoffice.org3/program/, -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/json-20090211.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/unoil-3.2.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/juh-3.2.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-cli-1.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/ridl-3.2.1.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/commons-io-1.4.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar, > -cp, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jurt-3.2.1.jar, > -jar, > /usr/lib/red5/webapps/openmeetings/jodconverter-core-3.0-beta-4/lib/jodconverter-core-3.0-beta-4.jar, > /usr/lib/red5/webapps/openmeetings/uploadtemp/files/c0b66a7c04575910831534fcda88edc7.ppt, > /usr/lib/red5/webapps/openmeetings/upload/files/c0b66a7c04575910831534fcda88edc7/c0b66a7c04575910831534fcda88edc7.pdf] > * > > *Name: error* > > *Value: Exception in thread "main" java.lang.IllegalStateException: > invalid officeHome: it doesn't contain soffice.bin: > /usr/lib64/openoffice.org3/program* > > *at > org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:167) > * > > *at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:111)* > > > *Name: process* > > *Value: doJodConvert* > > *Name: exitValue* > > *Value: 0* > > *Name: command* > > *Value: * > > *Name: completeName* > > *Value: c0b66a7c04575910831534fcda88edc7.ppt* > > *Name: error* > > *Value: * > > *Name: fileExplorerItemId* > > *Value: 9* > > *Name: process* > > *Value: * > > *Name: exitValue* > > *Value: 0* > > *Name: process* > > *Value: generateXMLDocument* > > *Name: out* > > *Value: * > > *Name: exitValue* > > *Value: -1* > > *Name: command* > > *Value: [/usr/lib/convert, -thumbnail, 80, > /usr/lib/red5/webapps/openmeetings/upload/files/c0b66a7c04575910831534fcda88edc7/c0b66a7c04575910831534fcda88edc7.pdf, > /usr/lib/red5/webapps/openmeetings/upload/files/c0b66a7c04575910831534fcda88edc7/_thumb_page-%04d.jpg] > * > > *Name: exception* > > *Value: java.io.IOException: Cannot run program "/usr/lib/convert": > java.io.IOException: error=2, No such file or directory* > > *Name: error* > > *Value: Cannot run program "/usr/lib/convert": java.io.IOException: > error=2, No such file or directory* > > *Name: process* > > *Value: generateBatchThumbByWidth* > > *Name: out* > > *Value: * > > *Name: exitValue* > > *Value: 1* > > *Name: command* > > *Value: [/usr/bin/pdf2swf, -s, insertstop, -s, poly2bitmap, -i, -j, 85, > -s, zoom=72, > /usr/lib/red5/webapps/openmeetings/upload/files/c0b66a7c04575910831534fcda88edc7/c0b66a7c04575910831534fcda88edc7.pdf, > /usr/lib/red5/webapps/openmeetings/upload/files/c0b66a7c04575910831534fcda88edc7/c0b66a7c04575910831534fcda88edc7.swf] > * > > *Name: error* > > *Value: Error: Couldn't open file > '/usr/lib/red5/webapps/openmeetings/upload/files/c0b66a7c04575910831534fcda88edc7/c0b66a7c04575910831534fcda88edc7.pdf' > * > > > *Name: process* > > *Value: generateSwf* > > > > > If I have understood correctly the program cannot find the openoffice in > the path that I have set. > > I have check the path and it is correct and the file soffice.bin is in the > correct folder: > > > *[root@comms program]# find / -name soffice.bin* > > */usr/lib64/openoffice.org3/program/soffice.bin* > > *[root@comms program]# * > > > What is wrong? > > Any advice please? > > >
