bzr crashed whilst init remote location

Bug #616291 reported by Oupamster
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

I ran

bzr init-repo --no-trees sftp://192.168.10.10/usr/bzr

then it crashed. crash file attached.
tnx

Revision history for this message
Oupamster (oupamster) wrote :
Revision history for this message
Alexander Belchenko (bialix) wrote :
Download full text (3.1 KiB)

Traceback:

BzrPlugins:
   builder /usr/lib/python2.6/dist-packages/bzrlib/plugins/builder [unknown]
   bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.1.0]
   dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [0.1.0dev]
   gtk /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk [0.98.0.final.1]
   launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.1.1]
   netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.1.1]
   news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.1.1]
   upload /usr/lib/python2.6/dist-packages/bzrlib/plugins/upload [1.0.0dev]
BzrVersion: 2.1.1
CommandLine: ['/usr/bin/bzr', 'init-repo', '--no-trees', 'sftp://192.168.10.10/usr/bzr/']
Date: Wed Aug 11 12:07:10 2010
FileSystemEncoding: UTF-8
Locale: en_ZA.utf8
Platform: Linux-2.6.32-24-generic-i686-with-Ubuntu-10.04-lucid
PythonVersion: 2.6.5
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 1817, in run
     to_transport.ensure_base()
   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 368, in ensure_base
     self.mkdir('.')
   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/sftp.py", line 662, in mkdir
     self._mkdir(self._remote_path(relpath), mode=mode)
   File "/usr/lib/python2.6/dist-packages/bzrlib/transport/sftp.py", line 638, in _mkdir
     self._get_sftp().mkdir(abspath, local_mode)
   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...

Read more...

Revision history for this message
Alexander Belchenko (bialix) wrote :

according to traceback the problem comes from bzr-gtk.

As workaround you can run `bzr --no-plugins init ...`

affects: bzr → bzr-gtk
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This bug has already been fixed and is a dupe, though I can't find the original at the moment.

Changed in bzr-gtk:
status: New → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr-gtk:
status: Fix Committed → 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.