Ah, nowhere to post a ticket, so ...
The returned value from formatter.format_text is a tuple, so the
subsequent string processing of err_report blows up both in the
concatenation and in the error_stream.write.
I'm using this crude workaround.
--- errormiddleware.py
+++ (clipboard)
@@ -375,7 +375,7 @@
else:
return_error = None
if not reported and error_stream:
- err_report = formatter.format_text(exc_data,
show_hidden_frames=True)
+ err_report = formatter.format_text(exc_data,
show_hidden_frames=True)[0]
err_report += '\n' + '-'*60 + '\n'
error_stream.write(err_report)
if extra_data:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---