On Wed, Apr 12, 2017 at 12:24:20PM +0200, Jürgen Spitzmüller wrote: > I am currently getting the following error while doing reconfigure: > > checking LaTeX configuration... auto > Traceback (most recent call last): > File "/home/juergen/lyx/lyx-devel2/lib/configure.py", line 1825, in > <module> > ret = checkLatexConfig(lyx_check_config and LATEX != '', > bool_docbook) > File "/home/juergen/lyx/lyx-devel2/lib/configure.py", line 1356, in > checkLatexConfig > for line in io.open(file, encoding=enco).readlines(): > File "/usr/lib64/python2.7/codecs.py", line 314, in decode > (result, consumed) = self._buffer_decode(data, self.errors, final) > UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position > 294: invalid continuation byte > Systemcall.cpp (295): Systemcall: 'python -tt "/home/juergen/lyx/lyx- > devel2/lib/configure.py" --with-version-suffix=-dev --binary- > dir="/home/juergen/lyx/lyx-devel2/src/"' finished with exit code 1
Check that all your layout files are utf8 encoded: file ~/.lyx/layout/* If not, use iconv to convert them. I think that this deserves a comment in release notes. -- Enrico