To reproduce:
git clone the lyx 2.2.0 source, autogen.sh and configure.
Then use "make", and get this crash:
LC_ALL=C ; export LC_ALL ; /usr/bin/python ./lyx_pot.py -b .. -o
formats_l10n.po
t -t formats ../lib/configure.py
Traceback (most recent call last):
File "./lyx_pot.py", line 660, in <module>
layouts_l10n(input_files, output, base, False)
File "./lyx_pot.py", line 181, in layouts_l10n
for line in open(src).readlines():
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
225: ordina
l not in range(128)
Makefile:708: recipe for target 'layouts_l10n.pot' failed
make[3]: *** [layouts_l10n.pot] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/usr/src/lyx/po'
Makefile:420: recipe for target 'lyx-2.2.0dev.pot' failed
make[2]: *** [lyx-2.2.0dev.pot] Error 2
make[2]: Leaving directory '/usr/src/lyx/po'
Makefile:554: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/lyx'
Makefile:449: recipe for target 'all' failed
make: *** [all] Error 2
I have seen this on two machines using arch linux & qt5.
The error disappears if I run make again - so perhaps this is a very
minor problem. Still,
thought you might like to know.
Helge Hafting