[New-bugs-announce] [issue7100] test_xmlrpc: global name 'stop_serving' is not defined
Antoine Pitrou
report at bugs.python.org
Sat Oct 10 22:39:30 CEST 2009
New submission from Antoine Pitrou <pitrou at free.fr>:
This happens at least on the py3k branch, I haven't checked other branches.
test test_xmlrpc failed -- Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/test/test_xmlrpc.py", line
344, in tearDown
stop_serving()
NameError: global name 'stop_serving' is not defined
1 test failed:
test_xmlrpc
Unhandled exception in thread started by <bound method Thread._bootstrap
of <Thread(Thread-13, started 140424593951056)>>
Error in sys.excepthook:
TypeError: 'NoneType' object is not callable
Original exception was:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
282, in _handle_request_noblock
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
308, in process_request
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
321, in finish_request
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
639, in __init__
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
693, in finish
File "/home/antoine/py3k/bz-multistream/Lib/socket.py", line 242, in close
AttributeError: 'NoneType' object has no attribute 'RawIOBase'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/test/test_xmlrpc.py", line
294, in http_server
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
267, in handle_request
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
284, in _handle_request_noblock
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
340, in handle_error
ImportError: No module named traceback
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/test/test_xmlrpc.py", line
297, in http_server
AttributeError: 'NoneType' object has no attribute 'timeout'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 509,
in _bootstrap_inner
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 462,
in run
File "/home/antoine/py3k/bz-multistream/Lib/test/test_xmlrpc.py", line
300, in http_server
File "/home/antoine/py3k/bz-multistream/Lib/socket.py", line 178, in close
File "/home/antoine/py3k/bz-multistream/Lib/socket.py", line 173, in
_real_close
AttributeError: 'NoneType' object has no attribute 'socket'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 527,
in _bootstrap_inner
AttributeError: 'Thread' object has no attribute '_exc_info'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 482,
in _bootstrap
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 557,
in _bootstrap_inner
AttributeError: __exit__
[101191 refs]
1 test failed:
test_xmlrpc
Unhandled exception in thread started by <bound method Thread._bootstrap
of <Thread(Thread-13, started 140014861584720)>>
Error in sys.excepthook:
TypeError: 'NoneType' object is not callable
Original exception was:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
282, in _handle_request_noblock
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
308, in process_request
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
321, in finish_request
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
639, in __init__
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
693, in finish
File "/home/antoine/py3k/bz-multistream/Lib/socket.py", line 242, in close
AttributeError: 'NoneType' object has no attribute 'RawIOBase'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/test/test_xmlrpc.py", line
294, in http_server
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
267, in handle_request
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
284, in _handle_request_noblock
File "/home/antoine/py3k/bz-multistream/Lib/socketserver.py", line
340, in handle_error
ImportError: No module named traceback
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/test/test_xmlrpc.py", line
297, in http_server
AttributeError: 'NoneType' object has no attribute 'timeout'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 509,
in _bootstrap_inner
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 462,
in run
File "/home/antoine/py3k/bz-multistream/Lib/test/test_xmlrpc.py", line
300, in http_server
File "/home/antoine/py3k/bz-multistream/Lib/socket.py", line 178, in close
File "/home/antoine/py3k/bz-multistream/Lib/socket.py", line 173, in
_real_close
AttributeError: 'NoneType' object has no attribute 'socket'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 527,
in _bootstrap_inner
AttributeError: 'Thread' object has no attribute '_exc_info'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 482,
in _bootstrap
File "/home/antoine/py3k/bz-multistream/Lib/threading.py", line 557,
in _bootstrap_inner
AttributeError: __exit__
[101191 refs]
----------
assignee: krisvale
components: Tests
messages: 93843
nosy: krisvale, pitrou
priority: high
severity: normal
stage: needs patch
status: open
title: test_xmlrpc: global name 'stop_serving' is not defined
type: crash
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7100>
_______________________________________
More information about the New-bugs-announce
mailing list