Package: dragbox
Version: 0.3.0-1
Severity: normal

Dragbox 0.3.0 does not handle dbus unavailibility appropriately.

We want to avoid the following:

Traceback (most recent call last):
  File "/usr/bin/dragbox", line 77, in ?
    dragbox()
  File "/var/lib/python-support/python2.4/Dragbox/main.py", line 63, in __init__
    self.dbus_connection = self.get_dbus_connection()
  File "/var/lib/python-support/python2.4/Dragbox/main.py", line 260, in 
get_dbus_connection
    dclient = dbuscontrol.Connection(self.identifier)
  File "/var/lib/python-support/python2.4/Dragbox/dbuscontrol.py", line 180, in 
__init__
    bus = dbus.SessionBus()
  File "/var/lib/python-support/python2.4/dbus/_dbus.py", line 217, in __new__
    mainloop=mainloop)
  File "/var/lib/python-support/python2.4/dbus/_dbus.py", line 106, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/var/lib/python-support/python2.4/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: 
dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 
initialization failed.

To reproduce:
Start a GNU Screen session in your Gnome session. Log out, log in, reattach and
try to run dragbox


Note that this is a maintainer-filed bug:
1. More fun for me
2. Keep the old version in testing*

* The new version also have new features though. Please tell me if I'm being
too conservative.

Ulrik Sverdrup

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.24-1-powerpc
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dragbox depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-dbus                   0.82.4-2   simple interprocess messaging syst
ii  python-glade2                 2.12.1-1   GTK+ bindings: Glade support
ii  python-gnome2                 2.20.1-2   Python bindings for the GNOME desk
ii  python-support                0.7.7      automated rebuilding support for P

dragbox recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to