Failure to connect to keyring aborts action

Bug #397969 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Confirmed
Medium
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
 importance medium
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpXlgMACgkQJdeBCYSNAANoUQCgpzKcHmgRB+XLLJUl61m8O2DV
jtoAoItk2Cp7ZMpeaEiGLW6w3pvf0JIv
=3LWl
-----END PGP SIGNATURE-----

Revision history for this message
Adrian Wilkins (adrian-wilkins) wrote :

This seems to be because the latest bundled distribution of pygobject for win32 is 2.14, which doesn't import get_application_name from glib in the gobject package. It's present as of 2.16 (in terms of stable releases).

Alas, the package by Kevin Light (with added win32 libraries) also suffers from this problem, even at the 0.96.0 version.

Changed in bzr-gtk:
status: New → Confirmed
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.