bzr crashed with DBusException in __new__(): org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Bug #730058 reported by David Planella
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bzr-dbus
New
Undecided
Unassigned
bzr-dbus (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: bzr

I was just trying to build a .deb package for bzr-gtk using the packaging from [1] to test a branch [2] to add i18n support to it, and I got this crash when I ran 'debuild -uc -us -b'.

[1] http://bzr.debian.org/pkg-bazaar/bzr-gtk/unstable
[2] https://code.launchpad.net/~dpm/bzr-gtk/i18n

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: bzr 2.3.0-2
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.3.0
CommandLine: ['/usr/bin/bzr', 'selftest', '-s', 'bp.gtk']
CrashDb: bzr
Date: Sun Mar 6 11:16:23 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InterpreterPath: /usr/bin/python2.7
Locale: ca_ES.UTF-8
PackageArchitecture: all
Platform: Linux-2.6.38-5-generic-i686-with-Ubuntu-11.04-natty
ProcCmdline: /usr/bin/python /usr/bin/bzr selftest -s bp.gtk
ProcEnviron:
 PATH=(custom, no user)
 LANG=ca_ES.UTF-8
 LC_MESSAGES=ca_ES.utf8@valencia
PythonVersion: 2.7.1
SourcePackage: bzr
Title: bzr crashed with DBusException in __new__(): org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
UpgradeStatus: Upgraded to natty on 2011-02-09 (24 days ago)
UserEncoding: UTF-8
UserGroups:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/bzrlib/commands.py", line 923, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/bzrlib/commands.py", line 1123, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/pymodules/python2.7/bzrlib/commands.py", line 691, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/pymodules/python2.7/bzrlib/commands.py", line 710, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/bzrlib/builtins.py", line 3722, in run
    result = tests.selftest(**selftest_kwargs)
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/__init__.py", line 3501, in selftest
    suite = test_suite(keep_only, starting_with)
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/__init__.py", line 3986, in test_suite
    plugin_suite = plugin.load_plugin_tests(loader)
  File "/usr/lib/pymodules/python2.7/bzrlib/plugin.py", line 518, in load_plugin_tests
    return loader.loadTestsFromModule(self.module)
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 152, in loadTestsFromModule
    return load_tests(basic_tests, module, self)
  File "/home/username/delbzr-gtk/i18n/__init__.py", line 190, in load_tests
    ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 109, in loadTestsFromModuleNames
    result.addTests(self.loadTestsFromModuleName(name))
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 182, in loadTestsFromModuleName
    return TestLoader.loadTestsFromModuleName(self, name)
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 116, in loadTestsFromModuleName
    result.addTests(self.loadTestsFromModule(module))
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 152, in loadTestsFromModule
    return load_tests(basic_tests, module, self)
  File "/home/username/delbzr-gtk/i18n/tests/__init__.py", line 29, in load_tests
    ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 109, in loadTestsFromModuleNames
    result.addTests(self.loadTestsFromModuleName(name))
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 182, in loadTestsFromModuleName
    return TestLoader.loadTestsFromModuleName(self, name)
  File "/usr/lib/pymodules/python2.7/bzrlib/tests/TestUtil.py", line 114, in loadTestsFromModuleName
    module = pyutils.get_named_object(name)
  File "/usr/lib/pymodules/python2.7/bzrlib/pyutils.py", line 57, in get_named_object
    __import__(module_name, globals(), locals(), [])
  File "/home/username/delbzr-gtk/i18n/tests/test_annotate_config.py", line 23, in <module>
    from bzrlib.plugins.gtk.annotate import (
  File "/home/username/delbzr-gtk/i18n/annotate/gannotate.py", line 31, in <module>
    from bzrlib.plugins.gtk.revisionview import RevisionView
  File "/home/username/delbzr-gtk/i18n/revisionview.py", line 36, in <module>
    from bzrlib.plugins.gtk import seahorse
  File "/home/username/delbzr-gtk/i18n/seahorse.py", line 32, in <module>
    bus = dbus.SessionBus()
  File "/usr/lib/pymodules/python2.7/dbus/_dbus.py", line 219, in __new__
    mainloop=mainloop)
  File "/usr/lib/pymodules/python2.7/dbus/_dbus.py", line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/pymodules/python2.7/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Revision history for this message
David Planella (dpm) wrote :
description: updated
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Julian Taylor (jtaylor) wrote :

disabling:
BZR_PLUGINS_AT=gtk@$(CURDIR) xvfb-run /usr/bin/bzr selftest -s bp.gtk
in debian/rules makes the build work.

possibly the some timeout is to low, the selftest takes 5 seconds on my machine, but it succeeds.

Revision history for this message
John A Meinel (jameinel) wrote :

Not a bug in the 'bzr' package. This is part of 'bzr-dbus' which I believe is a Requires from "bzr-gtk".

Changed in bzr (Ubuntu):
status: New → Invalid
Jelmer Vernooij (jelmer)
affects: bzr (Ubuntu) → bzr-dbus (Ubuntu)
Changed in bzr-dbus (Ubuntu):
status: Invalid → Confirmed
Martin Pool (mbp)
description: updated
Changed in bzr-dbus (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.