lyx2lyx error: IndexError: list index out of range
Scott Kostyshak
skostysh at lyx.org
Sun Dec 11 20:29:17 UTC 2022
On current master, for the Russian UserGuide, I get:
$ lyx -e lyx23x UserGuide.lyx
starting local cmake binary for lyx
lyx2lyx warning: An error occurred in 565, <function revert_hebrew_parentheses at 0x7f42468c5510>
Traceback (most recent call last):
File "/home/scott/lyxbuilds/master-master/repo/lib/lyx2lyx/lyx2lyx", line 97, in <module>
main()
File "/home/scott/lyxbuilds/master-master/repo/lib/lyx2lyx/lyx2lyx", line 91, in main
doc.convert()
File "/home/scott/lyxbuilds/master-master/repo/lib/lyx2lyx/LyX.py", line 702, in convert
conv(self)
File "/home/scott/lyxbuilds/master-master/repo/lib/lyx2lyx/lyx_2_4.py", line 1547, in revert_hebrew_parentheses
convert_hebrew_parentheses(document)
File "/home/scott/lyxbuilds/master-master/repo/lib/lyx2lyx/lyx_2_4.py", line 1540, in convert_hebrew_parentheses
elif current_languages[-1] == 'hebrew' and not line.startswith('\\'):
IndexError: list index out of range
support/Systemcall.cpp (306): Systemcall: 'python3 -tt "/home/scott/lyxbuilds/master-master/repo/lib/lyx2lyx/lyx2lyx" -V 2.3 -o "UserGuide.23.lyx" "UserGuide.lyx"' finished with exit code 1
Error: Cannot convert file
----------------------------------------
An error occurred while running:
python3 -tt $$s/lyx2lyx/lyx2lyx -V 2.3 -o "UserGuide.23.lyx" "UserGuide.lyx"
1$
The ctests started to fail because of this at 6741a8fb, although I think
that commit just triggered this lyx2lyx issue.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221211/0b25ed8f/attachment.asc>
More information about the lyx-devel
mailing list