bzr: ERROR: gnomekeyring.IOError:

Bug #534326 reported by feffemannen
94
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Fix Released
Medium
Jelmer Vernooij
bzr-gtk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

"bzr update" craches with message "bzr: ERROR: gnomekeyring.IOError:".

Traceback:
Mon 2010-03-08 12:19:15 +0100
0.070 bazaar version: 2.1.0
0.070 bzr arguments: [u'update']
0.088 looking for plugins in /home/engstrom/.bazaar/plugins
0.089 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.230 encoding stdout as sys.stdout encoding 'UTF-8'
0.386 opening working tree '/home/engstrom/docs'
0.533 ssh implementation is OpenSSH
0.567 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1390, in run
    possible_transports=possible_transports)
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 140, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 2381, in get_master_branch
    possible_transports=possible_transports)
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 169, in open
    possible_transports=possible_transports)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 843, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 873, in open_from_transport
    redirected)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1644, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 860, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1820, in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1830, in probe_transport
    format_string = transport.get_bytes(".bzr/branch-format")
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/sftp.py", line 435, in get_bytes
    f = self.get(relpath)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/sftp.py", line 425, in get
    f = self._get_sftp().file(path, mode='rb')
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/sftp.py", line 397, in _get_sftp
    connection, credentials = self._create_connection()
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/sftp.py", line 387, in _create_connection
    user = auth.get_user('ssh', self._host, self._port)
  File "/usr/lib/python2.6/dist-packages/bzrlib/config.py", line 1228, in get_user
    path=path, realm=realm)
  File "/usr/lib/python2.6/dist-packages/bzrlib/config.py", line 1157, in get_credentials
    scheme, host, port, user, path, realm)
  File "/usr/lib/python2.6/dist-packages/bzrlib/config.py", line 1337, in get_fallback_credentials
    path, realm)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/keyring.py", line 77, in get_credentials
    gnomekeyring.ITEM_NETWORK_PASSWORD, attrs)
IOError

0.699 Transferred: 0KiB (0.0K/s r:0K w:0K)
0.699 return code 4
-----------------------------------------

Revision history for this message
feffemannen (fredrik-ellborg) wrote :
affects: bzr → bzr-gtk
Jelmer Vernooij (jelmer)
Changed in bzr-gtk:
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
Revision history for this message
Tom Dickson (8-launchpad-bombcar-com) wrote :

I have the same problem on Lucid; the only way I could get around it was to apt-get remove bzr-gtk.

Revision history for this message
Martin Pool (mbp) wrote :

Perhaps we could get this into a bzr-gtk release and into Lucid, and/or get this particular patch ported into lucid?

Jelmer Vernooij (jelmer)
affects: bzr (Ubuntu) → bzr-gtk (Ubuntu)
Changed in bzr-gtk (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-gtk - 0.99.0-1

---------------
bzr-gtk (0.99.0-1) unstable; urgency=low

  [ Jelmer Vernooij ]
  * New upstream release.
   + Ignores IOErrors when requesting credentials from GNOME
     keyring. LP: #534326

  [ Bhavani Shankar R ]
  * Switch to debhelper 7, simplify packaging. Closes: #591351

  [ Jelmer Vernooij ]
  * Bump standards version to 3.9.1.
 -- Andrew Starr-Bochicchio <email address hidden> Fri, 13 Aug 2010 23:09:20 +0200

Changed in bzr-gtk (Ubuntu):
status: Confirmed → Fix Released
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.