Apache OpenOffice (AOO) Bugzilla – Issue 72096
Call to convert.exe executable with incorrect path
Last modified: 2010-01-23 17:21:22 UTC
Hello When an EPS file is imported, convert.exe is executed. For some reason, Openoffice calls the convert located in c:\windows\system32\convert.exe which makes no sense, since this convert.exe is NOT ImageMagick's convert but an MS application that converts ntfs to fat. I guess that Openoffice should call convert.exe from ImageMagick, but for some reason it call MS convert... I have ImageMagick installed and when I run from the command prompt > cmd > convert I get the ImageMagick's convert.exe output: > C:\Documents and Settings>convert > Version: ImageMagick 6.3.0 11/22/06 Q16 http://www.imagemagick.org > Copyright: Copyright (C) 1999-2006 ImageMagick Studio LLC > > Usage: convert [options ...] file [ [options ...] file ...] [options ...] file So I have no idea why Openoffice tries to call MS convert.exe instead of ImageMagicks...
I've no clue, filter issue? ->mba: no doubt you will know who to direct this to ;-)
Sorry, I also have no clue. What convert.exe is meant here? Sven?!
Hello I have got the same problem. I also tried to install the convert.exe binary from ImageMagick and the %PATH% contains the correct path to it, c:\im but never the less OO Writer opens the file conversion tool from the system32 directory in the windows path. Actually I create preview pictures with ghostview but it is not as comfortable as OpenOffice works on linux, the experience I have is on Knoppix and Kubuntu. The preview pictures I create manually have the problem of beeing huge and 'bad in quality' - I guess because of a bigger size than needed or maybe wrong box measurement. I am looking forward hoping this Issue can be solved. Thank you very much
sj->cmc: can you please take over this issue...
I do see that under windows with convert available that the eps still does not get a preview, will look into this
Still a problem in OOo 2.1 You can place the ImageMagick convert.exe and DLLs into openoffice subdirectory "program" to have it found before windows/system32/convert.exe, but even then it is not successful. Using Sysinternals "Processes Monitor" shows OOo accesses the correct convert.exe, then the incorrect one, and then the correct one again. It seems to do much more with the correct one, even accessing the DLLs, but the final rendering does not show. This is a very important feature for those that use latex and eps files generated with programs like Illustrator, and would like to reuse the native eps files in presentations.
Created attachment 65921 [details] fix
Hmm, a) the underlying SearchPath on windows which is used to search for the executables is rather off, claims to search "the folders that are specified in the system path" but it definitely isn't searching in the order shown in %PATH% or in System Properties->Environmental Variables->Path. So possible follow up but there for the osl guys. b) The return code is an error code of pipe closed on windows instead of just 0 for no error, need to allow that as well
done in exchgcmtdoc
redone in exchgcmtdoc2, verified
Closed, in DEV300_m70. Will be in 3.3