FTP push does not work without specifying password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
In Ubuntu Gutsy, I try to push my repository to my FTP site with;
bzr push ftp://<email address hidden>
BZR waits a while (not even prompting for a password), then chokes with this dump:
-------
jorg@shale:
Using saved location: ftp://<email address hidden>
bzr: ERROR: socket.gaierror: (-2, 'Name or service not known')
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
dir_to = bzrdir.
File "/usr/lib/
redirected)
File "/usr/lib/
return action(transport)
File "/usr/lib/
transport, _server_
File "/usr/lib/
return format.
File "/usr/lib/
format_string = transport.
File "/usr/lib/
f = self._get_FTP()
File "/usr/lib/
connection, credentials = self._create_
File "/usr/lib/
connection.
File "ftplib.py", line 117, in connect
for res in socket.
gaierror: (-2, 'Name or service not known')
bzr 0.90.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'push']
** please send this report to <email address hidden>
-------
Strangely, when I enter my password on the command line like;
bzr push ftp://jorgb:{PASSWORD}
FTP <email address hidden> password:
Pushed up to revision 12.
It goes on but still prompts for my password! It looks like it tries to use my login account name 'jorg' which is not similar to my ftp user name 'jorgb'.
I use BZR also under Windows XP, and this mechanism works there without problems.
With regards,
- Jorgen
On Thu, 2007-11-22 at 20:08 +0000, Jorgen Bodde wrote: /home/. 5b/j/jorgb/ WWW/bzr/ cvl/ ------- ------- ----- ~/versioned- src/cvl$ bzr push /home/. 5b/j/jorgb/ WWW/bzr/ cvl/
> Public bug reported:
>
> In Ubuntu Gutsy, I try to push my repository to my FTP site with;
>
> bzr push ftp://<email address hidden>
>
> BZR waits a while (not even prompting for a password), then chokes with
> this dump:
>
> -------
> jorg@shale:
> Using saved location: ftp://<email address hidden>
> bzr: ERROR: socket.gaierror: (-2, 'Name or service not known')
This means that your host cannot be resolved. Can you ping
ftp.xs4all.nl from that machine?
Thanks,
James