Ticket #431 (closed defect: fixed)

Opened 20 months ago

Last modified 18 months ago

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

Changed 18 months ago by ianb

  • status changed from new to closed
  • resolution set to fixed

Added in 163:23731f8f2ba9

Note: See TracTickets for help on using tickets.