bzr crashes on commit

Bug #298991 reported by Patrick Dempster
This bug report is a duplicate of:  Bug #279486: bzr pull: X11 initialization failed.. Edit Remove
2
Affects Status Importance Assigned to Milestone
bzr-dbus
New
Undecided
Unassigned

Bug Description

When trying to commit on a branch which is bound to another remote one. I get the following error. Anyone any thoughts on what may be happening?

The local machine is this case it runing, centos 4 64 bit:
patrickd ~ $ uname -a
Linux 2.6.9-67.0.1.ELlargesmp #1 SMP Wed Dec 19 15:30:13 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
patrickd ~ $ bzr --version
Bazaar (bzr) 1.6.1
  Python interpreter: /home/patrickd/apps/bin/python 2.4.5
  Python standard library: /home/patrickd/apps/lib/python2.4
  bzrlib: /home/patrickd/apps/lib/python/bzrlib
  Bazaar configuration: /home/patrickd/.bazaar
  Bazaar log file: /home/patrickd/.bzr.log

And the server machine is running ubuntu 8.10:
patrickd@battlestar:~$ uname -a
Linux battlestar 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux
patrickd@battlestar:~$ bzr --version
Bazaar (bzr) 1.6.1
  Python interpreter: /usr/bin/python 2.5.2
  Python standard library: /usr/lib/python2.5
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/patrickd/.bazaar
  Bazaar log file: /home/patrickd/.bzr.log

The output from the error log on the local machine was as follows:

6.321 Using fetch logic to copy between KnitPackRepository('file:///home/patrickd/branches/.bzr/repository/')(<RepositoryFormatKnitPack1>) and KnitPackRepository('bzr+ssh://patrickd@<my_server>/media/WindowsMain/working/.bzr/repository/')(<RepositoryFormatKnitPack1>)
16.428 Traceback (most recent call last):
  File "/home/patrickd/apps/lib/python/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/patrickd/apps/lib/python/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/home/patrickd/apps/lib/python/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/patrickd/apps/lib/python/bzrlib/builtins.py", line 2290, in run
    exclude=safe_relpath_files(tree, exclude))
  File "/home/patrickd/apps/lib/python/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/patrickd/apps/lib/python/bzrlib/workingtree_4.py", line 242, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "/home/patrickd/apps/lib/python/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/patrickd/apps/lib/python/bzrlib/mutabletree.py", line 197, in commit
    revprops=revprops, *args, **kwargs)
  File "/home/patrickd/apps/lib/python/bzrlib/commit.py", line 404, in commit
    self.rev_id)
  File "/home/patrickd/apps/lib/python/bzrlib/decorators.py", line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/patrickd/apps/lib/python/bzrlib/remote.py", line 1610, in set_last_revision_info
    self._translate_error(err)
  File "/home/patrickd/apps/lib/python/bzrlib/remote.py", line 1318, in _translate_error
    self.repository._translate_error(err, branch=self, **context)
    self.repository._translate_error(err, branch=self, **context)
  File "/home/patrickd/apps/lib/python/bzrlib/remote.py", line 365, in _translate_error
    self.bzrdir._translate_error(err, repository=self, **context)
  File "/home/patrickd/apps/lib/python/bzrlib/remote.py", line 96, in _translate_error
    _translate_error(err, bzrdir=self, **context)
  File "/home/patrickd/apps/lib/python/bzrlib/remote.py", line 1602, in set_last_revision_info
    path, self._lock_token, self._repo_lock_token, str(revno), revision_id)
  File "/home/patrickd/apps/lib/python/bzrlib/smart/client.py", line 111, in call
    result, protocol = self.call_expecting_body(method, *args)
  File "/home/patrickd/apps/lib/python/bzrlib/smart/client.py", line 123, in call_expecting_body
    return self._call_and_read_response(
  File "/home/patrickd/apps/lib/python/bzrlib/smart/client.py", line 59, in _call_and_read_response
    return (response_handler.read_response_tuple(
  File "/home/patrickd/apps/lib/python/bzrlib/smart/message.py", line 265, in read_response_tuple
    _translate_error(self.args)
  File "/home/patrickd/apps/lib/python/bzrlib/smart/message.py", line 316, in _translate_error
    raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', 'org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.\n')

16.430 return code 4

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.