-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
html_error_template fails if in the traceback there are non ascii characters #88
Comments
Anonymous wrote: This is the traceback that results when executing the attached script:
|
Michael Bayer (@zzzeek) wrote: what solution do you prefer here ? "encoding" parameters that may be sent to html_error_template() ? or a liberal "encoding_errors" setting by default ? |
Changes by Michael Bayer (@zzzeek):
|
Changes by Philip Jenvey (@pjenvey):
|
Changes by Philip Jenvey (@pjenvey):
|
Anonymous wrote: The problem seems to be still here. I have attached another script that reproduces the problem. NOTE: I have incurred in this problem with SQLAlchemy + psycopg2; the exception was an IntegrityError after an insert, and one of the values contained non us-ascii characters. |
Changes by Anonymous:
|
Changes by Philip Jenvey (@pjenvey):
|
Migrated issue, originally created by Anonymous
Attached is a script that reproduces the problem.
Attachments: bug_mako_html_error_template.py | mako_error.py
The text was updated successfully, but these errors were encountered: