I see this fairly often (I guess once per session) when running selftest
on my Jaunty machine.  Running the tests again fixes it.

I wonder if bzr-gtk should retry just once if it sees this exception, as
a workaround.

** Description changed:

- Strangely, it was just this branch that failed; bzr viz works in my
- mainline.
+ Various bzr-gtk commands can fail to start because of a dbus error.
+ Repeating the command will typically fix the problem.
  
- AfC
- 
- moonglow ~/vcs/java-gnome/vreixo-old-changes $ bzr viz
- /home/andrew/.bazaar/plugins/gtk/ui.py:224: DeprecationWarning: 
bzrlib.progress.ProgressBarStack was deprecated in version 1.12.
-   self._progress_bar_stack = progress.ProgressBarStack(klass=widget)
+ m...@grace% ./bzr selftest TestReconfigureStacking
  bzr: ERROR: dbus.exceptions.DBusException: 
org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown 
return code 0
  
  Traceback (most recent call last):
-   File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 727, in 
exception_to_return_code
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/commands.py", line 
835, in exception_to_return_code
      return the_callable(*args, **kwargs)
-   File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 922, in 
run_bzr
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/commands.py", line 
1030, in run_bzr
      ret = run(*run_argv)
-   File "/usr/lib/python2.6/site-packages/bzrlib/commands.py", line 559, in 
run_argv_aliases
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/commands.py", line 
647, in run_argv_aliases
      return self.run(**all_cmd_args)
-   File "/home/andrew/.bazaar/plugins/gtk/commands.py", line 189, in run
-     pp = start_viz_window(br, revids, limit)
-   File "/home/andrew/.bazaar/plugins/gtk/commands.py", line 157, in 
start_viz_window
-     from bzrlib.plugins.gtk.viz import BranchWindow
-   File "/home/andrew/.bazaar/plugins/gtk/viz/__init__.py", line 14, in 
<module>
-     from branchwin import BranchWindow
-   File "/home/andrew/.bazaar/plugins/gtk/viz/branchwin.py", line 18, in 
<module>
-     from bzrlib.plugins.gtk.tags import AddTagDialog
-   File "/home/andrew/.bazaar/plugins/gtk/tags.py", line 27, in <module>
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/builtins.py", line 
3474, in run
+     result = selftest(**selftest_kwargs)
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/__init__.py", 
line 3146, in selftest
+     suite = test_suite(keep_only, starting_with)
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/__init__.py", 
line 3586, in test_suite
+     plugin_suite = plugin.load_plugin_tests(loader)
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/plugin.py", line 383, 
in load_plugin_tests
+     return loader.loadTestsFromModule(self.module)
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/TestUtil.py", 
line 129, in loadTestsFromModule
+     return load_tests(basic_tests, module, self)
+   File "/home/mbp/.bazaar/plugins/gtk/__init__.py", line 190, in load_tests
+     ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/TestUtil.py", 
line 92, in loadTestsFromModuleNames
+     result.addTests(self.loadTestsFromModuleName(name))
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/TestUtil.py", 
line 99, in loadTestsFromModuleName
+     result.addTests(self.loadTestsFromModule(module))
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/TestUtil.py", 
line 129, in loadTestsFromModule
+     return load_tests(basic_tests, module, self)
+   File "/home/mbp/.bazaar/plugins/gtk/tests/__init__.py", line 31, in 
load_tests
+     ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/TestUtil.py", 
line 92, in loadTestsFromModuleNames
+     result.addTests(self.loadTestsFromModuleName(name))
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/TestUtil.py", 
line 97, in loadTestsFromModuleName
+     module = _load_module_by_name(name)
+   File "/home/mbp/bzr/391411-reconfigure-stacked/bzrlib/tests/TestUtil.py", 
line 166, in _load_module_by_name
+     module = __import__(mod_name)
+   File "/home/mbp/.bazaar/plugins/gtk/tests/test_annotate_config.py", line 
23, in <module>
+     from bzrlib.plugins.gtk.annotate import (
+   File "/home/mbp/.bazaar/plugins/gtk/annotate/gannotate.py", line 31, in 
<module>
      from bzrlib.plugins.gtk.revisionview import RevisionView
-   File "/home/andrew/.bazaar/plugins/gtk/revisionview.py", line 33, in 
<module>
+   File "/home/mbp/.bazaar/plugins/gtk/revisionview.py", line 36, in <module>
      from bzrlib.plugins.gtk import seahorse
-   File "/home/andrew/.bazaar/plugins/gtk/seahorse.py", line 33, in <module>
+   File "/home/mbp/.bazaar/plugins/gtk/seahorse.py", line 33, in <module>
      crypto = dbus.Interface(bus.get_object(BUS_NAME, CRYPTO_PATH),
-   File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 244, in get_object
+   File "/var/lib/python-support/python2.6/dbus/bus.py", line 244, in 
get_object
      follow_name_owner_changes=follow_name_owner_changes)
-   File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 241, in 
__init__
+   File "/var/lib/python-support/python2.6/dbus/proxies.py", line 241, in 
__init__
      self._named_service = conn.activate_name_owner(bus_name)
-   File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 183, in 
activate_name_owner
+   File "/var/lib/python-support/python2.6/dbus/bus.py", line 183, in 
activate_name_owner
      self.start_service_by_name(bus_name)
-   File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 281, in 
start_service_by_name
+   File "/var/lib/python-support/python2.6/dbus/bus.py", line 281, in 
start_service_by_name
      'su', (bus_name, flags)))
-   File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in 
call_blocking
+   File "/var/lib/python-support/python2.6/dbus/connection.py", line 622, in 
call_blocking
      message, timeout)
  DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper 
exited with unknown return code 0
- 
- bzr 1.14.1 on python 2.6.2 (linux2)
- arguments: ['/usr/bin/bzr', 'viz']
- encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_CA.UTF-8'
- plugins:
-   gtk                  /home/andrew/.bazaar/plugins/gtk [0.96.0.dev.1]
-   launchpad            
/usr/lib/python2.6/site-packages/bzrlib/plugins/launchpad [unknown]
-   netrc_credential_store 
/usr/lib/python2.6/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
-   push_and_update      /home/andrew/.bazaar/plugins/push_and_update [0.2dev]

-- 
bzr visualize crashed with DBus error
https://bugs.launchpad.net/bugs/377476
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to seahorse in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to