> I've been able to 'catch' one 
> subprocess that is
> executed right after opening the document, then it 
> disappeared (after a
> second or two). Its commandline appeared in the messages 
> (attached, line
> 2696), along with the information that it failed.

Well, that's the standard conversion python script, we need the output of that
script. I proposed to print the conversion output to LyX console but never made
the patch.

D:\LyXSVN\lyx-devel\src\graphics\PreviewLoader.cpp(656):
PreviewLoader::finishedInProgress(1): processing failed for python -tt "C:/U/LyX
2.0beta2/bin/../Resources/scripts/lyxpreview2bitmap.py" png "C:/Documents and
Settings/ms/Ustawienia
lokalne/Temp/lyx_tmpdir.Hp5300/lyx_tmpbuf0/0lyxpreview.tex" 115 000000 faf0e6

Are you sure yours is a clean install? Could you send us the following script?
C:/U/LyX 2.0beta2/bin/../Resources/scripts/lyxpreview2bitmap.py

Maybe something is wrong with the installer. Moreover, your LyX installation
have the "dv2dt.exe" file in the bin folder?
I think you're a MSYS developer, so you should be able to do the following: 
- start LyX
- open your document and wait for the instant-preview to fail (wait a moment)
- in your temp directory (C:/Documents and Settings/ms/Ustawienia lokalne/Temp)
search for the most recent lyx_tmpdir* and inside that for the most recent
lyx_tmpbuf*
- zip all the content of the folder and sent it here
- if you don't have time stop here, otherwise go on 
- open a command prompt
- set the PATH variable to the one your LyX installation uses (you can see that
with Process Explorer)
- then try to run the script and give us the output:

python -tt "C:/U/LyX 2.0beta2/bin/../Resources/scripts/lyxpreview2bitmap.py" png
"%PREVIEWFILE%" 115 000000 faf0e6

Replace %PREVIEWFILE% with the .tex file containing the plot code in that
folder.

>     Also, maybe the following will help: some time ago, after reading
> about your (AFAIR) patch on lyx-devel, I've tried to 
> temporarily remove
> dvipng.exe, which, according to some post, should trigger 
> another method
> of rendering previews (possibly better, because of 
> tikz/pstricks support
> - at least that is what I hoped for). Unfortunately, it proved
> ineffective: the instant preview was gone even from 2.0beta1 and even
> only with equations used (in other words, it behaved much 
> like 2.0beta2
> after encountering pgfplot package), so I reverted this 
> change (brought
> back dvipng.exe) and 2.0beta1 instant preview started working again...
> maybe something is missing from MikTeX, or there is some
> misconfiguration to correct?

My patch was not in the beta1, so if removing dvipng.exe makes fail
instant-preview means you're having a problem with the legacy method.
Please check that "gs" or "gswin32c" (that is GhostScript) and "dvips"
(distributed with MiKTeX) are present in your PATH.
Are you able to export with the ps2pdf method from LyX? Maybe you need to
install GhostScript.

Thanks for your support!
venom00

Reply via email to