traceback and poor error message for "network unreachable" in ftp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned | ||
Breezy |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Bazaar should give a better message in this situation:
C:\BazaarTest>bzr branch ftp://herbie:
bzr: ERROR: socket.error: (10051, 'Network is unreachable')
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "ftplib.pyo", line 390, in retrbinary
File "ftplib.pyo", line 356, in transfercmd
File "ftplib.pyo", line 324, in ntransfercmd
File "<string>", line 1, in connect
error: (10051, 'Network is unreachable')
bzr 1.16.1 on python 2.5.4 (win32)
arguments: ['bzr', 'branch', 'ftp://herbie:
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
[1.16.1]
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
-------
File Zilla Output
(000025) 21/07/2009 11:43:25 - (not logged in) (10.102.142.126)> Connected, sending welcome message...
(000025) 21/07/2009 11:43:25 - (not logged in) (10.102.142.126)> 220-FileZilla Server version 0.9.32 beta
(000025) 21/07/2009 11:43:25 - (not logged in) (10.102.142.126)> 220-written by Tim Kosse (<email address hidden>)
(000025) 21/07/2009 11:43:25 - (not logged in) (10.102.142.126)> 220 Please visit http://
(000025) 21/07/2009 11:43:25 - (not logged in) (10.102.142.126)> USER herbie
(000025) 21/07/2009 11:43:25 - (not logged in) (10.102.142.126)> 331 Password required for herbie
(000025) 21/07/2009 11:43:25 - (not logged in) (10.102.142.126)> PASS ******
(000025) 21/07/2009 11:43:25 - herbie (10.102.142.126)> 230 Logged on
(000025) 21/07/2009 11:43:25 - herbie (10.102.142.126)> TYPE I
(000025) 21/07/2009 11:43:25 - herbie (10.102.142.126)> 200 Type set to I
(000025) 21/07/2009 11:43:25 - herbie (10.102.142.126)> TYPE I
(000025) 21/07/2009 11:43:25 - herbie (10.102.142.126)> 200 Type set to I
(000025) 21/07/2009 11:43:25 - herbie (10.102.142.126)> PASV
(000025) 21/07/2009 11:43:25 - herbie (10.102.142.126)> 227 Entering Passive Mode (10,102,
(000025) 21/07/2009 11:43:46 - herbie (10.102.142.126)> disconnected.
Related branches
- Vincent Ladeuil: Approve
- Martin Packman: Approve
-
Diff: 1510 lines (+17/-1308)16 files modifiedbreezy/help_topics/en/authentication.txt (+3/-3)
breezy/lockdir.py (+0/-3)
breezy/plugins/git/tests/test_dir.py (+1/-1)
breezy/plugins/upload/__init__.py (+1/-1)
breezy/plugins/upload/tests/test_upload.py (+1/-25)
breezy/tests/__init__.py (+0/-6)
breezy/tests/blackbox/test_help.py (+0/-2)
breezy/tests/ftp_server/__init__.py (+0/-82)
breezy/tests/ftp_server/pyftpdlib_based.py (+0/-223)
breezy/tests/test_ftp_transport.py (+0/-151)
breezy/tests/test_http.py (+2/-2)
breezy/tests/test_smart_transport.py (+1/-1)
breezy/tests/transport_util.py (+8/-19)
breezy/transport/__init__.py (+0/-23)
breezy/transport/ftp/__init__.py (+0/-638)
breezy/transport/ftp/_gssapi.py (+0/-128)
Changed in bzr: | |
status: | Incomplete → Invalid |
summary: |
- 10051 socket error when using ftp:// protocol with FileZilla + traceback and poor error message for "network unreachable" in ftp |
Changed in bzr: | |
status: | Invalid → Confirmed |
importance: | Undecided → Low |
description: | updated |
tags: | added: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: |
added: ftp removed: check-for-breezy |
Changed in brz: | |
status: | Triaged → Won't Fix |
Is this problem reproducible?
Thanks for including the traceback and server log.
Can you use another ftp client from the same machine to connect to the same server and read a file? If so, what does the log show?