-
assigned issue to
- changed status to open
Unicode safety
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)
-
repo owner -
repo owner - changed status to on hold
-
repo owner - marked as critical
- edited description
-
repo owner - changed status to open
-
Account Deactivated Just hit the same problem.
-
Inserting this line at the top of init.py would fix the problem:
# -*- coding: utf-8 -*-
-
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.
-
Is there any progress on this one? I seem to be having the same issue...
-
repo owner - changed status to resolved
25f884776471 should address this for now.
-
repo owner Note that this is not a proper solution. For a thorough breakdown of the problem, see https://bitbucket.org/evzijst/dogslow/pull-request/10/fixed-string-concatenation/diff#comment-202906
-
repo owner - changed status to on hold
- Log in to comment
Yeah, that doesn't look right.