Use of authentication.conf causes update to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
update mirror branch (checkout) at Windows XP Professional SP2 from another branch at Linux server using sftp connection works correctly:
-----------
C:\Projects\
Connected (version 2.0, client OpenSSH_3.8.1p1)
SSH x@y password:
Authentication (password) successful!
Secsh channel 1 opened.
[chan 1] Opened sftp connection (server version 3)
Tree is up to date at revision 16.
-----------
However, when using authentication.conf file at C:\Documents and Settings\
-----------
C:\Projects\
Connected (version 2.0, client OpenSSH_3.8.1p1)
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "C:\Python25\
return run_bzr(argv)
File "C:\Python25\
ret = run(*run_argv)
File "C:\Python25\
return self.run(
File "C:\Python25\
possible_
File "C:\Python25\
return unbound(self, *args, **kwargs)
File "C:\Python25\
possible_
File "C:\Python25\
possible_
File "C:\Python25\
return BzrDir.
File "C:\Python25\
redirected)
File "C:\Python25\
return action(transport)
File "C:\Python25\
transport, _server_
File "C:\Python25\
return format.
File "C:\Python25\
format_string = transport.
File "C:\Python25\
f = self._get_
File "C:\Python25\
connection, credentials = self._create_
File "C:\Python25\
self._host, self._port)
File "C:\Python25\
t = self._connect(
File "C:\Python25\
_paramiko_
File "C:\Python25\
password = auth.get_
File "C:\Python25\
credentials = self.get_
File "C:\Python25\
auth_def.get, ['scheme', 'host', 'user', 'path'])
AttributeError: 'unicode' object has no attribute 'get'
bzr 1.4rc1 on python 2.5.2 (win32)
arguments: ['C:\\Python25\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
launchpad C:\Python25\
-----------
Error occurs both with ANSI encoded file and with UTF-8 encoded file.
Related branches
Changed in bzr: | |
assignee: | nobody → v-ladeuil |
Changed in bzr: | |
status: | Triaged → Fix Committed |
Changed in bzr: | |
milestone: | none → 1.5 |
status: | Fix Committed → Fix Released |
The reason was missing section header in authentication.conf file.
Perhaps an exception catch and a more informative error message could be implemented for this situation.