José Abílio Oliveira Matos wrote: > On Fri, Oct 08, 2004 at 11:09:59AM +0200, Charpentier Philippe wrote: >> >> Thank you, like that it works. >> >> Now does this change can be applied to every >> version of python? (if i remenber well,the original >> script works on redhat 9) If not there is probabely >> something to do in configure... > > Yes, it can be changed like that and still be compatible with python > 2.4, > the new version that will be released soon. > > I verified the documentation for every version between 1.5 and 2.4 > yesterday. > > So for now the simple solution is to replace that line in the code like > you have done. > > Jean-Marc, can I apply this to 1.3.6cvs?
Hi, Jose. Thanks for tracking this down. Could you apply the fix to 1.4.x. also? $ (cd ~/lyx/devel/lib/scripts; grep getenv *.py) legacy_lyxpreview2ppm.py:path = string.split(os.getenv("PATH"), os.pathsep) lyxpreview2bitmap.py: path = string.split(os.getenv("PATH"), os.pathsep) -- Angus