problem with UnicodeDecodeError: 'ascii' codec #83

Closed
wants to merge 1 commit into
from

Projects

None yet

8 participants

@michas84

hello,
I've encountered a problem with pyramid-debugtoolbar. The problem is with non-english fonts (in my case that was german). Code execution resulted in "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 38: ordinal not in range(128)"
My changes seem to resolve that problem. Please consider merging and maybe improving the code. Thanks.

Contributor
ponomar commented Nov 13, 2012

Today I had the same problem...

Duplicate of issue #77 & #43 ?

Member

Just had the same traceback:

  File "/home/ielectric/.buildout/eggs/pyramid_debugtoolbar-1.0.3-py2.6.egg/pyramid_debugtoolbar/tbtools.py", line 229, in render_summary
    'description':  description_wrapper % escape(self.exception),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 3216: ordinal not in range(128)
Owner
mcdonc commented Nov 20, 2012

I'd merge this, but it looks like it may not work under Python 3. If anyone has the time to check the error case under py3, and report back, possibly with fixes, that'd be appreciated.

Same problem here today ;)

Owner

@michas84 @ponomar @iElectric @kkszysiu please try again, now that #108 has been merged, and report back your results.

Owner

If this is still an issue can you please bring the code back up to date with master and add your name to the contributors.txt? As it stands we cannot use the contribution but I will gladly reopen this if you can help. Thanks!

@mmerickel mmerickel closed this Apr 21, 2016

Hello,
Sorry, but I dropped this project long time ago, not sure if I can find the
sources here...

2016-04-21 17:26 GMT+02:00 Michael Merickel notifications@github.com:

If this is still an issue can you please bring the code back up to date
with master and add your name to the contributors.txt? As it stands we
cannot use the contribution but I will gladly reopen this if you can help.
Thanks!


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#83 (comment)

@michas84 your code is available from this page in the "commits" tab.
--> 3119f79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment