Ticket #431 (closed defect: fixed)
Undefined variable in WebError
| Reported by: | wichert | Owned by: | ianb |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.1 |
| Component: | weberror | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I just got this traceback:
File "/Users/wichert/Library/eggs/WebError-0.10.2-py2.6.egg/weberror/evalexception.py", line 235, in __call__
return self.respond(environ, start_response)
File "/Users/wichert/Library/eggs/WebError-0.10.2-py2.6.egg/weberror/evalexception.py", line 462, in respond
exc_data = collector.collect_exception(*exc_info)
File "/Users/wichert/Library/eggs/WebError-0.10.2-py2.6.egg/weberror/collector.py", line 541, in collect_exception
return col.collectException(t, v, tb, limit=limit)
File "/Users/wichert/Library/eggs/WebError-0.10.2-py2.6.egg/weberror/collector.py", line 362, in collectException
exception_value=self.safeStr(value),
File "/Users/wichert/Library/eggs/WebError-0.10.2-py2.6.egg/weberror/collector.py", line 382, in safeStr
return unicode(obj).encode(FALLBACK_ENCODING, 'replace')
NameError: global name 'FALLBACK_ENCODING' is not defined
Change History
Note: See
TracTickets for help on using
tickets.
