On Sat, Sep 09, 2006 at 01:37:32PM +0200, Georg Baum wrote: > Am Freitag, 8. September 2006 15:18 schrieb Lars Gullik Bjønnes: > > Helge Hafting <[EMAIL PROTECTED]> writes: > > > > | if os.system(r'python -tt '/usr/local/share/lyx/scripts/ly2png.py' ' + > > | '"' + infile + '"' + ' ' + '"' + outfile + '"' + '') != 0: > > | unlinkNoThrow(outfile) > > | sys.exit(1) > > > > The quoting looks wrong. I guess it would work if the quotes around > > ly2png.py was removed or changed to "". > > Right. I overlooked the case where a converter in $$s/scripts is used when > I fixed bug 2637. > > The attached pair of patches for 1.4 and 1.5 fixes this problem by > introducing proper python quoting in quoteName. Up to now we used the > shell qouting also for python. Helge, please confirm whether it works for > you.
Unfortunately, lyx 1.5 doesn't compile right now. I get: Making all in config make[1]: Entering directory `/usr/src/lyx-devel/config' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/lyx-devel/config' Making all in development make[1]: Entering directory `/usr/src/lyx-devel/development' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/lyx-devel/development' Making all in intl make[1]: Entering directory `/usr/src/lyx-devel/intl' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/src/lyx-devel/intl' Making all in po make[1]: Entering directory `/usr/src/lyx-devel/po' make lyx-unicode.pot-update make[2]: Entering directory `/usr/src/lyx-devel/po' make[2]: *** No rule to make target `../<<<<<<<', needed by `lyx-unicode.pot-update'. Stop. I tried make distclean & autogen.sh, no go. Helge Hafting