This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients orsenthil, pitrou
Date 2014-08-21.23:33:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408664009.01.0.559911932302.issue22245@psf.upfronthosting.co.za>
In-reply-to
Content
I get the following error messages in the test suite:

[1/1] test_urllib2_localnet
test_basic_auth_httperror (test.test_urllib2_localnet.BasicAuthTests) ... ----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 44046)
Traceback (most recent call last):
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 305, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 331, in process_request
    self.finish_request(request, client_address)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 344, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/antoine/cpython/34/Lib/test/test_urllib2_localnet.py", line 291, in http_server_with_basic_auth_handler
    return BasicAuthHandler(*args, **kwargs)
  File "/home/antoine/cpython/34/Lib/test/test_urllib2_localnet.py", line 212, in __init__
    http.server.BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 669, in __init__
    self.handle()
  File "/home/antoine/cpython/34/Lib/http/server.py", line 398, in handle
    self.handle_one_request()
  File "/home/antoine/cpython/34/Lib/http/server.py", line 387, in handle_one_request
    self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 44047)
Traceback (most recent call last):
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 305, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 331, in process_request
    self.finish_request(request, client_address)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 344, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/antoine/cpython/34/Lib/test/test_urllib2_localnet.py", line 291, in http_server_with_basic_auth_handler
    return BasicAuthHandler(*args, **kwargs)
  File "/home/antoine/cpython/34/Lib/test/test_urllib2_localnet.py", line 212, in __init__
    http.server.BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 669, in __init__
    self.handle()
  File "/home/antoine/cpython/34/Lib/http/server.py", line 398, in handle
    self.handle_one_request()
  File "/home/antoine/cpython/34/Lib/http/server.py", line 387, in handle_one_request
    self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
----------------------------------------
ok
test_basic_auth_success (test.test_urllib2_localnet.BasicAuthTests) ... ----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60893)
Traceback (most recent call last):
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 305, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 331, in process_request
    self.finish_request(request, client_address)
Exception happened during processing of request from ('127.0.0.1', 60894)
Traceback (most recent call last):
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 305, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 331, in process_request
    self.finish_request(request, client_address)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 344, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/antoine/cpython/34/Lib/test/test_urllib2_localnet.py", line 291, in http_server_with_basic_auth_handler
    return BasicAuthHandler(*args, **kwargs)
  File "/home/antoine/cpython/34/Lib/test/test_urllib2_localnet.py", line 212, in __init__
    http.server.BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
  File "/home/antoine/cpython/34/Lib/socketserver.py", line 669, in __init__
    self.handle()
  File "/home/antoine/cpython/34/Lib/http/server.py", line 398, in handle
    self.handle_one_request()
  File "/home/antoine/cpython/34/Lib/http/server.py", line 387, in handle_one_request
    self.wfile.flush() #actually send the response if not already done.
ValueError: I/O operation on closed file.
----------------------------------------
ok


It seems they were introduced by 30e8a8f22a2a.
History
Date User Action Args
2014-08-21 23:33:29pitrousetrecipients: + pitrou, orsenthil
2014-08-21 23:33:29pitrousetmessageid: <1408664009.01.0.559911932302.issue22245@psf.upfronthosting.co.za>
2014-08-21 23:33:28pitroulinkissue22245 messages
2014-08-21 23:33:28pitroucreate