On Thu, Oct 07, 2004 at 05:13:27PM +0200, Charpentier Philippe wrote: > >> AttributeError: getenv > >> Traceback (innermost last): > >> File "/usr/local/lyx135/share/lyx/scripts/lyxpreview2ppm.py", line 396, in ? > >> main(sys.argv) > >> File "/usr/local/lyx135/share/lyx/scripts/lyxpreview2ppm.py", line 337, in main > >> path = string.split(os.getenv("PATH"), os.pathsep) > >> AttributeError: getenv
Goto to this line and replace os.getenv("PATH") by os.environ['HOME'] Does it works now? > > What operating system are you using? > > Redhat 7.2 > > Ph. Charpentier > -- José Abílio Matos LyX and docbook a perfect match. :-)