Paul A. Rubin wrote:

> C:/LyX/lyx/share/lyx/scripts/convertDefault.sh invoked as:
> jpg:C:/LyX/Documents/happy.jpg
> ppm:C:/LyX/lyx/tmp/lyx_tmpdir4020a03188/happy4020a03188.ppm
> C:/LyX/lyx/share/lyx/scripts/convertDefault.sh ERROR
> Unable to find file
> "C:/LyX/lyx/tmp/lyx_tmpdir4020a03188/happy4020a03188.ppm"

Well I guess that this, in some weird and wonderful way, is good news.
It means that the script is being invoked and that it is the script 
itself that is failing.

Nonetheless, I am still baffled. 

You say that, if you run convertDefault.sh 'by hand', it works 
perfectly? Could you try again with this new version, dumping output 
to a LyX temp directory.

In fact, since file names like C:/foo/bar/file.xyz are clearly dodgy 
on Win32, please try the attached script which will change them to 
C:\foo\bar\file.xyz

I understand that Win32 machines often have a 'convert.exe' file that 
converts file partitions to/from FAT32. Perhaps this is a PATH issue 
and the wrong 'convert' is getting called.

Instead of that raw 'convert' in the script, why not insert the full 
path to the ImageMagick program?

-- 
Angus

Attachment: convertDefault.sh
Description: application/shellscript

Reply via email to