AnsweredAssumed Answered

preview doesn't work

Question asked by liang on Feb 22, 2012
Latest reply on Jul 15, 2014 by tusharpatel88
Hi,
After following the guide: http://wiki.alfresco.com/wiki/Alfresco_on_Eclipse. I find the preview function doesn't work. I am pretty sure that I configure ImageMagick and SWFTools into System path. Here is the error message from alfresco.log:
———————————————————————————————–
ImageMagickContentTransformerWorker not available: 01220000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Windows XP
   command:    [./ImageMagick/bin/convert, D:\apache-tomcat-6.0.35\temp\Alfresco\ImageMagickContentTransformerWorker_init_source_7633881362727849680.gif[0], D:\apache-tomcat-6.0.35\temp\Alfresco\ImageMagickContentTransformerWorker_init_target_248480273820017425.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "./ImageMagick/bin/convert": CreateProcess error=2, The system cannot find the file specified
13:43:04,037 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
   os:         Windows XP
   command:    [./bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "./bin/pdf2swf": CreateProcess error=2, The system cannot find the file specified
13:43:04,037 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
13:43:04,037 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
13:43:04,614 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Windows XP
   command:    [soffice, -accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///D:/apache-tomcat-6.0.35/bin/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program "soffice": CreateProcess error=2, The system cannot find the file specified
13:43:05,705 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
———————————————————————————————–

Any idea? Thanks in advance!

Outcomes