Indeed, this is due to french settings and the offending line is a good news stated in a funny mix of english and french: "build réussi".
Changing the offending line to Volker's suggestion does work. I opened ticket [#27706] for that purpose but I am not sure about the Python3 compatible way to implement it. [#27706] https://trac.sagemath.org/ticket/27706 Thank you! Vincent Le 19/04/2019 à 18:14, Volker Braun a écrit :
Can you change the offending line to self._stream.write(line.encode('utf-8')) On Friday, April 19, 2019 at 4:09:00 PM UTC+2, vdelecroix wrote:Dear all, I freshly cloned and compile SageMath. Everything went fine until the documentation where each time sphinx tries to write something I see [dochtml] Traceback (most recent call last): [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 287, in write [dochtml] self._write(str) [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 261, in _write [dochtml] self._log_line(line) [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 227, in _log_line [dochtml] self._stream.write(line) [dochtml] UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 19: ordinal not in range(128) [dochtml] Traceback (most recent call last): [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 287, in write [dochtml] self._write(str) [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 261, in _write [dochtml] self._log_line(line) [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 227, in _log_line [dochtml] self._stream.write(line) [dochtml] UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 19: ordinal not in range(128) [dochtml] Traceback (most recent call last): [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 287, in write [dochtml] self._write(str) [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 261, in _write [dochtml] self._log_line(line) [dochtml] File "/opt/sage-clang/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 227, in _log_line [dochtml] self._stream.write(line) [dochtml] UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 19: ordinal not in range(128) There is a tone of them in the attached log but which is not very helpful for debugging. Any help is appreciated. Vincent
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
