[issue18188] ERROR: test_no_optimize_flag on Mageia Linux Cauldron x86-64 with certain configure flags
Shlomi Fish
report at bugs.python.org
Tue Jun 11 15:07:35 CEST 2013
Shlomi Fish added the comment:
Hi,
I don't understand the issue in questioned - it's too wordy and unclear. I don't know how to do the debugging in question - please guide me. I should note that after I do «unset PYTHONDONTWRITEBYTECODE» then all tests pass except for test_ftp.py, which gives me this. However, I don't see the bdist_rpm anywhere in the output. Was it skipped? If so, how, where and why?
[QUOTE]
======================================================================
error: test_ftp (test.test_urllib2net.othernetworktests)
----------------------------------------------------------------------
traceback (most recent call last):
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/urllib/request.py", line 2307, in retrfile
self.ftp.cwd(file)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/ftplib.py", line 591, in cwd
return self.voidcmd(cmd)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/ftplib.py", line 264, in voidcmd
return self.voidresp()
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/ftplib.py", line 238, in voidresp
resp = self.getresp()
file "/home/shlomif/download/unpack/prog/python/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 "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/test/test_urllib2net.py", line 112, in test_ftp
self._test_urls(urls, self._extra_handlers())
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/test/test_urllib2net.py", line 218, in _test_urls
f = urlopen(url, req, timeout)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/test/test_urllib2net.py", line 33, in wrapped
return _retry_thrice(func, exc, *args, **kwargs)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/test/test_urllib2net.py", line 23, in _retry_thrice
return func(*args, **kwargs)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/urllib/request.py", line 469, in open
response = self._open(req, data)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/urllib/request.py", line 487, in _open
'_open', req)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/urllib/request.py", line 447, in _call_chain
result = func(*args)
file "/home/shlomif/download/unpack/prog/python/python-3.3.2/lib/urllib/request.py", line 1464, in ftp_open
fp, retrlen = fw.retrfile(file, type)
file "/home/shlomif/download/unpack/prog/python/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
----------------------------------------------------------------------
ran 15 tests in 14.820s
[/QUOTE]
Also see:
https://bugs.mageia.org/show_bug.cgi?id=9395
Regards,
-- Shlomi Fish
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18188>
_______________________________________
More information about the Python-bugs-list
mailing list