Another python error in lyxpreview2bitmap.py

José Abílio Matos jamatos at lyx.org
Mon Mar 23 08:25:42 UTC 2020


On Sunday, 22 March 2020 10.34.05 WET 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
> 
> 
> Jürgen

Yesterday I tried to replicate this bug but I was unable because this depends on the path 
used in the conversion.

It is nice to see that Enrico fixed it.

Something that I noticed though is that trying to view the German User's Guide I get an 
error:

"""
 ...in Abschnitt\ \vref{subsec:LaTeX-Syntax}
                                                  .
Please check the pages in question. You might need to replace the \vref
or \vpageref by a normal \(page)ref to stop LaTeX running forever.
"""

I have texlive 2019 installed.
-- 
José Abílio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200323/f32a65bd/attachment-0001.html>


More information about the lyx-devel mailing list