Preview has been failing for me with python: can't open file ''/home/aleem/lyx/devel/lib/scripts/lyxpreview2bitmap.py''
A little debugging in graphics/PreviewLoader.C turns up the reason. We're invoking Forkedcall (which in turn invokes execvp) with Calling Forkedcall with python '/home/aleem/lyx/devel/lib/scripts/lyxpreview2bitmap.py' ppm /tmp/lyx_tmpdir16301ez1vtq/lyx_tmpbuf0/0lyxpreview.tex 153 000000 faf0e6 Note the quotes around 'lyxpreview2bitmap.py'. Someone got busy in LibScriptSearch and protected the name of the script with quotes. ViewCVS tells me that this happened on 14 September and that the busy man was Jean-Marc ;-) In truth, the fault does not lie there at all but in our brain dead code in Forkedcall::generateChild that attempts to build an 'argv' array for execvp. I guess that I should stop procrastinating and merge my intelligent command line parser into the LyX sources. -- Angus