Comment 5 for bug 1666829

Revision history for this message
RJVB (rjvbertin) wrote :

No, that's with the original code.

It's been so long ago that I figured out how to fix the errors that I forgot the details. It's indeed not the filename that's the problem, but the file contents. The encoding argument to codecs.open sets the encoding for the entire opened file. With that knowledge refreshed I do recall that the character at position 368 in the summary had a byte value of 0x39 .

How can I get the traceback you want if python doesn't generate one by itself?