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 sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.