On Sat, Aug 31, 2019 at 11:21:36AM +0200, Jürgen Spitzmüller wrote: > Am Freitag, den 30.08.2019, 21:24 -0400 schrieb Scott Kostyshak: > > I get the following error when trying to export supported- > > languages.lyx > > to 2.3.x format: > > > > $ lyx -e lyx23x autotests/export/latex/languages/supported- > > languages.lyx > > Warning: An error ocurred in 575, <function revert_new_languages at > > 0x7f62ecd51ea0> > > Traceback (most recent call last): > > File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx2lyx", > > line 97, in <module> > > main() > > File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx2lyx", > > line 91, in main > > doc.convert() > > File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/LyX.py", line > > 702, in convert > > conv(self) > > File "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx_2_4.py", > > line 1896, in revert_new_languages > > revert(lang, *new_languages[lang]) > > KeyError: 'english' > > support/Systemcall.cpp (291): Systemcall: 'python3 -tt > > "/home/scott/lyxbuilds/master/repo/lib/lyx2lyx/lyx2lyx" -V 2.3 -o > > "supported-languages.23.lyx" "supported-languages.lyx"' finished with > > exit code 1 > > Error: Cannot convert file > > ---------------------------------------- > > An error occurred while running: > > python -tt $$s/lyx2lyx/lyx2lyx -V 2.3 -o "supported- > > languages.23.lyx" > > "supported-languages.lyx" > > $ > > The function itself should be fixed. However, it seems that > revert_languages (which is called here) misses some languages in > Branches.
Thanks for taking a look. Scott
signature.asc
Description: PGP signature