failure with unexpected None in format_exception_only in _translate_error in TestResponseEncodingProtocolThree.test_send_broken_body_stream

Bug #342140 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

======================================================================
ERROR: test_send_broken_body_stream (bzrlib.tests.test_smart_transport.TestResponseEncodingProtocolThree)

vvvv[log from bzrlib.tests.test_smart_transport.TestResponseEncodingProtocolThree.test_send_broken_body_stream]

^^^^[log from bzrlib.tests.test_smart_transport.TestResponseEncodingProtocolThree.test_send_broken_body_stream]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/Python-2.5/lib/python2.5/site-packages/bzrlib/tests/test_smart_transport.py", line 2831, in test_send_broken_body_stream
    encoder.send_response(response)
  File "/usr/local/Python-2.5/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 1166, in send_response
    error_struct = request._translate_error(exc_info[1])
  File "/usr/local/Python-2.5/lib/python2.5/site-packages/bzrlib/smart/request.py", line 348, in _translate_error
    trace.log_exception_quietly()
  File "/usr/local/Python-2.5/lib/python2.5/site-packages/bzrlib/trace.py", line 354, in log_exception_quietly
    mutter(traceback.format_exc())
  File "/usr/local/Python-2.5/lib/python2.5/traceback.py", line 236, in format_exc
    return ''.join(format_exception(etype, value, tb, limit))
  File "/usr/local/Python-2.5/lib/python2.5/traceback.py", line 145, in format_exception
    list = list + format_exception_only(etype, value)
  File "/usr/local/Python-2.5/lib/python2.5/traceback.py", line 176, in format_exception_only
    stype = etype.__name__
AttributeError: 'NoneType' object has no attribute '__name__'

Revision history for this message
Martin Pool (mbp) wrote :

See thread "Failed selftest 1.13rc1".

Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.