Cannot send file from Gajim to Conversations (same user, different resource)
I have Gajim nightly installed on Debian testing. I have Conversations on my phone logged in with the same user (for mobility). Sometimes i use it to quickly transfer files between the devices. In the latest nightly version i found out that i cannot send files from Gajim->Conversations with my user. it was working before with the Debian's 16.8 version.
If i right-click the username in the roster, i see 2 resources (i have it logged in on 3 devices, Gajim Nightly on my home desktop and my work laptop, Conversations on my phone).
Right-click - start chat i have both active in the menu Right-click - file transfer shows only the desktop resource active, the phone is greyed out
If i start a text chat with the phone resource i can click on the file transfer icon at the bottom of the window, it opens but if i select a file and click Send i have the following error in a window:
Traceback (most recent call last): File "/usr/share/gajim/src/dialogs.py", line 1495, in on_dialog_response self.response_ok(dialog) File "/usr/share/gajim/src/filetransfers_window.py", line 305, in on_ok if self.send_file(account, contact, file_path, desc) \ File "/usr/share/gajim/src/filetransfers_window.py", line 360, in send_file file_props) File "/usr/share/gajim/src/common/jingle.py", line 168, in start_file_transfer jingle.start_session() File "/usr/share/gajim/src/common/jingle_session.py", line 300, in start_session self.on_session_state_changed() File "/usr/share/gajim/src/common/jingle_session.py", line 256, in on_session_state_changed self.__session_initiate() File "/usr/share/gajim/src/common/jingle_session.py", line 720, in __session_initiate self.__broadcast(stanza, jingle, None, 'session-initiate-sent') File "/usr/share/gajim/src/common/jingle_session.py", line 590, in __broadcast cn.on_stanza(stanza, content, error, action) File "/usr/share/gajim/src/common/jingle_content.py", line 116, in on_stanza callback(stanza, content, error, action) File "/usr/share/gajim/src/common/jingle_content.py", line 166, in __fill_jingle_stanza self._fill_content(content) File "/usr/share/gajim/src/common/jingle_content.py", line 200, in _fill_content h = self._calcHash() File "/usr/share/gajim/src/common/jingle_ft.py", line 183, in _calcHash h.addHash(hash_, self.file_props.algo) File "/usr/lib/python2.7/dist-packages/nbxmpp/simplexml.py", line 508, in __getattr__ raise AttributeError AttributeError
Installed gajim-nightly and python-nbxmpp-nightly versions:
$ apt-cache policy python-nbxmpp-nightly gajim-nightly python-nbxmpp-nightly: Installed: 20170813-1 Candidate: 20170813-1 Version table: *** 20170813-1 100 2 ftp://ftp.gajim.org/debian unstable/main amd64 Packages 2 ftp://ftp.gajim.org/debian unstable/main i386 Packages 2 ftp://ftp.gajim.org/debian unstable/main all Packages 100 /var/lib/dpkg/status gajim-nightly: Installed: 20170814-1 Candidate: 20170814-1 Version table: *** 20170814-1 100 2 ftp://ftp.gajim.org/debian unstable/main amd64 Packages 2 ftp://ftp.gajim.org/debian unstable/main i386 Packages 2 ftp://ftp.gajim.org/debian unstable/main all Packages 100 /var/lib/dpkg/status