Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481568 - dev-lang/python-3.3.2-r2 fails test_urllib2net
Summary: dev-lang/python-3.3.2-r2 fails test_urllib2net
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-18 19:20 UTC by Mike Gilbert
Modified: 2018-04-21 21:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2013-08-18 19:20:19 UTC
[191/371/1] test_urllib2net
/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/socket.py:370: ResourceWarning: unclosed <socket.socket object, fd=3, family=2, type=2049, proto=6>
  self._sock = None
test test_urllib2net failed -- Traceback (most recent call last):
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/urllib/request.py", line 2307, in retrfile
    self.ftp.cwd(file)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/ftplib.py", line 591, in cwd
    return self.voidcmd(cmd)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/ftplib.py", line 264, in voidcmd
    return self.voidresp()
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/ftplib.py", line 238, in voidresp
    resp = self.getresp()
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/ftplib.py", line 233, in getresp
    raise error_perm(resp)
ftplib.error_perm: 550 Failed to change directory.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/test/test_urllib2net.py", line 112, in test_ftp
    self._test_urls(urls, self._extra_handlers())
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/test/test_urllib2net.py", line 218, in _test_urls
    f = urlopen(url, req, TIMEOUT)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/test/test_urllib2net.py", line 33, in wrapped
    return _retry_thrice(func, exc, *args, **kwargs)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/test/test_urllib2net.py", line 23, in _retry_thrice
    return func(*args, **kwargs)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/urllib/request.py", line 469, in open
    response = self._open(req, data)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/urllib/request.py", line 487, in _open
    '_open', req)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/urllib/request.py", line 447, in _call_chain
    result = func(*args)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/urllib/request.py", line 1464, in ftp_open
    fp, retrlen = fw.retrfile(file, type)
  File "/tmp/portage/dev-lang/python-3.3.2-r2/work/Python-3.3.2/Lib/urllib/request.py", line 2309, in retrfile
    raise URLError('ftp error: %d' % reason) from reason
TypeError: %d format: a number is required, not error_perm
Comment 1 Mike Gilbert gentoo-dev 2013-08-18 19:20:36 UTC
If someone else could confirm this, I would appreciate it.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-21 21:40:35 UTC
3.3.2 is gone.