Le 04/04/2017 à 21:01, José Abílio Matos a écrit :
On Sunday, 2 April 2017 13.40.05 WEST Uwe Stöhr wrote:
- the file was opened without the correct encoding. Since nothing was
give, utf8 was used. That failed because on Windows it is in cp1252. In
my patch I use io.open which works with Python 2.6 and 2.7. I think we
don't need to support also older Python versions.

regards Uwe

I had arrived to some of your conclusion. I had committed some code that I
have only a few seconds later realized that was already in your patch. My bad.
:-)


I am not sure what the status is, but with latest version I get the following from configure.py:

Traceback (most recent call last):
File "/home/local/lasgoutt/lyx/master/lib/configure.py", line 1825, in <module>
    ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook)
File "/home/local/lasgoutt/lyx/master/lib/configure.py", line 1379, in checkLatexConfig
    cl.write(line + '\n')
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 82: ordinal not in range(128) support/Systemcall.cpp (295): Systemcall: 'python -tt "/home/local/lasgoutt/lyx/master/lib/configure.py" --with-version-suffix=-master --binary-dir="/home/local/lasgoutt/lyx/devbuild/src/"' finished with exit code 1

This is with my oldish python 2.7.3.

JMarc

Reply via email to