Python error

Jürgen Spitzmüller spitz at lyx.org
Fri Mar 13 09:06:48 UTC 2020


I get the following python traceback in master:

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 472, in main
    latex_status, latex_stdout = run_latex(latex, latex_file, bibtex)
  File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview_tools.py",
line 297, in run_latex
    if string_in_file("Warning: Citation", log_file):
  File "/home/juergen/lyx/lyx-devel/lib/scripts/lyxpreview_tools.py",
line 317, in string_in_file
    for line in f.readlines():
  File "/usr/lib64/python3.8/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbb in position
4180: invalid start byte

Jürgen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200313/7b8abcc0/attachment.asc>


More information about the lyx-devel mailing list