Re: InstantPreview fails with Python 3

2019-06-03 Thread José Abílio Matos
On Monday, 11 February 2019 00.57.16 WEST Uwe Stöhr wrote:
> InstantPreview fails with Python 3.7.2 and I cannot figure out why. In
> the console I see:
> 
> - graphics\PreviewLoader.cpp (781):
> PreviewLoader::finishedInProgress(1): processing failed for python -tt
> $$s/scripts/lyxpreview2bitmap.py --png
> "C:/Users/User/AppData/Local/Temp/lyx_tmpdir.PlMVrEJL4248/lyx_tmpbuf0/lyxpre
> viewZb4248.tex" --dpi 115 --fg 00 --bg faf0e6 --bibtex="bibtex"
> 
> I tried to run the lyxpreview2bitmap.py manually in a console and then
> get the error that it cannot find gswin32c or gswin64c. But the path to
> it is correctly set in the LyX preferences.
> 
> I also could not find out how to tell the script a path to gswin32c.
> Therefore I could not investigate further.
> José, could you maybe have a look and tell me at least how to specify
> the path to gswin32c when executing the script in a console?
> 
> thanks and regards
> Uwe

Hi Uwe,
do you still have this problem?

Best regards,
-- 
José Abílio




InstantPreview fails with Python 3

2019-02-10 Thread Uwe Stöhr

InstantPreview fails with Python 3.7.2 and I cannot figure out why. In
the console I see:

- graphics\PreviewLoader.cpp (781):
PreviewLoader::finishedInProgress(1): processing failed for python -tt
$$s/scripts/lyxpreview2bitmap.py --png
"C:/Users/User/AppData/Local/Temp/lyx_tmpdir.PlMVrEJL4248/lyx_tmpbuf0/lyxpreviewZb4248.tex"
--dpi 115 --fg 00 --bg faf0e6 --bibtex="bibtex"

I tried to run the lyxpreview2bitmap.py manually in a console and then
get the error that it cannot find gswin32c or gswin64c. But the path to
it is correctly set in the LyX preferences.

I also could not find out how to tell the script a path to gswin32c.
Therefore I could not investigate further.
José, could you maybe have a look and tell me at least how to specify
the path to gswin32c when executing the script in a console?

thanks and regards
Uwe