Bug 444325 - bzr crashes: 'SSHSubprocess' object has no attribute 'get_name'
bzr crashes: 'SSHSubprocess' object has no attribute 'get_name'
Product: Fedora
Classification: Fedora
Component: bzr (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Toshio Ernie Kuratomi
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-04-27 00:55 EDT by John Steele Scott
Modified: 2008-05-10 09:56 EDT (History)
2 users (show)

See Also:
Fixed In Version: 1.3.1-1.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-10 09:50:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John Steele Scott 2008-04-27 00:55:01 EDT
Description of problem:

Pushing to an sftp repository results in the folowing error:

AttributeError: 'SSHSubprocess' object has no attribute 'get_name'.

This has been fixed upstream, see <https://bugs.launchpad.net/bzr/+bug/213425>.

Version-Release number of selected component (if applicable):


How reproducible:

[toojays@fuzz config]$ bzr push
bzr: ERROR: exceptions.AttributeError: 'SSHSubprocess' object has no attribute

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 732, in run
    dir_to = bzrdir.BzrDir.open_from_transport(to_transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 688, in
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line
1664, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 665, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1422, in
    return format.probe_transport(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1432, in
    format_string = transport.get(".bzr/branch-format").read()
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/sftp.py", line 238, in get
    f = self._get_sftp().file(path, mode='rb')
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/sftp.py", line 216, in
    connection, credentials = self._create_connection()
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/sftp.py", line 208, in
    self._host, self._port)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/ssh.py", line 350, in
    return SFTPClient(sock)
  File "/usr/lib/python2.5/site-packages/paramiko/sftp_client.py", line 89, in
    self._log(INFO, 'Opened sftp connection (server version %d)' % server_version)
  File "/usr/lib/python2.5/site-packages/paramiko/sftp_client.py", line 109, in _log
    super(SFTPClient, self)._log(level, "[chan " + self.sock.get_name() + "] " +
AttributeError: 'SSHSubprocess' object has no attribute 'get_name'

bzr 1.3.1rc1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'push',
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.
Comment 1 Toshio Kuratomi 2008-04-27 14:45:57 EDT
Backport of the 1.4 fix has been built.  Please test one of the bzr-1.3.1-1
packages from::


to see if it works now.
Comment 2 Fedora Update System 2008-05-10 09:50:18 EDT
bzr-1.3.1-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 3 Fedora Update System 2008-05-10 09:56:11 EDT
bzr-1.3.1-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.