Unicode safety

Issue #3 on hold
Adam Nelson created an issue

It appears that we're using the ascii codec for interrogating the frame:

{{{ #!python

ERROR:root:Request watchdog failed Traceback (most recent call last): File "/var/www/example-env/src/dogslow/dogslow/init.py", line 128, in peek output += stack(frame, with_locals=True) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 46514: ordinal not in range(128) }}}

Comments (11)

  1. Erik van Zijst repo owner

    Which init.py? Dogslow's? I don't think that'll help as Dogslow is not parsing its own source file.

    I suspect there's a string on the stack that is non-ascii and I'm implicitly decoding it as such.

  2. Log in to comment