Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SageTeX UnicodeDecodeError

Hello, Sage community. I've been writing a book with the help of SageTeX. Until yesterday, I was working with SageMath v8.6, and everything work perfectly. Today I downloaded SageMath v8.7 binary for Linux, and replaced the corresponding SageTeX files. But when I tried to compile the book, suddenly I receive an error message:

Traceback (most recent call last):

File "book.sagetex.sage.py", line 5158, in <module>

_st_.endofdoc()

File "/SageMath/local/lib/python2.7/site-packages/sagetex.py", line 276, in endofdoc

m.update(bytearray(line,'utf8'))

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)

The only difference from yesterday is the new version of SageMath. Can somebody explain/help me with this matter?

Thanks in advance for your answers!