listerrors fails
Kornel Benko
kornel at lyx.org
Mon Sep 28 07:51:40 UTC 2020
Our python script lib/scripts/listerrors fails with the message
File "./listerrors", line 25
from __future__ import print_function
^
SyntaxError: from __future__ imports must occur at the beginning of the file
Exit 1
Since we require python3 here, this line is not needed IMHO
Removing this line, and using on the make-log I get
Traceback (most recent call last):
File "lib/scripts/listerrors", line 162, in <module>
main()
File "lib/scripts/listerrors", line 70, in main
if predicate(line): break
File "lib/scripts/listerrors", line 77, in noweb_try
if string.find(line, ": unescaped << in documentation chunk") != -1:
AttributeError: module 'string' has no attribute 'find'
(master & branch 2.3.x)
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/20200928/840774d0/attachment.asc>
More information about the lyx-devel
mailing list