internal error occurs on bzr visualise

Bug #375537 reported by René Brandenburger
This bug report is a duplicate of:  Bug #377476: bzr visualize crashed with DBus error. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
New
Undecided
Unassigned

Bug Description

after upgrading bzr to 1.14.1, bzr visualise fails always for the first call, the following calls succeed successfully.

here the stacktrace :

bzr visualise
/home/myhome/.bazaar/plugins/gtk/ui.py:224: DeprecationWarning: bzrlib.progress.ProgressBarStack was deprecated in version 1.12.
  self._progress_bar_stack = progress.ProgressBarStack(klass=widget)
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/dist-packages/bzrlib/commands.py", line 727, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 922, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 559, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/myhome/.bazaar/plugins/gtk/commands.py", line 189, in run
    pp = start_viz_window(br, revids, limit)
  File "/home/myhome/.bazaar/plugins/gtk/commands.py", line 157, in start_viz_window
    from bzrlib.plugins.gtk.viz import BranchWindow
  File "/home/myhome/.bazaar/plugins/gtk/viz/__init__.py", line 14, in <module>
    from branchwin import BranchWindow
  File "/home/myhome/.bazaar/plugins/gtk/viz/branchwin.py", line 18, in <module>
    from bzrlib.plugins.gtk.tags import AddTagDialog
  File "/home/myhome/.bazaar/plugins/gtk/tags.py", line 27, in <module>
    from bzrlib.plugins.gtk.revisionview import RevisionView
  File "/home/myhome/.bazaar/plugins/gtk/revisionview.py", line 33, in <module>
    from bzrlib.plugins.gtk import seahorse
  File "/home/myhome/.bazaar/plugins/gtk/seahorse.py", line 33, in <module>
    crypto = dbus.Interface(bus.get_object(BUS_NAME, CRYPTO_PATH),
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/var/lib/python-support/python2.6/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  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', 'visualise']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_LU.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.14]
  dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [unknown]
  difftools /home/myhome/.bazaar/plugins/difftools [0.91]
  gtk /home/myhome/.bazaar/plugins/gtk [0.96.0.dev.1]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [unknown]
  search /home/myhome/.bazaar/plugins/search [1.7dev]
  stats /usr/lib/python2.6/dist-packages/bzrlib/plugins/stats [unknown]
  xmloutput /home/myhome/.bazaar/plugins/xmloutput [0.8.3]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
Colin D Bennett (colinb) wrote :
Download full text (7.8 KiB)

I can confirm this bug. It's been bothering me for a while now.

In the following error log, I first ran 'bzr viz' and it failed, then I re-ran it again and it succeeded.

cdb@deagle:~/mls-work/mls-cdb-int$ bzr viz vsc/src/com/venture/vsc/network/HeadNodeConnected.java
/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/ui.py:224: DeprecationWarning: bzrlib.progress.ProgressBarStack was deprecated in version 1.12.
  self._progress_bar_stack = progress.ProgressBarStack(klass=widget)
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/dist-packages/bzrlib/commands.py", line 727, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 922, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 559, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/commands.py", line 189, in run
    pp = start_viz_window(br, revids, limit)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/commands.py", line 157, in start_viz_window
    from bzrlib.plugins.gtk.viz import BranchWindow
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/viz/__init__.py", line 14, in <module>
    from branchwin import BranchWindow
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/viz/branchwin.py", line 18, in <module>
    from bzrlib.plugins.gtk.tags import AddTagDialog
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/tags.py", line 27, in <module>
    from bzrlib.plugins.gtk.revisionview import RevisionView
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/revisionview.py", line 33, in <module>
    from bzrlib.plugins.gtk import seahorse
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk/seahorse.py", line 33, in <module>
    crypto = dbus.Interface(bus.get_object(BUS_NAME, CRYPTO_PATH),
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/var/lib/python-support/python2.6/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  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', 'vsc/src/com/venture/vsc/network/HeadNodeConnected.java']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.14]
  dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [unknown]
  g...

Read more...

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.