Hi

When the image does not preview, the last a few lines in the debug window are:
ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>

I need to "quit" Ghostscript at this time to get:
convert.exe: no decode delegate for this image format `<file name is here>.ps'.
convert.exe: missing an image filename `ppm:<file name is here>.ppm'.
C:/LyX/LyX1.4.2/Resources/scripts/convertDefault.sh ERROR
Execution of "convert" failed.

Whereas when the image previews ok the last few lines in the debug window are:

ForkedCallQueue: waking up
LoaderQueue: I'm going to sleep
ForkedCallQueue: I'm going to sleep
Image conversion succeeded.
Loading image.
Image loading succeeded.
GraphicsImage::getScaledDImensions()
       params.scale       : 100
       width              : 497
       height             : 404


It appears that "Image conversion succeeded" does not appear when the image does not show in Lyx. It also look like that having the file deep in a long tree of subdirectories contributes to this problem as the same file work fine when placed in C:\ directory.

Why I only have this problem with one particular figure is still very puzzling.

Leo


LB wrote:
I tried that with no success. When starting LyX.exe without the lyx.bat, the figure works every time though.

How do I display the shell windows that shows the debug messages? So I can see if there are any.


Make a copy of lyx.bat, change the last line to

lyx.exe -dbg graphics

and then run the new batch file. (You can try -dbg any to get every message LyX spews, but be warned that is spews quite a few.)

/Paul



Reply via email to