Package: gajim
Version: 0.11.4-1
Severity: normal
File: /usr/bin/gajim-remote

Hi,
gajim-remote does not gracefully exit if gajim is not running (i.e. not
listening to dbus)

$ gajim-remote list_accounts
Traceback (most recent call last):
  File "gajim-remote.py", line 487, in ?
    GajimRemote()
  File "gajim-remote.py", line 264, in __init__
    self.init_connection()
  File "gajim-remote.py", line 327, in init_connection
    obj = self.sbus.get_object(SERVICE, OBJ_PATH)
  File "/var/lib/python-support/python2.4/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/var/lib/python-support/python2.4/dbus/proxies.py", line 241, in 
__init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/var/lib/python-support/python2.4/dbus/bus.py", line 183, in 
activate_name_owner
    self.start_service_by_name(bus_name)
  File "/var/lib/python-support/python2.4/dbus/bus.py", line 281, in 
start_service_by_name
    'su', (bus_name, flags)))
  File "/var/lib/python-support/python2.4/dbus/connection.py", line 606, in 
call_blocking
    reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The 
name org.gajim.dbus was not provided by any .service files

also, it would be great to have an option to check if gajim is running
like gajim-remote check_running and exit accordingly.

thanks,
filippo

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc7-macbook (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages gajim depends on:
ii  dnsutils                      1:9.4.2-3  Clients provided with BIND
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-glade2                 2.12.1-1   GTK+ bindings: Glade support
ii  python-gtk2                   2.12.1-1   Python bindings for the GTK+ widge
ii  python-pysqlite2              2.4.0-2    python interface to SQLite 3
ii  python-support                0.7.6      automated rebuilding support for p

Versions of packages gajim recommends:
ii  dbus                          1.1.2-1    simple interprocess messaging syst
ii  notification-daemon           0.3.7-1+b1 a daemon that displays passive pop
ii  python-dbus                   0.82.4-1   simple interprocess messaging syst
ii  python-gnupginterface         0.3.2-9    Python interface to GnuPG (GPG)

-- no debconf information



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

Reply via email to