Your message dated Sun, 24 Nov 2013 18:49:06 +0000
with message-id <[email protected]>
and subject line Bug#701994: fixed in gajim 0.15.4-2
has caused the Debian Bug report #701994,
regarding gajim: fails to start without a Recommends installed, with solution
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
701994: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701994
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gajim
Version: 0.15.1-4
Severity: normal
Tags: patch

Hi,

please look at the following transcript: gajim fails to come up
when dbus, which (thank the gods!) is only a Recommends, is not
installed.

-----BEGIN cutting here may damage your screen surface-----
tg@keks:~ $ gajim
D-Bus python bindings are missing in this computer
D-Bus capabilities of Gajim cannot be used
creating /home/tg/.config/gajim directory
creating /home/tg/.config/gajim/pluginsconfig directory
process 22497: D-Bus library appears to be incorrectly set up; failed to read 
machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.

(gajim:22497): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
/usr/bin/dbus-launch terminated abnormally without any error message
Traceback (most recent call last):
  File "gajim.py", line 447, in <module>
    interface = Interface()
  File "/usr/share/gajim/src/gui_interface.py", line 2623, in __init__
    gtkgui_helpers.possibly_set_gajim_as_xmpp_handler()
  File "/usr/share/gajim/src/gtkgui_helpers.py", line 752, in 
possibly_set_gajim_as_xmpp_handler
    old_command = client.get_string('/desktop/gnome/url-handlers/xmpp/command')
glib.GError: No D-BUS daemon running

1|tg@keks:~ $ echo check_if_gajim_is_default = False >.config/gajim/config
tg@keks:~ $ gajim
D-Bus python bindings are missing in this computer
D-Bus capabilities of Gajim cannot be used
process 23110: D-Bus library appears to be incorrectly set up; failed to read 
machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.

(gajim:23110): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
/usr/bin/dbus-launch terminated abnormally without any error message
The program 'gajim' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 242 error_code 1 request_code 153 minor_code 33)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
-----END cutting here may damage your screen surface-----

The error at the end is Gtk creating a screen request that my
X server cannot handle (I’ve logged in via ssh -YC), so ignore
that for now, that’s a different and probably separate issue.

The error lies here:

    I /usr/share/gajim/src/gui_interface.py(Read only)                   
R2622<2955 C75 115745|1C421u|0027 13:58
 2621         # Is Gajim default app?
 2622         if os.name != 'nt' and 
gajim.config.get('check_if_gajim_is_default'):
 2623             gtkgui_helpers.possibly_set_gajim_as_xmpp_handler()

A possible patch looks like this:

--- /usr/share/gajim/src/gui_interface.py       2013-03-01 14:00:11.028061984 
+0100
+++ -   2013-03-01 14:00:18.016299734 +0100
@@ -2619,7 +2619,7 @@ class Interface:
             logging_helpers.set_verbose()
 
         # Is Gajim default app?
-        if os.name != 'nt' and gajim.config.get('check_if_gajim_is_default'):
+        if os.name != 'nt' and gajim.config.get('check_if_gajim_is_default') 
and dbus_support.supported:
             gtkgui_helpers.possibly_set_gajim_as_xmpp_handler()
 
         for account in gajim.config.get_per('accounts'):

I confirm that this patch works. Please apply it (Debian and upstream).

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh

Versions of packages gajim depends on:
ii  dnsutils     1:9.8.4.dfsg.P1-5
ii  python       2.7.3-4
ii  python-gtk2  2.24.0-3+b1

Versions of packages gajim recommends:
pn  dbus                 <none>
ii  notification-daemon  0.7.6-1
ii  python-crypto        2.6-4
pn  python-dbus          <none>
ii  python-openssl       0.13-2
ii  python-pyasn1        0.1.3-1

Versions of packages gajim suggests:
ii  aspell-en                   7.1-0-1
pn  avahi-daemon                <none>
pn  dvipng                      <none>
pn  gnome-keyring               <none>
ii  gstreamer0.10-plugins-ugly  0.10.19-2+b2
ii  libgtkspell0                2.0.16-1
pn  nautilus-sendto             <none>
pn  network-manager             <none>
pn  python-avahi                <none>
pn  python-farstream            <none>
ii  python-gconf                2.28.1+dfsg-1
pn  python-gnome2               <none>
ii  python-gnomekeyring         2.32.0+dfsg-2+b1
ii  python-gupnp-igd            0.2.1-2
pn  python-kerberos             <none>
ii  python-pycurl               7.19.0-5
ii  texlive-latex-base          2012.20120611-5

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: gajim
Source-Version: 0.15.4-2

We believe that the bug you reported is fixed in the latest version of
gajim, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tanguy Ortolo <[email protected]> (supplier of updated gajim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Nov 2013 18:58:51 +0100
Source: gajim
Binary: gajim
Architecture: source all
Version: 0.15.4-2
Distribution: unstable
Urgency: low
Maintainer: Tanguy Ortolo <[email protected]>
Changed-By: Tanguy Ortolo <[email protected]>
Description: 
 gajim      - GTK+-based Jabber client
Closes: 701994 727037 729568
Changes: 
 gajim (0.15.4-2) unstable; urgency=low
 .
   * debian/control:
      - turn dbus into a Depends rather than a Recommends, as Gajim does not
        seem to work without it. (Closes: #701994)
      - use a secure URL for Gajim homepage (but not for VCS web interface,
        sorry). (Closes: #727037)
      - recommend ca-certificates.
   * debian/rules: remove cacerts.pem, replaced by certificates from
     ca-certificates. (Closes: #729568)
Checksums-Sha1: 
 b9d5a55101e4019f1a62a7ca63be29369aeb26f4 1885 gajim_0.15.4-2.dsc
 e778642e58417c276bf1a200ab8d45982b8e9ef1 8929 gajim_0.15.4-2.debian.tar.gz
 04714f02d1556a521e95f397da07969091228398 4758910 gajim_0.15.4-2_all.deb
Checksums-Sha256: 
 a27035a1065a14806b1002caa30066d82132a5f4cba5cfc84d140d5a9b5fd1fb 1885 
gajim_0.15.4-2.dsc
 f180e0a8d9765a1e4d1ba70e7aefe4f2c0fb384d46c43fd1fa8fe980131f5de3 8929 
gajim_0.15.4-2.debian.tar.gz
 6a1472f13412b2bc5f35ace072b4b73eba1dfdd5f5726ed9c30c41ebb7ff11ba 4758910 
gajim_0.15.4-2_all.deb
Files: 
 1ea2c104df0e62e5d07a096ff2004d95 1885 net optional gajim_0.15.4-2.dsc
 4de765de69387060ee408bee320272ba 8929 net optional gajim_0.15.4-2.debian.tar.gz
 8a3035f70c9a0541ad06f3d1b23c95c5 4758910 net optional gajim_0.15.4-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCgAGBQJSkkVQAAoJEOryzVHFAGgZvugP/R2ci+M1qyfb8m+VzJynK2SF
pjmD+JDolF4L3dn+3m1Tp0KIOq83bn0H9p+pIGv/iBlUo2c08fdrwDCulh2bgi6R
r3ty4DhwgqoYELZNkZV48FCz5ZECWlYxSCzhabxqBf2WkX9yQHLiV+7/QLmC/3c7
pNZoKtd+KCjNzoAn25muRgOaYKC+nMs5MwHz0vYSKgubG6n9U4ySTYDpFybu/oOv
6UFo6KhtRhO8ZaSlpa4dhJ01ptyKNjWEFr05q/Lew7rwXpr7Ui2x0pgxze+wtwYz
TytumTWNxmpRMC8bKasbjoSvFc4E21opcOOJpSoEkYJBWKwo2RPImhYMmAas4TT9
uTApIeRzzRl/PRyXp09Nv3d+fmf3F7+MSaFMHdwQJdIEZzdGfxftlpg/dAGDIoKU
OBPQOIUBViuvijjGdPqdZjY/3fbs0dUccSPh6hBWd8zX9gJNGzbHMvIcW2HiXF6s
38PdkmV0IDWQpIvEeRnGc5rXScTHHChUtaD4cnDGHCPgNvZZOc7fxYY4KCcm08zy
PDcMdbQa2ewlKunmUaL1+q5LUS2Po/tTZNmFIGZZUM0T+rvUrMwc6p8OW4KzN0aj
3h7tbA2b+Z9GmdTRfwyBYFh78acUCio5fz12+1+TvbAelNQgvCP4i27wdNBhNs4E
JVlsT/ysrj3czX8txyjU
=sNUo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to