[Pkg-bazaar-maint] Bug#503834: bzr: Gives 'internal error' with bzr commit
Andrew Walker
a.walker at ucl.ac.uk
Tue Oct 28 15:43:30 UTC 2008
Package: bzr
Version: 1.5-1.1
Severity: normal
bzr commit gives dbus.exceptions.DBusException, dumps a python backtrace,
asks me to report an internal error and leaves the working tree out of in
an out of date state. bzr update brings things back up to date.
For example:
andreww at boa:~/Code/Siesta-branches/cml-comp$ bzr status
modified:
Docs/CHANGES.cml-comp
Src/m_ts_kpoints.F90
Src/siesta_options.F90
version.info
andreww at boa:~/Code/Siesta-branches/cml-comp$ bzr commit
Committing to: /home/andreww/Code/Siesta-branches/cml-comp/
modified version.info
modified Docs/CHANGES.cml-comp
modified Src/m_ts_kpoints.F90
modified Src/siesta_options.F90
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 "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2364, in run
author=author)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 240, in commit
result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 197, in commit
revprops=revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 395, in commit
self.branch.set_last_revision_info(new_revno, self.rev_id)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1913, in set_last_revision_info
self._run_post_change_branch_tip_hooks(old_revno, old_revid)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1431, in _run_post_change_branch_tip_hooks
hook(params)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/hook.py", line 50, in on_post_change_branch_tip
activity.Activity().advertise_branch(params.branch)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py", line 57, in __init__
self.bus = _get_bus(bus)
File "/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/activity.py", line 42, in _get_bus
return dbus.SessionBus()
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in __new__
mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, 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 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'commit']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.5.0]
dbus /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [unknown]
gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.94.0]
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3.0]
*** 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.
andreww at boa:~/Code/Siesta-branches/cml-comp$ bzr status
working tree is out of date, run 'bzr update'
modified:
Docs/CHANGES.cml-comp
Src/m_ts_kpoints.F90
Src/siesta_options.F90
version.info
andreww at boa:~/Code/Siesta-branches/cml-comp$ bzr update
All changes applied successfully.
Updated to revision 272.
This looks like this bug: https://bugs.launchpad.net/bzr-dbus/+bug/242978 upstream.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bzr depends on:
ii libc6 2.7-14 GNU C Library: Shared libraries
ii python 2.5.2-2 An interactive high-level object-o
ii python-central 0.6.8 register and build utility for Pyt
Versions of packages bzr recommends:
ii bzrtools 1.5.0-1 Collection of tools for bzr
ii python-paramiko 1.7.4-0.1 Make ssh v2 connections with pytho
Versions of packages bzr suggests:
ii bzr-gtk 0.94.0-1 provides graphical interfaces to B
pn bzr-svn <none> (no description available)
pn python-pycurl <none> (no description available)
ii xdg-utils 1.0.2-6 desktop integration utilities from
-- no debconf information
More information about the Pkg-bazaar-maint
mailing list