Another python error in lyxpreview2bitmap.py

Enrico Forestieri forenr at lyx.org
Sun Mar 22 21:06:13 UTC 2020


On Sun, Mar 22, 2020 at 11:34:05AM +0100, Jürgen Spitzmüller wrote:
> 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

Should be fixed at 92c4bb46.

-- 
Enrico


More information about the lyx-devel mailing list