You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/test/test_urllib2net.py", line 126, in test_fileself._test_urls(urls, self._extra_handlers(), retry=True)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/test/test_urllib2net.py", line 175, in _test_urls
f = urlopen(url, req, TIMEOUT)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/test/test_urllib2net.py", line 28, in wrappedreturn _retry_thrice(func, exc, *args, **kwargs)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/test/test_urllib2net.py", line 19, in _retry_thricereturn func(*args, **kwargs)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/urllib2.py", line 391, in open
response =self._open(req, data)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/urllib2.py", line 409, in _open'_open', req)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/urllib2.py", line 1257, in file_openreturnself.open_local_file(req)
File "/home/buildbot/slave/py-build/2.6.norwitz-amd64/build/Lib/urllib2.py", line 1291, in open_local_file
headers, 'file://'+ host +file)
TypeError: cannot concatenate 'str' and 'NoneType' objects
Activity
dabrahams commentedon May 8, 2010
$ touch /tmp/x.html $ python -c 'import urllib2;resp=urllib2.urlopen("file:///tmp/x.html");print resp.geturl()' file:/tmp/x.htmlnote the missing // after the colon
orsenthil commentedon May 8, 2010
Fixed in r80953, r80954 , r80955 and r80956.
exarkun commentedon May 8, 2010
Major buildbot failures caused by this change, eg:
ERROR: test_file (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
orsenthil commentedon May 8, 2010
On Sat, May 8, 2010 at 10:04 AM, Jean-Paul Calderone
<report@bugs.python.org> wrote:
Okay, I see where the problem is. I shall quickly fix it.
orsenthil commentedon May 8, 2010
Fixed the change which resulted in Buildbots failure. Those should
turn green now.