Failure to connect to keyring aborts action

Bug #397967 reported by John A Meinel
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
New
Undecided
Unassigned

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

While trying to just transfer my branch to another local machine I got a
traceback involving:

  File "C:\Users\jameinel\dev\bzr\bzr.dev\bzrlib\transport\remote.py",
line 516, in _build_medium
    user = auth.get_user('ssh', self._host, self._port)
  File "C:\Users\jameinel\dev\bzr\bzr.dev\bzrlib\config.py", line 1156,
in get_user
    path=path, realm=realm)
  File "C:\Users\jameinel\dev\bzr\bzr.dev\bzrlib\config.py", line 1085,
in get_credentials
    scheme, host, port, user, path, realm)
  File "C:\Users\jameinel\dev\bzr\bzr.dev\bzrlib\config.py", line 1263,
in get_fallback_credentials
    cs = self.get_credential_store(name)
  File "C:\Users\jameinel\dev\bzr\bzr.dev\bzrlib\config.py", line 1246,
in get_credential_store
    cs = cs()
  File "C:/Users/jameinel/dev/bzr/plugins\gtk\keyring.py", line 34, in
__init__
    if gobject.get_application_name() is None:
AttributeError: 'module' object has no attribute 'get_application_name'

It may be that my install of PyGTK is a bit old (approx v2.0), but
certainly I would expect to be able to "bzr push bzr+ssh://" even under
those conditions.

John
=:->

 affects bzr-gtk
 status triaged
 priority medium
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpXlDkACgkQJdeBCYSNAAOSZwCeJZu4VSmg5tgUqwxQpBO2r3G6
cOoAn127qK6B7EzViB2Khz1GNzsw2oWk
=S5hu
-----END PGP SIGNATURE-----

Tags: mysql
Revision history for this message
GuilhemBichot (guilhem-bichot) wrote :
Download full text (5.4 KiB)

Got this too, on Windows, with the latest pygobject from http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/ (2.14.2.2) and bzr 1.17.1 (python-based installer); when pushing with bzr+ssh:
Connected (version 2.0, client OpenSSH_4.3)
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'get_application_name'

Traceback (most recent call last):
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\commands.py", line 835, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\commands.py", line 1030, in run_bzr
    ret = run(*run_argv)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\commands.py", line 647, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\builtins.py", line 1204, in run
    from_location)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\bzrdir.py", line 951, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\bzrdir.py", line 836, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\bzrdir.py", line 871, in open_from_transport
    return format.open(transport, _found=True)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\bzrdir.py", line 2052, in open
    return self._open(transport)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\bzrdir.py", line 3279, in _open
    return remote.RemoteBzrDir(transport, self)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\remote.py", line 110, in __init__
    response = self._call('BzrDir.open', path)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\remote.py", line 54, in _call
    return self._client.call(method, *args)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\client.py", line 129, in call
    result, protocol = self.call_expecting_body(method, *args)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\client.py", line 142, in call_expecting_body
    method, args, expect_response_body=True)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\client.py", line 87, in _call_and_read_response
    readv_body=readv_body, body_stream=body_stream)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\client.py", line 60, in _send_request
    encoder.call(method, *args)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\protocol.py", line 1235, in call
    self._write_end()
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\protocol.py", line 1106, in _write_end
    self.flush()
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\protocol.py", line 1073, in flush
    self._real_write_func(''.join(self._buf))
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\medium.py", line 390, in accept_bytes
    self._accept_bytes(bytes)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\medium.py", line 909, in _accept_bytes
    self._medium._accept_bytes(bytes)
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\medium.py", line 763, in _accept_bytes
    self._ensure_connection()
  File "E:\opt\python-2.5\Lib\site-packages\bzrlib\smart\medium.py", line 787, in _en...

Read more...

tags: added: mysql
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.