Hello,

Have ubuntu server, and have problem with ppt files. I dont know what i can
do to solve it.
It's ok when i upload pdf, jpg, flv, or gif files but I cant upload
powerpoint file!
I got this error with ppt:


==================================================

Name: out
Value: 
Name: exitValue
Value: 1
Name: command
Value: [java, -Doffice.home=/usr/lib/libreoffice, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/commons-i
o-1.4.jar, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/commons-c
li-1.1.jar, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/ridl-3.2.
1.jar, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/juh-3.2.1
.jar, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/jodconver
ter-core-3.0-beta-4.jar, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/jurt-3.2.
1.jar, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/json-2009
0211.jar, -cp,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/unoil-3.2
.1.jar, -jar,
/usr/lib/red5/webapps/conferences/jodconverter-core-3.0-beta-4/lib/jodconver
ter-core-3.0-beta-4.jar,
/usr/lib/red5/webapps/conferences/uploadtemp/files/a8d98e6ea30201454e8f52fce
62e1a7e.ppt,
/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e1
a7e/a8d98e6ea30201454e8f52fce62e1a7e.pdf]
Name: error
Value: 1 août 2012 21:37:40
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager 
INFO: ProcessManager implementation is LinuxProcessManager
1 août 2012 21:37:40 org.artofsolving.jodconverter.office.OfficeProcess
start
INFO: starting process with acceptString
'socket,host=127.0.0.1,port=2002,tcpNoDelay=1' and profileDir
'/tmp/.jodconverter_socket_host-127.0.0.1_port-2002'
1 août 2012 21:37:40 org.artofsolving.jodconverter.office.OfficeProcess
start
INFO: started process; pid = 25929
Exception in thread "main"
org.artofsolving.jodconverter.office.OfficeException: failed to start and
connect
        at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(Manag
edOfficeProcess.java:64)
        at
org.artofsolving.jodconverter.office.PooledOfficeManager.start(PooledOfficeM
anager.java:101)
        at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.start(ProcessP
oolOfficeManager.java:62)
        at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:112)
Caused by: java.util.concurrent.ExecutionException:
org.artofsolving.jodconverter.office.OfficeException: could not establish
connection
        at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(Manag
edOfficeProcess.java:62)
        ... 3 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: could not
establish connection
        at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndC
onnect(ManagedOfficeProcess.java:142)
        at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.access$000(Managed
OfficeProcess.java:31)
        at
org.artofsolving.jodconverter.office.ManagedOfficeProcess$1.run(ManagedOffic
eProcess.java:58)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.artofsolving.jodconverter.office.OfficeException: office
process died with exit code 134
        at
org.artofsolving.jodconverter.office.ManagedOfficeProcess$6.attempt(ManagedO
fficeProcess.java:136)
        at
org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:40)
        at
org.artofsolving.jodconverter.office.Retryable.execute(Retryable.java:30)
        at
org.artofsolving.jodconverter.office.ManagedOfficeProcess.doStartProcessAndC
onnect(ManagedOfficeProcess.java:120)
        ... 8 more

Name: process
Value: doJodConvert
Name: exitValue
Value: 0
Name: command
Value: 
Name: completeName
Value:
/usr/lib/red5/webapps/conferences/uploadtemp/files/a8d98e6ea30201454e8f52fce
62e1a7e
Name: error
Value: 
Name: fileExplorerItemId
Value: 6
Name: process
Value: 
Name: exitValue
Value: 0
Name: process
Value: generateXMLDocument
Name: out
Value: 
Name: exitValue
Value: 1
Name: command
Value: [/usr/bin/convert, -thumbnail, 80,
/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e1
a7e/a8d98e6ea30201454e8f52fce62e1a7e.pdf,
/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e1
a7e/_thumb_page-%04d.jpg]
Name: error
Value: convert: impossible d'ouvrir l'image
`/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e
1a7e/a8d98e6ea30201454e8f52fce62e1a7e.pdf':  @ error/blob.c/OpenBlob/2587.
convert: nom de fichier d'image absent
`/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e
1a7e/_thumb_page-%04d.jpg' @ error/convert.c/ConvertImageCommand/3011.

Name: process
Value: generateBatchThumbByWidth
Name: exitValue
Value: 0
Name: process
Value: processPDF
Name: out
Value: 
Name: exitValue
Value: 1
Name: command
Value: [/usr/local/bin/pdf2swf, -s, insertstop, -s, poly2bitmap, -i, -j, 85,
-s, zoom=72,
/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e1
a7e/a8d98e6ea30201454e8f52fce62e1a7e.pdf,
/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e1
a7e/a8d98e6ea30201454e8f52fce62e1a7e.swf]
Name: error
Value: Error: Couldn't open file
'/usr/lib/red5/webapps/conferences/upload/files/a8d98e6ea30201454e8f52fce62e
1a7e/a8d98e6ea30201454e8f52fce62e1a7e.pdf'

Name: process
Value: generateSwf

==================================================
Thanks for any help,

Patrick


Reply via email to