urllib.error.URLError: <urlopen error ftp error: URLError("ftp error: error_perm('550 Failed to change directory.',)",)>
Did any one have such error ?
Code: Select all
root@debianbuilder:/home/working-profiles/MyIsoBuilder/tmp# build-simple-cdd --debug --profiles MyProfile --force-root --debian-mirror ftp://ftp.fr.debian.org/debian
2017-10-09 12:24:58,073 DEBUG Reading configuration...
2017-10-09 12:24:58,124 DEBUG Checking configuration...
2017-10-09 12:24:58,320 DEBUG Creating build environment in /home/working-profiles/MyIsoBuilder/tmp...
2017-10-09 12:24:58,335 DEBUG Building local Debian mirror for debian-cd...
2017-10-09 12:24:58,336 DEBUG downloading: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/extrafiles
2017-10-09 12:25:00,157 DEBUG verify gpg signature running command gpg --no-default-keyring --keyring /usr/share/keyrings/debian-archive-keyring.gpg --verify /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/extrafiles
2017-10-09 12:25:00,166 DEBUG verify gpg signature stderr: gpg: Signature made lun. 09 oct. 2017 10:55:40 CEST
2017-10-09 12:25:00,166 DEBUG verify gpg signature stderr: gpg: using RSA key 126C0D24BD8A2942CC7DF8AC7638D0442B90D010
2017-10-09 12:25:00,167 DEBUG verify gpg signature stderr: gpg: Good signature from "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>" [unknown]
2017-10-09 12:25:00,167 DEBUG verify gpg signature stderr: gpg: WARNING: This key is not certified with a trusted signature!
2017-10-09 12:25:00,167 DEBUG verify gpg signature stderr: gpg: There is no indication that the signature belongs to the owner.
2017-10-09 12:25:00,167 DEBUG verify gpg signature stderr: Primary key fingerprint: 126C 0D24 BD8A 2942 CC7D F8AC 7638 D044 2B90 D010
2017-10-09 12:25:00,167 DEBUG verify gpg signature retval: 0
2017-10-09 12:25:00,204 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/README checksum matched
2017-10-09 12:25:00,204 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/00-INDEX checksum matched
2017-10-09 12:25:00,205 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/FAQ/debian-faq.en.html.tar.gz checksum matched
2017-10-09 12:25:00,206 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/FAQ/debian-faq.en.pdf.gz checksum matched
2017-10-09 12:25:00,207 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/FAQ/debian-faq.en.ps.gz checksum matched
2017-10-09 12:25:00,207 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/FAQ/debian-faq.en.txt.gz checksum matched
2017-10-09 12:25:00,207 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/bug-log-access.txt checksum matched
2017-10-09 12:25:00,208 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/bug-log-mailserver.txt checksum matched
2017-10-09 12:25:00,208 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/bug-mailserver-refcard.txt checksum matched
2017-10-09 12:25:00,208 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/bug-maint-info.txt checksum matched
2017-10-09 12:25:00,208 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/bug-maint-mailcontrol.txt checksum matched
2017-10-09 12:25:00,208 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/bug-reporting.txt checksum matched
2017-10-09 12:25:00,208 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/constitution.txt checksum matched
2017-10-09 12:25:00,208 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/debian-manifesto checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.cn.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.de.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.es.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.fi.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.fr.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.it.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.ja.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.pt_BR.txt checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.sigs.tar.gz checksum matched
2017-10-09 12:25:00,209 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-2.2.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.ca.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.cs.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.de.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.es.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.fr.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.it.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.ja.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.lt.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.ml.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.pt.txt checksum matched
2017-10-09 12:25:00,210 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.ro.txt checksum matched
2017-10-09 12:25:00,211 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.ru.txt checksum matched
2017-10-09 12:25:00,211 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.sigs.tar.gz checksum matched
2017-10-09 12:25:00,211 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.sk.txt checksum matched
2017-10-09 12:25:00,211 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.sv.txt checksum matched
2017-10-09 12:25:00,211 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.txt checksum matched
2017-10-09 12:25:00,211 DEBUG skipping download: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-5.0.vi.txt checksum matched
2017-10-09 12:25:00,211 DEBUG downloading: /home/working-profiles/MyIsoBuilder/tmp/tmp/mirror/doc/dedication/dedication-9.0.bn.txt
Traceback (most recent call last):
File "/usr/lib/python3.5/urllib/request.py", line 2360, in retrfile
self.ftp.cwd(file)
File "/usr/lib/python3.5/ftplib.py", line 630, in cwd
return self.voidcmd(cmd)
File "/usr/lib/python3.5/ftplib.py", line 277, in voidcmd
return self.voidresp()
File "/usr/lib/python3.5/ftplib.py", line 250, in voidresp
resp = self.getresp()
File "/usr/lib/python3.5/ftplib.py", line 245, in getresp
raise error_perm(resp)
ftplib.error_perm: 550 Failed to change directory.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.5/urllib/request.py", line 1478, in ftp_open
fp, retrlen = fw.retrfile(file, type)
File "/usr/lib/python3.5/urllib/request.py", line 2362, in retrfile
raise URLError('ftp error: %r' % reason) from reason
urllib.error.URLError: <urlopen error ftp error: error_perm('550 Failed to change directory.',)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/build-simple-cdd", line 658, in <module>
scdd.build_mirror()
File "/usr/bin/build-simple-cdd", line 270, in build_mirror
self.run_tool("mirror", tool)
File "/usr/bin/build-simple-cdd", line 367, in run_tool
tool.run()
File "/usr/lib/python3/dist-packages/simple_cdd/tools/mirror_wget.py", line 93, in run
_download(x["url"], x["absname"], checksums=extrafile_sums, relname=x["relname"])
File "/usr/lib/python3/dist-packages/simple_cdd/tools/mirror_wget.py", line 55, in _download
request.urlretrieve(url, filename=output)
File "/usr/lib/python3.5/urllib/request.py", line 188, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 466, in open
response = self._open(req, data)
File "/usr/lib/python3.5/urllib/request.py", line 484, in _open
'_open', req)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 1489, in ftp_open
raise exc.with_traceback(sys.exc_info()[2])
File "/usr/lib/python3.5/urllib/request.py", line 1478, in ftp_open
fp, retrlen = fw.retrfile(file, type)
File "/usr/lib/python3.5/urllib/request.py", line 2362, in retrfile
raise URLError('ftp error: %r' % reason) from reason
urllib.error.URLError: <urlopen error ftp error: URLError("ftp error: error_perm('550 Failed to change directory.',)",)>