The list is refusing the zip file as 'prohibited contents', so I've put it online temporarily. Please download from http://msys.info/lyx/
On Sun, 9 Jan 2011 12:18:09 +0100 <veno...@arcadiaclub.com> wrote: > [...] > Are you sure yours is a clean install? ... Well, the previous log file wasn't from a clean installation, but now I've installed a fresh copy of MikTeX and LyX into a VirtualBox 4.0.0 'almost clean' (I mean with only totally unrelated software installed - no LyX, no LaTeX, no PDF previewer - with the exception of maybe PDFCreator 0.9.8 - the virtual PDF printer) XP SP3 Polish installation, using only default settings and paths wherever possible. I've created some snapshots in-between the installations in VirtualBox, so I can go back and change whatever is needed to solve this mystery :) I will spare you all the details of the installations this time, but if you want to know the specifics of any stage - ask. > ...Could you send us the following script? > C:/U/LyX 2.0beta2/bin/../Resources/scripts/lyxpreview2bitmap.py Uploaded. But I haven't touched anything there, I swear :) > Maybe something is wrong with the installer. Moreover, your LyX > installation have the "dv2dt.exe" file in the bin folder? Yes, it is there. > I think you're a MSYS developer, ... No I'm not, it is just a coincidence, msys.info is the domain that I bought... > ... so you should be able to do the following: > [...] ... but I still somehow managed to do all this and even more :) In the zip file you'll find the contents of the temp dir, along with the following files deep inside: _script.bat - the script executing the python script and the gswin32c command _script-*.txt - various outputs of the script after executing it from the same directory, should be self-explanatory after examining the contents of the script I've added the line with gswin32c execution to the script, as this is the one python script reports as failing. The commandline has been captured live from the working system and '%' has been replaced with '%%%' - let's call it a 'quirks mode' of windows batch scripts... Unfortunately, I don't understand the output of gswin32c - I hope you will :) > > [...] > 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. These are not present in the system path or user path, but LyX appends these to the path of the executed python script. The combined path is used in the first line of _script.bat for testing. > Are you able to export with the ps2pdf method from LyX? Maybe you need > to install GhostScript. The option File -> Export -> pdf (ps2pdf) works perfectly. The Ghostscript is the one installed from within the LyX installer. As a side note, in Process Explorer it is impossible to copy environment variables' contents (one can only view them, or am I missing something?), but I've found another program - Process Hacker - where pressing Ctrl+C when "PATH" variable is selected silently copies the contents of it. > Thanks for your support! > venom00 Thanks for your interest! MichaĆ