[LyX/master] Add new placeholder $${python} to configure
José Abílio Matos
jamatos at lyx.org
Sat Jan 22 21:54:39 UTC 2022
On Saturday, 22 January 2022 19.49.26 WET Pavel Sanda wrote:
> Hi Jose,
>
> this what I see in curent master:
> 1. start lyx
> 2. load file
> 3. this is what I see in terminal window:
> env: '$${python}': No such file or directory
>
> Most likely related to image preview conversions, this what I see with debug
> messages on graphics:
> graphics/PreviewLoader.cpp (757): PreviewLoader::finishedInProgress(127):
> processing failed for $${python} $$s/scripts/lyxpreview2bitmap.py --png
> "/tmp/lyx_tmpdir.LiGxsfYQmUxW/lyx_tmpbuf6/lyxpreviewGdodeo.tex" --dpi 115
> --fg ff9822 --bg 000000 --bibtex="bibtex"
>
>
> These binaries available on my system:
> python python2 python2.7 python3 python3.9
> python defaults to python2.7
>
> Pavel
The problem here is that the placeholder is not replaced before being used.
In order to see what python is being used you can see:
Help->About LyX
In a hunch does the attached patch fixes the issue?
The idea is to replace the placeholder when the converter is added/imported.
--
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220122/5bdf04e3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: converter_python.patch
Type: text/x-patch
Size: 824 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220122/5bdf04e3/attachment.bin>
More information about the lyx-devel
mailing list