>> 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?

No, the error is then simply:


Unable to add font path.
Unable to find executable from 'pplatex latex2e latex'

Ph. Charpentier



Reply via email to