And another update... sorry for the noise. On Sonntag, 20. April 2008, Christoph Haas wrote: > 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/We > >bE 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.
Looks like ticket #406 then. 2 weeks old already? I think this should be solved before 0.9.7 or converting projects from 0.9.6->0.9.7 will be a real PITA because you never know what the actual problem was. Pylons without an online debugger? Can't imagine that. :) 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.