Author gvanrossum
Recipients gvanrossum
Date 2007-12-13.21:07:47
SpamBayes Score 0.389461
Marked as misclassified No
Message-id <1197580068.32.0.710021018285.issue1617@psf.upfronthosting.co.za>
In-reply-to
Content
test test_urllib2net failed -- Traceback (most recent call last):
 File "/tmp/python-test/local/lib/python2.6/test/test_urllib2net.py",
line 175, in test_ftp
   self._test_urls(urls, self._extra_handlers())
 File "/tmp/python-test/local/lib/python2.6/test/test_urllib2net.py",
line 244, in _test_urls
   f = urllib2.urlopen(url, req)
 File "/tmp/python-test/local/lib/python2.6/urllib2.py", line 124, in
urlopen
   return _opener.open(url, data, timeout)
 File "/tmp/python-test/local/lib/python2.6/urllib2.py", line 380, in open
   response = self._open(req, data)
 File "/tmp/python-test/local/lib/python2.6/urllib2.py", line 398, in _open
   '_open', req)
 File "/tmp/python-test/local/lib/python2.6/urllib2.py", line 358, in
_call_chain
   result = func(*args)
 File "/tmp/python-test/local/lib/python2.6/urllib2.py", line 1277, in
ftp_open
   fw = self.connect_ftp(user, passwd, host, port, dirs, req.timeout)
 File "/tmp/python-test/local/lib/python2.6/urllib2.py", line 1323, in
connect_ftp
   self.cache[key] = ftpwrapper(user, passwd, host, port, dirs, timeout)
 File "/tmp/python-test/local/lib/python2.6/urllib.py", line 842, in
__init__
   self.init()
 File "/tmp/python-test/local/lib/python2.6/urllib.py", line 848, in init
   self.ftp.connect(self.host, self.port, self.timeout)
 File "/tmp/python-test/local/lib/python2.6/ftplib.py", line 129, in connect
   self.sock = socket.create_connection((self.host, self.port),
self.timeout)
 File "/tmp/python-test/local/lib/python2.6/socket.py", line 462, in
create_connection
   raise error, msg
TypeError: __init__() takes exactly 2 arguments (3 given)

It looks like somehow msg is a 2-tuple here.  What exception could have
been caught?
History
Date User Action Args
2007-12-13 21:07:48gvanrossumsetspambayes_score: 0.389461 -> 0.389461
recipients: + gvanrossum
2007-12-13 21:07:48gvanrossumsetspambayes_score: 0.389461 -> 0.389461
messageid: <1197580068.32.0.710021018285.issue1617@psf.upfronthosting.co.za>
2007-12-13 21:07:48gvanrossumlinkissue1617 messages
2007-12-13 21:07:47gvanrossumcreate