Bug 444325 - bzr crashes: 'SSHSubprocess' object has no attribute 'get_name'
Summary: bzr crashes: 'SSHSubprocess' object has no attribute 'get_name'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bzr
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Toshio Ernie Kuratomi
QA Contact: Fedora Extras Quality Assurance
URL: https://bugs.launchpad.net/bzr/+bug/2...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-27 04:55 UTC by John Steele Scott
Modified: 2008-05-10 13:56 UTC (History)
2 users (show)

Fixed In Version: 1.3.1-1.fc8
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-10 13:50:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Steele Scott 2008-04-27 04:55:01 UTC
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 18:45:57 UTC
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 13:50:18 UTC
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 13:56:11 UTC
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.