On Sonntag, 20. April 2008, Christoph Haas wrote: > I am currently upgrading a real-life project to 0.9.7beta4 and > encountered the following problem: > [...] > ===================== > "/home/chaas/projekte/pylons/0.9.7-test/lib/python2.4/site-packages/WebE >rror-0.8a-py2.4.egg/weberror/exceptions/formatter.py", line 427, in > format_long_source > long_source = long_source.encode('ascii', 'xmlcharrefreplace') > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position > 212: ordinal not in range(128) > =====================
It seems to happen with all controllers that have non-ascii characters. "damjan" on IRC said it probably happens when the source code is rendered in the online debugger. If I replace the chars I get the debugger again and can fix the actual error in my code. Does that sound like it's a WebError bug then? My controller contain a whole lot of non-ascii chars. I wouldn't want to replace them. :) Christoph -- When you do things right people won't be sure you've done anything at all.
signature.asc
Description: This is a digitally signed message part.