Comment 8 for bug 992618

Revision history for this message
David Avsajanishvili (avsd05) wrote :

Hi all!

Just installed the security update - and now getting exception each time Gajim receives or sends a message:

{{{

Traceback (most recent call last):
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 528, in _process_events
    return IdleQueue._process_events(self, fd, flags)
  File "/usr/share/gajim/src/common/xmpp/idlequeue.py", line 393, in _process_events
    obj.pollin()
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 414, in pollin
    self._do_receive()
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 600, in _do_receive
    self._on_receive(received)
  File "/usr/share/gajim/src/common/xmpp/transports_nb.py", line 614, in _on_receive
    self.on_receive(data)
  File "/usr/share/gajim/src/common/xmpp/dispatcher_nb.py", line 452, in dispatch
    handler['func'](session, stanza)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 1615, in _messageCB
    jid, invite, tim)
  File "/usr/share/gajim/src/common/connection_handlers.py", line 1628, in _on_message_decrypted
    session.received(frm, msgtxt, tim, encrypted, msg)
  File "/usr/share/gajim/src/session.py", line 268, in received
    first, nickname, msg, focused], advanced_notif_num)
  File "/usr/share/gajim/src/notify.py", line 308, in notify
    helpers.play_sound(snd_event)
  File "/usr/share/gajim/src/common/helpers.py", line 738, in play_sound
    play_sound_file(path_to_soundfile)
  File "/usr/share/gajim/src/common/helpers.py", line 802, in play_sound_file
    exec_command(command)
  File "/usr/share/gajim/src/common/helpers.py", line 387, in exec_command
    gajim.thread_interface(p.wait)
TypeError: __init__() takes exactly 5 arguments (2 given)

}}}

It seems, the patch applied to v. 0.14 is partial. Please, take a look: https://trac.gajim.org/changeset/bc296e96ac10