Bug 444325 - bzr crashes: 'SSHSubprocess' object has no attribute 'get_name'
bzr crashes: 'SSHSubprocess' object has no attribute 'get_name'
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: bzr (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Toshio Ernie Kuratomi
Fedora Extras Quality Assurance
https://bugs.launchpad.net/bzr/+bug/2...
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2008-05-10 09:50:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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):

bzr-1.3.1-0.1.rc1.fc9.ppc

How reproducible:

[toojays@fuzz config]$ bzr push
sftp://mini.toojays.net/home/toojays/bzr-branches/config
bzr: ERROR: exceptions.AttributeError: 'SSHSubprocess' object has no attribute
'get_name'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in
run_bzr_catch_errors
    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
run_argv_aliases
    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
open_from_transport
    redirected)
  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
find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1432, in
probe_transport
    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
_get_sftp
    connection, credentials = self._create_connection()
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/sftp.py", line 208, in
_create_connection
    self._host, self._port)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/ssh.py", line 350, in
connect_sftp
    return SFTPClient(sock)
  File "/usr/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 "/usr/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.1rc1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'push',
'sftp://mini.toojays.net/home/toojays/bzr-branches/config']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad
[unknown]
*** 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::

  http://koji.fedoraproject.org/koji/packageinfo?packageID=1431

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.