Another python error in lyxpreview2bitmap.py

Kornel Benko kornel at lyx.org
Sun Mar 22 11:24:08 UTC 2020


Am Sun, 22 Mar 2020 11:34:05 +0100
schrieb Jürgen Spitzmüller <spitz at lyx.org>:

> With master, open the German User Guide:
> 
> Traceback (most recent call last):
>   File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
> line 594, in <module>
>     sys.exit(main(sys.argv)[0])
>   File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview2bitmap.py",
> line 446, in main
>     return legacy_conversion_step1(latex_file, dpi, output_format,
> fg_color,
>   File "/home/juergen/lyx/lyx-
> devel/lib/scripts/legacy_lyxpreview2ppm.py", line 337, in
> legacy_conversion_step1
>     return legacy_conversion_step3(latex_file, dpi, output_format,
> True, skipMetrics)
>   File "/home/juergen/lyx/lyx-
> devel/lib/scripts/legacy_lyxpreview2ppm.py", line 566, in
> legacy_conversion_step3
>     legacy_metrics.pop(index - 1)
> IndexError: pop from empty list
> 
> 
> Jürgen

I don't see it. Instead I get plenty of
** (lyx2.4:21053): WARNING **: 12:17:00.471: invalid source position for horizontal
gradient

BTW, running python3

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200322/a6c76040/attachment.asc>


More information about the lyx-devel mailing list