• jpeg and tif can't preview

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #8723  by masanto
 
Hi...
I have problem with preview jpeg and tif can't preview this error in server.log
Code: Select all
2011-02-10 00:51:20,614 ERROR [STDERR] Feb 10, 2011 12:51:20 AM org.artofsolving.jodconverter.office.ProcessPoolOfficeManager <init>
INFO: ProcessManager implementation is UnixProcessManager
2011-02-10 00:51:20,657 ERROR [STDERR] Feb 10, 2011 12:51:20 AM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: starting process with acceptString 'socket,host=127.0.0.1,port=2222,tcpNoDelay=1' and profileDir '/tmp/.jodconverter_socket_host-127.0.0.1_port-2222'
2011-02-10 00:51:20,720 ERROR [STDERR] Feb 10, 2011 12:51:20 AM org.artofsolving.jodconverter.office.OfficeProcess start
INFO: started process; pid = 2567
2011-02-10 00:51:21,385 ERROR [STDERR] Feb 10, 2011 12:51:21 AM org.artofsolving.jodconverter.office.OfficeConnection connect
INFO: connected: 'socket,host=127.0.0.1,port=2222,tcpNoDelay=1'

2011-02-10 00:52:24,927 ERROR [com.openkm.frontend.server.OKMWorkspaceServlet] http://www.openkm.com

2011-02-10 04:57:40,390 ERROR [com.openkm.util.DocConverter] Error in IMG to PDF conversion
java.io.IOException: Cannot run program "/root/ImageMagick-6.6.6-6/utilities/convert": java.io.IOException: error=13, Permission denied

Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
	... 22 more
2011-02-10 04:57:40,391 ERROR [com.openkm.frontend.server.OKMDownloadServlet] Error in IMG to PDF conversion
java.io.IOException: Error in IMG to PDF conversion
and this opemkm.cfg setting :
Code: Select all
# Default configuration values
#
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=com.openkm.core.UsersRolesPrincipalAdapter
 max.file.size=500
# max.file.size=5
# max.search.results=25
# system.demo=off
hibernate.dialect=org.hibernate.dialect.HSQLDialect
#hibernate.hbm2ddl=create
hibernate.hbm2ddl=none
system.ocr=/usr/bin/tesseract
#system.img2pdf=/usr/bin/convert
system.img2pdf=/root/ImageMagick-6.6.6-6/utilities/convert
system.pdf2swf=/usr/bin/pdf2swf
#system.pdf2swf=/opt/local/bin/pdf2swf
system.antivir=/usr/bin/clamscan
system.convert=/usr/bin/convert
update.info=off
#restrict.file.mime=off
#restrict.file.extension=*~,*.bak,._*
system.openoffice=on
#system.openoffice=/usr/lib/openoffice
system.openoffice.path=/usr/lib/openoffice
system.openoffice.tasks=5
system.openoffice.port=2222
please help me

thank's
masanto
 #8729  by jllort
 
Error is clear
Code: Select all
java.io.IOException: Cannot run program "/root/ImageMagick-6.6.6-6/utilities/convert": java.io.IOException: error=13, Permission denied
The user who's executing OpenKM can not run that application, must change grants on your os

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.