bzr 2.1.1 pull command on ubuntu 10.04 crashes with gnomekeyring.IOError

Bug #645875 reported by Johan Groth
This bug report is a duplicate of:  Bug #534326: bzr: ERROR: gnomekeyring.IOError:. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Fix Released
Undecided
Unassigned

Bug Description

Using saved parent location: sftp://panther.local/opt/java_repo/bazaar_module/
bzr: ERROR: gnomekeyring.IOError:

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    attaching the crash file
        /home/xxxxx/.cache/crash/bzr-20100923091056-3189.crash
    and including a description of the problem.

    The crash file is plain text and you can inspect or edit it to remove
    private information.

Traceback:
 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 993, in run
     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

Revision history for this message
Johan Groth (johangroth1) wrote :
Revision history for this message
Andrew Bennetts (spiv) wrote :

You may be able to workaround this with "BZR_DISABLE_PLUGINS=gtk bzr pull ..."

affects: bzr → bzr-gtk
summary: - bzr 2.1.1 pull command on ubuntu 10.04 crashes after push from windows
- xp bzr 2.2.0
+ bzr 2.1.1 pull command on ubuntu 10.04 crashes with gnomekeyring.IOError
description: updated
Revision history for this message
Johan Groth (johangroth1) wrote :

Strangely enough I don't get this crash when I switched to 64bit Ubuntu 10.04.
The pull worked just fine. So this might be an 32bit issue only.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This was fixed in the last release.

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