'SSHSubprocess' object has no attribute 'get_name' error
Adam Mercer
ramercer at gmail.com
Wed Mar 26 18:44:36 GMT 2008
Hi
I MacPorts user is experiencing the following crash when trying to
push over sftp:
bzr: ERROR: exceptions.AttributeError: 'SSHSubprocess' object has no
attribute 'get_name'
Traceback (most recent call last):
File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py",
line 834, in run_bzr_catch_errors
return run_bzr(argv)
File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py",
line 790, in run_bzr
ret = run(*run_argv)
File "/opt/local/lib/python2.5/site-packages/bzrlib/commands.py",
line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/opt/local/lib/python2.5/site-packages/bzrlib/builtins.py",
line 732, in run
dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
File "/opt/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line
688, in open_from_transport
redirected)
File "/opt/local/lib/python2.5/site-packages/bzrlib/transport/__init__.py",
line 1664, in do_catching_redirections
return action(transport)
File "/opt/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line
665, in find_format
transport, _server_formats=_server_formats)
File "/opt/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line
1422, in find_format
return format.probe_transport(transport)
File "/opt/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line
1432, in probe_transport
format_string = transport.get(".bzr/branch-format").read()
File "/opt/local/lib/python2.5/site-packages/bzrlib/transport/sftp.py",
line 238, in get
f = self._get_sftp().file(path, mode='rb')
File "/opt/local/lib/python2.5/site-packages/bzrlib/transport/sftp.py",
line 216, in _get_sftp
connection, credentials = self._create_connection()
File "/opt/local/lib/python2.5/site-packages/bzrlib/transport/sftp.py",
line 208, in _create_connection
self._host, self._port)
File "/opt/local/lib/python2.5/site-packages/bzrlib/transport/ssh.py",
line 350, in connect_sftp
return SFTPClient(sock)
File "/opt/local/lib/python2.5/site-packages/paramiko/sftp_client.py",
line 89, in __init__
self._log(INFO, 'Opened sftp connection (server version %d)' %
server_version)
File "/opt/local/lib/python2.5/site-packages/paramiko/sftp_client.py",
line 109, in _log
super(SFTPClient, self)._log(level, "[chan " +
self.sock.get_name() + "] " + msg)
AttributeError: 'SSHSubprocess' object has no attribute 'get_name'
bzr 1.3 on python 2.5.2.final.0 (darwin)
arguments: ['/opt/local/bin/bzr', 'push', 'sftp://example.com/dest']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'sv_SE.UTF-8'
plugins:
launchpad
/opt/local/lib/python2.5/site-packages/bzrlib/plugins/launchpad
[unknown]
the error seems to be coming from paramiko, the current version is
MacPorts is 1.7.3, is bzr compatible with this version?
Cheers
Adam
More information about the bazaar
mailing list