affects /products/bzr-dbus
When run from the console, bzr-dbus causes 'bzr up' to fail:
bzr: ERROR: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
Traceback (most recent call last):
File "/data/jelmer/bzr/bzr.dev/bzrlib/commands.py", line 800, in run_bzr_catch_errors
return run_bzr(argv)
File "/data/jelmer/bzr/bzr.dev/bzrlib/commands.py", line 758, in run_bzr
ret = run(*run_argv)
File "/data/jelmer/bzr/bzr.dev/bzrlib/commands.py", line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/data/jelmer/bzr/bzr.dev/bzrlib/builtins.py", line 1039, in run
possible_transports=possible_transports)
File "/data/jelmer/bzr/bzr.dev/bzrlib/workingtree.py", line 2058, in update
old_tip = self.branch.update(possible_transports)
File "/data/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/data/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1793, in update
self.pull(master, overwrite=True)
File "/data/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/data/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1689, in pull
run_hooks=run_hooks)
File "/data/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/data/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1488, in pull
self.generate_revision_history(stop_revision)
File "/data/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/data/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1431, in generate_revision_history
last_rev, other_branch))
File "/data/jelmer/bzr/bzr.dev/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/data/jelmer/bzr/bzr.dev/bzrlib/branch.py", line 1371, in set_revision_history
hook(self, rev_history)
File "/home/jelmer/.bazaar/dev-plugins/dbus/hook.py", line 41, in on_set_rh
activity.Activity().advertise_branch(branch)
File "/home/jelmer/.bazaar/plugins/dbus/activity.py", line 57, in __init__
self.bus = _get_bus(bus)
File "/home/jelmer/.bazaar/plugins/dbus/activity.py", line 42, in _get_bus
return dbus.SessionBus()
File "/var/lib/python-support/python2.4/dbus/_dbus.py", line 216, in __new__
mainloop=mainloop)
File "/var/lib/python-support/python2.4/dbus/_dbus.py", line 105, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/var/lib/python-support/python2.4/dbus/bus.py", line 121, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.
bzr 0.92.0dev0 on python 2.4.4.final.0 (linux2)
arguments: ['/home/jelmer/bzr/bzr.dev/bzr', 'up']
Thanks for your bug report.
Your bug title was edited to something descriptive since it was empty.