Am 19.10.2016 um 23:54 schrieb Tommaso Cucinotta <tomm...@lyx.org>: > > On 19/10/2016 23:10, Scott Kostyshak wrote: >> See 8b66f9ce. Perhaps the commit introduced a bug? > > might be. AFAICS, the attempt to replace $$s centrally in > filetools.cpp:commandPrep() fails because the string getting there, is NOT > the converter command as from the \converter line, but rather a dynamically > generated temp Python script, e.g., dumping a few vars from that method: > > : python -tt "/tmp/lyx_tmpdir.kJLFtRT15943/lyxconvertQ15943.py" "disegno.gp" > "png" > pos1: 18446744073709551615 > > (and the pos of $$s is NOT found) > > Contents of that script are dumped with "-dbg any", and it's a Python ~2-page > script containing: > > if os.system(r'$$s/scripts/gnuplot2pdf.sh ' + '"' + infile + '"' + ' ' + '"' > + outfile + '"' + '') != 0: > > Do you know when / under what condition, such a Python intermediate script is > created
src/graphics/GraphicsConverter.cpp - build_script() > and how to prevent that? No. Stephan