gajim issueshttps://dev.gajim.org/gajim/gajim/-/issues2017-08-06T00:57:09Zhttps://dev.gajim.org/gajim/gajim/-/issues/8605Missing icons gtk-stop, gtk-refresh and gtk-go-up during file transfer2017-08-06T00:57:09ZLink MauveMissing icons gtk-stop, gtk-refresh and gtk-go-up during file transferThese should be replaced with either standard or custom ones.These should be replaced with either standard or custom ones.https://dev.gajim.org/gajim/gajim/-/issues/8604Sending two files in a row, using JingleFT and JingleIBB, results in the stan...2017-08-06T00:57:09ZLink MauveSending two files in a row, using JingleFT and JingleIBB, results in the stanzas being transmitted in the wrong orderThe first time everything is fine, the second time I get <open/>, <close/>, <data/>, <data/>…, which is absolutely wrong.The first time everything is fine, the second time I get <open/>, <close/>, <data/>, <data/>…, which is absolutely wrong.https://dev.gajim.org/gajim/gajim/-/issues/8603New conference: When initiated by conversations (android client), Gajim clien...2017-08-06T00:57:09ZJimmyNew conference: When initiated by conversations (android client), Gajim client cant connect#### General information
* **Gajim version: 0.16.7** , Windows 7
* **Conversation.im Application:** 1.18.2
* **Version:** 1.18.2
* **Device:** LG L-90
* **Android Version:** 4.4
* **Server name:** jabjab.de
* **Server softwar...#### General information
* **Gajim version: 0.16.7** , Windows 7
* **Conversation.im Application:** 1.18.2
* **Version:** 1.18.2
* **Device:** LG L-90
* **Android Version:** 4.4
* **Server name:** jabjab.de
* **Server software:** ejabberd 17.01
* **Installed server modules:** All important (carbon msg., push, etc.)
#### Steps to reproduce
1. Create new conference in Conversations
2. Invite people which use Gajim PC program
3. User with Gajim@PC got the invite, can click on accept, but for some reason, he cant connect to the conference (conference JID is somehow shown in contact list after accepting, but he cant join it).
When I didnt invite people, and conference is public, I can join from Gajim Windows afterwords through the list of conferences. Even when it is created by conversations. Therefore I think, there is some problem with invitation format message processing. According https://github.com/siacs/Conversations/issues/2466 the issue doesnt rely on conversation client, but on Gajim side.
I dont have other resources to say, if thats problem is with all conference invites towards Gajim, but since problem shouldnt resides on conference creator's side, I would assume that. I am willing to debug and help you in any case, but I think its quite easilly reproducable (Android + Windows Gajim client).
#### Expected result
After conversations.im iniciate the conference, Gajim Windows users should be able to connect normally to the conference.Philipp Höristphilipp@hoerist.comPhilipp Höristphilipp@hoerist.comhttps://dev.gajim.org/gajim/gajim/-/issues/8598AttributeError: module 'nbxmpp' has no attribute 'NS_MAM_1'2017-08-06T00:57:09ZGhost UserAttributeError: module 'nbxmpp' has no attribute 'NS_MAM_1'The latest nightly throws this error after startup:
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 728, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channe...The latest nightly throws this error after startup:
```
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 728, in <lambda>
func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 549, in _process_events
return IdleQueue._process_events(self, fd, flags)
File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 409, in _process_events
obj.pollin()
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 444, in pollin
self._do_receive()
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 667, in _do_receive
self._on_receive(received)
File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 681, in _on_receive
self.on_receive(data)
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 331, in <lambda>
self.onreceive(lambda _data:self._xmpp_connect_machine(mode, _data))
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 384, in _xmpp_connect_machine
self._xmpp_connect_machine(mode='STREAM_STARTED')
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 387, in _xmpp_connect_machine
self._on_stream_start()
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 423, in _on_stream_start
self._on_connect()
File "/usr/lib/python3/dist-packages/nbxmpp/client_nb.py", line 460, in _on_connect
self.on_connect(self, self.connected)
File "/usr/share/gajim/src/common/connection.py", line 1397, in _connect_success
return self.connection_accepted(con, con_type)
File "/usr/share/gajim/src/common/connection.py", line 1498, in connection_accepted
self._register_handlers(con, con_type)
File "/usr/share/gajim/src/common/connection.py", line 1531, in _register_handlers
ConnectionHandlers._register_handlers(self, con, con_type)
File "/usr/share/gajim/src/common/connection_handlers.py", line 2339, in _register_handlers
con.RegisterHandler('iq', self._ArchiveCB, ns=nbxmpp.NS_MAM_1)
AttributeError: module 'nbxmpp' has no attribute 'NS_MAM_1'
```
And it doesn't connect to my XMPP server anymore.
nbxmpp is ftp://ftp.gajim.org/debian/dists/unstable/main/binary-amd64/python3-nbxmpp-nightly_20161014-1_all.deb from the Gajim Nightly PPA.https://dev.gajim.org/gajim/gajim/-/issues/8595Sending messages Linux -> Windows does not trigger delivery receipts2017-08-06T00:57:09ZMarcin MielniczukSending messages Linux -> Windows does not trigger delivery receiptsI'm sending a message to a Windows Gajim. Then, when looking at Android Conversations, the ticks indicating delivery are not shown. The messages are delivered, though. Red crosses are not shown either. If messages are sent from Conversat...I'm sending a message to a Windows Gajim. Then, when looking at Android Conversations, the ticks indicating delivery are not shown. The messages are delivered, though. Red crosses are not shown either. If messages are sent from Conversations, not Gajim, the delivery reports are delivered. The messages here are encrypted, but the same happens with unencrypted messages. This doesn't happen on an Arch Linux <-> Arch Linux connection. XML log:
```
<!-- Out Sat 08 Apr 2017 10:10:22 PM CEST -->
<message xmlns="jabber:client" to="alice@wiuwiu.de/Gajim" type="chat" id="c42961d6-be70-4fd5-b68f-e8f463afd87b">
<thread>mvyfpuhjxODZVoflMjqmcBuuRvQlhmdN</thread>
<encrypted xmlns="eu.siacs.conversations.axolotl">
<header sid="1506532973">
<key rid="161162025">MwohBdcS3av6ibGoMqjN/7uxKCiZkZfA8Jl6hcYAeSrgECVKEAwYACIwBXLsKmxLVSoSDu/MqdxYz+oUawwdzcJr6Y1IHELEKbu1C52nW9AeT6p4AynBKpBpxHFpbs89ADs=</key>
<key rid="443595363" prekey="true">MwiAgJsHEiEFptsZDsmOxtHajtzLs66wL/RKsrN2XHCHbRSIYUrNT2UaIQXv501uuwlwb3FlE4rmS06PYK/bq+EwINjS7SMvXh3kKiJiMwohBai/BXdANdGPRbptb7zi5tAY4OgpNt21Ybw9y1Co8/F2EDkYACIw4gKfl91sfOxhdBpEEF1y6MHhUkOAe+9xQQV2cSN6l7lXWs5kgqdnEcc1o9THVw7gzuZ80Trj5Mco7LyvzgUwwjk=</key>
<key rid="1161752110">MwohBZB0HLOUUZEt/4zpFxYDvsPJ7U2gRVvBsE+NAutpNKtmEAEYACIwW+53SYQI0AMBqXP5SCXAGIl8NSmepw2Sn4uPAhTg5fNW++bX3P4QBwo8J+9ZNwMR+nNDipXdqOo=</key>
<iv>wFikW7SC9sTw4AZdEP1LWw==</iv>
</header>
<payload>bxscnLw2f0Vb99PDOaLU5JxbAPl0kNIbDdfFXd0743EuqlziqPzy0GdhMNzI6pnJGG8rlARGUsr4O66xCLrn3UdwwwQU2qaYh/i30A==</payload>
</encrypted>
<encryption xmlns="urn:xmpp:eme:0" namespace="eu.siacs.conversations.axolotl" name="OMEMO" />
<store xmlns="urn:xmpp:hints" />
</message>
<!-- In Sat 08 Apr 2017 10:10:22 PM CEST -->
<presence to='bob@wiuwiu.de' from='someone@wiuwiu.de/phone'>
<c hash='sha-1' ver='31PfXOgvtoCI3nXP7S2k0W5G6EE=' node='http://conversations.im' xmlns='http://jabber.org/protocol/caps'/>
<idle xmlns='urn:xmpp:idle:1' since='2017-04-08T19:33:45.620Z'/>
</presence>
<!-- In Sat 08 Apr 2017 10:10:22 PM CEST -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out Sat 08 Apr 2017 10:10:22 PM CEST -->
<a xmlns="urn:xmpp:sm:2" h="261" />
<!-- In Sat 08 Apr 2017 10:10:29 PM CEST -->
<presence to='bob@wiuwiu.de' from='someone@wiuwiu.de/phone'>
<show>away</show>
<c hash='sha-1' ver='31PfXOgvtoCI3nXP7S2k0W5G6EE=' node='http://conversations.im' xmlns='http://jabber.org/protocol/caps'/>
<idle xmlns='urn:xmpp:idle:1' since='2017-04-08T19:33:45.620Z'/>
</presence>
<!-- In Sat 08 Apr 2017 10:10:30 PM CEST -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out Sat 08 Apr 2017 10:10:30 PM CEST -->
<a xmlns="urn:xmpp:sm:2" h="262" />
<!-- In Sat 08 Apr 2017 10:10:30 PM CEST -->
<presence to='bob@wiuwiu.de/Gajim' from='bob@wiuwiu.de/phone'>
<show>away</show>
<c hash='sha-1' ver='31PfXOgvtoCI3nXP7S2k0W5G6EE=' node='http://conversations.im' xmlns='http://jabber.org/protocol/caps'/>
<idle xmlns='urn:xmpp:idle:1' since='2017-04-08T20:08:53.143Z'/>
</presence>
<!-- In Sat 08 Apr 2017 10:10:30 PM CEST -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out Sat 08 Apr 2017 10:10:30 PM CEST -->
<a xmlns="urn:xmpp:sm:2" h="263" />
<!-- In Sat 08 Apr 2017 10:10:31 PM CEST -->
<message id='2078' type='chat' to='bob@wiuwiu.de/Gajim' from='person@neko.im/laptop'>
<inactive xmlns='http://jabber.org/protocol/chatstates'/>
<thread>usUCjojaeiyRrQQgqkSrQZwDoOkkgWsL</thread>
</message>
<!-- In Sat 08 Apr 2017 10:10:31 PM CEST -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out Sat 08 Apr 2017 10:10:31 PM CEST -->
<a xmlns="urn:xmpp:sm:2" h="264" />
<!-- In Sat 08 Apr 2017 10:10:31 PM CEST -->
<presence to='bob@wiuwiu.de/Gajim' from='bob@wiuwiu.de/phone'>
<show>away</show>
<c hash='sha-1' ver='31PfXOgvtoCI3nXP7S2k0W5G6EE=' node='http://conversations.im' xmlns='http://jabber.org/protocol/caps'/>
<idle xmlns='urn:xmpp:idle:1' since='2017-04-08T20:08:53.143Z'/>
</presence>
<!-- In Sat 08 Apr 2017 10:10:31 PM CEST -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out Sat 08 Apr 2017 10:10:31 PM CEST -->
<a xmlns="urn:xmpp:sm:2" h="265" />
<!-- Out Sat 08 Apr 2017 10:11:27 PM CEST -->
<!-- In Sat 08 Apr 2017 10:11:35 PM CEST -->
<presence to='bob@wiuwiu.de' from='alice@wiuwiu.de/chatsecure21032'>
<x xmlns='vcard-temp:x:update'>
<photo/>
</x>
<c hash='sha-1' ver='8YBEH/vxAMKLlIFFhFNt1PvZaBA=' node='https://github.com/robbiehanson/XMPPFramework' xmlns='http://jabber.org/protocol/caps'/>
</presence>
<!-- Out Sat 08 Apr 2017 10:11:35 PM CEST -->
<iq xmlns="jabber:client" to="alice@wiuwiu.de/chatsecure21032" type="get" id="75759a7f-844f-4aee-992c-3aeb2836baa1">
<query xmlns="http://jabber.org/protocol/disco#info" node="https://github.com/robbiehanson/XMPPFramework#8YBEH/vxAMKLlIFFhFNt1PvZaBA=" />
</iq>
<!-- In Sat 08 Apr 2017 10:11:35 PM CEST -->
<iq id='A3433097-181E-4A81-9085-6F083A277F7A' type='get' to='bob@wiuwiu.de/Gajim' from='alice@wiuwiu.de/chatsecure21032'>
<query node='http://gajim.org#5dqMCUkkqslG+FyxXud/eU2Xz1k=' xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
<!-- Out Sat 08 Apr 2017 10:11:35 PM CEST -->
<r xmlns="urn:xmpp:sm:2" />
<!-- Out Sat 08 Apr 2017 10:11:35 PM CEST -->
<iq xmlns="jabber:client" to="alice@wiuwiu.de/chatsecure21032" from="bob@wiuwiu.de/Gajim" id="A3433097-181E-4A81-9085-6F083A277F7A" type="result">
<query xmlns="http://jabber.org/protocol/disco#info" node="http://gajim.org#5dqMCUkkqslG+FyxXud/eU2Xz1k=">
<identity category="client" type="pc" name="Gajim" />
<feature var="http://jabber.org/protocol/bytestreams" />
<feature var="http://jabber.org/protocol/si" />
<feature var="http://jabber.org/protocol/si/profile/file-transfer" />
<feature var="http://jabber.org/protocol/muc" />
<feature var="http://jabber.org/protocol/muc#user" />
<feature var="http://jabber.org/protocol/muc#admin" />
<feature var="http://jabber.org/protocol/muc#owner" />
<feature var="http://jabber.org/protocol/muc#roomconfig" />
<feature var="http://jabber.org/protocol/commands" />
<feature var="http://jabber.org/protocol/disco#info" />
<feature var="ipv6" />
<feature var="jabber:iq:gateway" />
<feature var="jabber:iq:last" />
<feature var="jabber:iq:privacy" />
<feature var="jabber:iq:private" />
<feature var="jabber:iq:register" />
<feature var="jabber:iq:version" />
<feature var="jabber:x:data" />
<feature var="jabber:x:encrypted" />
<feature var="msglog" />
<feature var="sslc2s" />
<feature var="stringprep" />
<feature var="urn:xmpp:ping" />
<feature var="urn:xmpp:time" />
<feature var="urn:xmpp:ssn" />
<feature var="http://jabber.org/protocol/mood" />
<feature var="http://jabber.org/protocol/activity" />
<feature var="http://jabber.org/protocol/nick" />
<feature var="http://jabber.org/protocol/rosterx" />
<feature var="urn:xmpp:sec-label:0" />
<feature var="urn:xmpp:hashes:1" />
<feature var="urn:xmpp:hash-function-textual-names:md5" />
<feature var="urn:xmpp:hash-function-textual-names:sha-1" />
<feature var="urn:xmpp:hash-function-textual-names:sha-256" />
<feature var="urn:xmpp:hash-function-textual-names:sha-512" />
<feature var="urn:xmpp:message-correct:0" />
<feature var="jabber:x:conference" />
<feature var="http://jabber.org/protocol/mood+notify" />
<feature var="http://jabber.org/protocol/activity+notify" />
<feature var="http://jabber.org/protocol/tune+notify" />
<feature var="http://jabber.org/protocol/nick+notify" />
<feature var="http://jabber.org/protocol/geoloc+notify" />
<feature var="http://jabber.org/protocol/chatstates" />
<feature var="http://jabber.org/protocol/xhtml-im" />
<feature var="urn:xmpp:receipts" />
<feature var="urn:xmpp:jingle:1" />
<feature var="urn:xmpp:jingle:apps:file-transfer:3" />
<feature var="urn:xmpp:jingle:security:xtls:0" />
<feature var="urn:xmpp:jingle:transports:s5b:1" />
<feature var="urn:xmpp:jingle:transports:ibb:1" />
<feature var="eu.siacs.conversations.axolotl.devicelist+notify" />
</query>
</iq>
<!-- In Sat 08 Apr 2017 10:11:35 PM CEST -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out Sat 08 Apr 2017 10:11:35 PM CEST -->
<a xmlns="urn:xmpp:sm:2" h="267" />
<!-- In Sat 08 Apr 2017 10:11:35 PM CEST -->
<a h='115' xmlns='urn:xmpp:sm:2'/>
<!-- In Sat 08 Apr 2017 10:11:35 PM CEST -->
<presence to='bob@wiuwiu.de' from='alice@wiuwiu.de/chatsecure21032'>
<x xmlns='vcard-temp:x:update'>
<photo/>
</x>
<c hash='sha-1' ver='8YBEH/vxAMKLlIFFhFNt1PvZaBA=' node='https://github.com/robbiehanson/XMPPFramework' xmlns='http://jabber.org/protocol/caps'/>
</presence>
<message type='headline' to='bob@wiuwiu.de/Gajim' from='alice@wiuwiu.de'>
<event xmlns='http://jabber.org/protocol/pubsub#event'>
<items node='eu.siacs.conversations.axolotl.devicelist'>
<item id='1'>
<list xmlns='eu.siacs.conversations.axolotl'>
<device id='1476874907'/>
<device id='1161752110'/>
<device id='2065671693'/>
</list>
</item>
</items>
</event>
</message>
<iq id='75759a7f-844f-4aee-992c-3aeb2836baa1' type='result' to='bob@wiuwiu.de/Gajim' from='alice@wiuwiu.de/chatsecure21032'>
<query node='https://github.com/robbiehanson/XMPPFramework#8YBEH/vxAMKLlIFFhFNt1PvZaBA=' xmlns='http://jabber.org/protocol/disco#info'>
<feature var='http://jabber.org/protocol/disco#info'/>
<feature var='http://jabber.org/protocol/caps'/>
<feature var='urn:xmpp:receipts'/>
<feature var='http://jabber.org/protocol/muc'/>
<feature var='http://jabber.org/protocol/chatstates'/>
<feature var='eu.siacs.conversations.axolotl.devicelist'/>
<feature var='eu.siacs.conversations.axolotl.devicelist+notify'/>
</query>
</iq>
<!-- In Sat 08 Apr 2017 10:11:35 PM CEST -->
<message type='headline' to='bob@wiuwiu.de/Gajim' from='alice@wiuwiu.de'>
<event xmlns='http://jabber.org/protocol/pubsub#event'>
<items node='eu.siacs.conversations.axolotl.devicelist'>
<item id='1'>
<list xmlns='eu.siacs.conversations.axolotl'>
<device id='1476874907'/>
<device id='1161752110'/>
<device id='2065671693'/>
</list>
</item>
</items>
</event>
</message>
<!-- In Sat 08 Apr 2017 10:11:36 PM CEST -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out Sat 08 Apr 2017 10:11:36 PM CEST -->
<a xmlns="urn:xmpp:sm:2" h="271" />
```0.16.8Philipp Höristphilipp@hoerist.comPhilipp Höristphilipp@hoerist.comhttps://dev.gajim.org/gajim/gajim/-/issues/8591Exceptions while sending GPG encrypted messages on Ubuntu 14.042017-08-06T00:57:09ZAlexanderExceptions while sending GPG encrypted messages on Ubuntu 14.04* OS: Ubuntu 14.04
* Gajim Version: 0.16.7 (nightly build / ppa)
```
"Exception in thread Thread-61:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
Fi...* OS: Ubuntu 14.04
* Gajim Version: 0.16.7 (nightly build / ppa)
```
"Exception in thread Thread-61:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/share/gajim/src/gui_interface.py", line 3175, in thread_function
output = func(*func_args)
File "/usr/share/gajim/src/common/connection.py", line 340, in encrypt_thread
always_trust)
File "/usr/share/gajim/src/common/gpg.py", line 63, in encrypt
result = super(GnuPG, self).list_keys(keys=recipients)
TypeError: list_keys() got an unexpected keyword argument 'keys'"
```https://dev.gajim.org/gajim/gajim/-/issues/8590OpenPGP is not usable on this computer2017-08-06T00:57:09ZAlexanderOpenPGP is not usable on this computer* Version: 0.16.7
* OS: Ubuntu 16.04 LTS
* GPG: gpg2, key generated with `gpg2 --gen-key`
Tried rebooting, restarting, etc. Gajim can't seem to find my OpenPGP installation and other settings along with keys.* Version: 0.16.7
* OS: Ubuntu 16.04 LTS
* GPG: gpg2, key generated with `gpg2 --gen-key`
Tried rebooting, restarting, etc. Gajim can't seem to find my OpenPGP installation and other settings along with keys.https://dev.gajim.org/gajim/gajim/-/issues/8589Are there OTR installation instructions?2017-08-06T00:57:10ZDanAre there OTR installation instructions?Hi. I have downloaded the plugin OTR and read this page: https://dev.gajim.org/gajim/gajim-plugins/wikis/offtherecordplugin . But I am unable to find the doc on the installatrion. Perhaps its so simple it does not need one, but I just wa...Hi. I have downloaded the plugin OTR and read this page: https://dev.gajim.org/gajim/gajim-plugins/wikis/offtherecordplugin . But I am unable to find the doc on the installatrion. Perhaps its so simple it does not need one, but I just want to make sure I have fully set it up correctly before using. I have gone to the Plugin screen, clicked configure and clicked "generate". Then I have ticked all the boxes under "default OTR settings".
Beyond this is there anything else I need to do?
If my contact does not have the OTR plugin, does this mean mine and their messages wont be encrypted? Or only theirs?
How am I able to check and confirm my contact has the plugin?
The plugin states its for experimental use, are there any major issues with it?
Would using this plugin prevent the owners of the jabber server, seeing my messages?
Sorry for the basic questions. Thanks for helphttps://dev.gajim.org/gajim/gajim/-/issues/8588Closing Gajim with close button 'X' will result in gajim UI being closed with...2017-08-06T00:57:10Zcijo7Closing Gajim with close button 'X' will result in gajim UI being closed with no way to bring UI backThere seems to be no way to get the Gajim UI back after closing it. Opening the app will only result in creating another separate process for Gajim. Is it possible to just restore the
## Expected
Gajim on closing will close the UI and...There seems to be no way to get the Gajim UI back after closing it. Opening the app will only result in creating another separate process for Gajim. Is it possible to just restore the
## Expected
Gajim on closing will close the UI and the background process will remain running to fetch new messages. When I want the UI back I may open the Gajim app and it will take me to where I closed it. This way I can read the message and may be, close the UI again.
## Issue
When starting Gajim again, it starts as a separate process, throwing tons of warnings about the already running process. It's even trying to create new account saying "_You are already connected to this account with same name. Please try a new name._"
This then seems to lead to a lot of issues like same message getting send multiple times. (open a couple of Gajim process running simultaneously and try sending a message).
![Screenshot_from_2017-03-25_18-33-25](/uploads/279f5f7e0b3bd7122367f9d7ec60add9/Screenshot_from_2017-03-25_18-33-25.png)![Screenshot_from_2017-03-25_18-33-32](/uploads/ac6051ac84113d6f0c48028c01e11ca8/Screenshot_from_2017-03-25_18-33-32.png)
## Suggested Fix
On opening Gajim again, bring the UI back without creating another background job.
## Environment
I am running Gajim 0.16.5 on Ubuntu 16.04 having cinnamon.https://dev.gajim.org/gajim/gajim/-/issues/8586Duplicate messages (Only own messages)2017-08-06T00:57:10ZKim NielsenDuplicate messages (Only own messages)When using gajim 0.16.7-1 I get duplicate messages of whatever I write to someone else. So if I write hmm to someone I get
[09:39:27 AM] myname: hmm ✓
[09:39:27 AM] myname: hmmWhen using gajim 0.16.7-1 I get duplicate messages of whatever I write to someone else. So if I write hmm to someone I get
[09:39:27 AM] myname: hmm ✓
[09:39:27 AM] myname: hmmhttps://dev.gajim.org/gajim/gajim/-/issues/8585Backtrace on nightly when chatting with Gajim user who is on 0.16.62017-08-06T00:57:10ZsingpolymaBacktrace on nightly when chatting with Gajim user who is on 0.16.6```
Traceback (most recent call last):
File "/usr/share/gajim/src/chat_control.py", line 2976, in _on_message_tv_buffer_changed
self.begin_e2e_negotiation()
File "/usr/share/gajim/src/chat_control.py", line 3228, in begin_e2e_neg...```
Traceback (most recent call last):
File "/usr/share/gajim/src/chat_control.py", line 2976, in _on_message_tv_buffer_changed
self.begin_e2e_negotiation()
File "/usr/share/gajim/src/chat_control.py", line 3228, in begin_e2e_negotiation
self.session.negotiate_e2e(False)
File "/usr/share/gajim/src/common/stanza_session.py", line 719, in negotiate_e2e
self.send(request)
File "/usr/share/gajim/src/common/stanza_session.py", line 122, in send
self.conn.send_stanza(msg)
File "/usr/share/gajim/src/common/connection.py", line 2212, in send_stanza
self.connection.send(stanza)
File "/usr/lib/python2.7/dist-packages/nbxmpp/dispatcher_nb.py", line 576, in send
stanza_copy = copy.deepcopy(stanza)
File "/usr/lib/python2.7/copy.py", line 190, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.7/copy.py", line 334, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.7/copy.py", line 174, in deepcopy
y = copier(memo)
TypeError: 'Node' object is not callable
```https://dev.gajim.org/gajim/gajim/-/issues/8582Sending file using IBB never shows as complete in the UI2017-08-06T00:57:10ZsingpolymaSending file using IBB never shows as complete in the UIIt seems like the `complete_transfer_cb` is just never called. I've attached a patch that fixes this issue in my tests.[ibb.patch](/uploads/44b3396b71dc6d078db916435d7a6e6c/ibb.patch)It seems like the `complete_transfer_cb` is just never called. I've attached a patch that fixes this issue in my tests.[ibb.patch](/uploads/44b3396b71dc6d078db916435d7a6e6c/ibb.patch)https://dev.gajim.org/gajim/gajim/-/issues/8581IBB FT to bare JID doesn't work on nightly2017-08-06T00:57:10ZsingpolymaIBB FT to bare JID doesn't work on nightlyWorks on released gajim, but not on nightly. common/protocol/bytestream.py in the OpenStream method has an explicit check for resource in the to-jid and just returns if there is no resource. It doesn't even cancel the file transfer or ...Works on released gajim, but not on nightly. common/protocol/bytestream.py in the OpenStream method has an explicit check for resource in the to-jid and just returns if there is no resource. It doesn't even cancel the file transfer or anything, it just stops... which looks to the user like a file transfer hang.
Commenting out this if and return makes the code work as expected.https://dev.gajim.org/gajim/gajim/-/issues/8579A programming error has been detected - not fatal2017-08-06T00:57:10ZJakub PolakA programming error has been detected - not fatalTraceback (most recent call last):
File "/usr/share/gajim/src/statusicon.py", line 116, in on_status_icon_left_clicked
self.on_left_click()
File "/usr/share/gajim/src/statusicon.py", line 428, in on_left_click
self.handle_fir...Traceback (most recent call last):
File "/usr/share/gajim/src/statusicon.py", line 116, in on_status_icon_left_clicked
self.on_left_click()
File "/usr/share/gajim/src/statusicon.py", line 428, in on_left_click
self.handle_first_event()
File "/usr/share/gajim/src/statusicon.py", line 440, in handle_first_event
gajim.interface.handle_event(account, jid, event.type_)
File "/usr/share/gajim/src/gui_interface.py", line 1706, in handle_event
session=session)
File "/usr/share/gajim/src/gui_interface.py", line 2217, in new_chat
chat_control.read_queue()
File "/usr/share/gajim/src/chat_control.py", line 3074, in read_queue
displaymarking=dm)
File "/usr/share/gajim/src/chat_control.py", line 2576, in print_conversation
msg_id=msg_id, correct_id=correct_id)
File "/usr/share/gajim/src/chat_control.py", line 934, in print_conversation_line
displaymarking=displaymarking)
File "/usr/share/gajim/src/conversation_textview.py", line 1350, in print_conversation_line
iter_=end_iter)
File "/usr/share/gajim/src/conversation_textview.py", line 1475, in print_real_text
iter_=iter_)
File "/usr/share/gajim/src/conversation_textview.py", line 1074, in detect_and_print_special_text
iter_=end_iter)
File "/usr/share/gajim/src/conversation_textview.py", line 1216, in print_special_text
puny_text = helpers.puny_encode_url(special_text)
File "/usr/share/gajim/src/common/helpers.py", line 147, in puny_encode_url
o = urlparse(_url)
File "/usr/lib/python2.7/urlparse.py", line 143, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/usr/lib/python2.7/urlparse.py", line 214, in urlsplit
raise ValueError("Invalid IPv6 URL")
ValueError: Invalid IPv6 URLhttps://dev.gajim.org/gajim/gajim/-/issues/8578remote-server-not-found2017-08-06T00:57:10ZKarasik Erohinremote-server-not-foundmail: flagitio@gmail.com
type: defect
priority: normal
error log:
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gajim/config.py", line 2666, in on_enable_checkbutton1_toggled
self._di...mail: flagitio@gmail.com
type: defect
priority: normal
error log:
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/gajim/config.py", line 2666, in on_enable_checkbutton1_toggled
self._disable_account(self.current_account)
File "/usr/lib64/python2.7/site-packages/gajim/config.py", line 2534, in _disable_account
gajim.connections[account].cleanup()
KeyError: u'swissjabber.eu'
------
From time to time Gajim loses connection to some servers, for example swissjabber.eu and null.pm. This issue cannot be solven by creating new account on other server, i tried to change xmpp server several times.https://dev.gajim.org/gajim/gajim/-/issues/8577Received messages from my other device (phone) are not shown in chat tab2017-08-06T00:57:10ZralfReceived messages from my other device (phone) are not shown in chat tab**Steps to reproduce:**
* Double-click my phone's resource in the contact list shown by Gajim
* Send a message from my phone to myself (Conversations shows myself as a contact in the contact list, that's where I am sending the message)
...**Steps to reproduce:**
* Double-click my phone's resource in the contact list shown by Gajim
* Send a message from my phone to myself (Conversations shows myself as a contact in the contact list, that's where I am sending the message)
**Expected behavior:**
The message should appear in the chat I opened. Gajim should treat this as an unread message in terms of changing the systray icon and changing the caption of the main window.
**Actual behavior:**
Nothing happens in that tab, the systray icon, or Gajim's window title. However, if I double-click on my phone's resoruce in Gajim's contact list again, a *second* tab for the same chat opens (that shouldn't usually happen, right?), and that second tab shows the message I sent as part of the history that's loaded.
So it seems like the message is received, but not properly acted on.
I sometimes even get a Python exception when I double-click my resource with such an unread message, but cannot reproduce this now.
This is with Gajim 0.16.7 on Linux (Debian testing, Gajim checked out from git).0.16.8Philipp Höristphilipp@hoerist.comPhilipp Höristphilipp@hoerist.comhttps://dev.gajim.org/gajim/gajim/-/issues/8576Python error in _nec_privacy_list_received on Gajim launch2017-08-06T00:57:10ZralfPython error in _nec_privacy_list_received on Gajim launchWhen I launch Gajim (with all plugins except for the plugin installer disabled), it prints the following error twice on the console:
```
Traceback (most recent call last):
File "/home/r/src/gajim/src/common/ged.py", line 93, in raise_...When I launch Gajim (with all plugins except for the plugin installer disabled), it prints the following error twice on the console:
```
Traceback (most recent call last):
File "/home/r/src/gajim/src/common/ged.py", line 93, in raise_event
if handler(*args, **kwargs):
File "/home/r/src/gajim/src/common/connection.py", line 2444, in _nec_privacy_list_received
if rule['type'] == 'jid':
KeyError: 'type'
```
I would expect Gajim not to have any unhandled exceptions during normal operation, this looks to me like something is not behaving as expected somewhere.
This is with Gajim 0.16.7 on Linux (Debian testing, Gajim checked out from git).https://dev.gajim.org/gajim/gajim/-/issues/8575Sending a message to my other device (phone) results in duplicate messages2017-08-06T00:57:12ZralfSending a message to my other device (phone) results in duplicate messagesI would expect to be able to exchange chat messages between my phone (Conversations) and Gajim when they are both logged into the same account. Unfortunately, this is not working properly.
Gajim lists other resources logged into my ac...I would expect to be able to exchange chat messages between my phone (Conversations) and Gajim when they are both logged into the same account. Unfortunately, this is not working properly.
Gajim lists other resources logged into my account in the contact list. When I double-click it, I can type and send a message.
*Actual behavior*: The result of this is that both my phone and my laptop show the message twice.
*Expected behavior*: The message should be shown only once.
Here's what the XML console shows for sending such a message:
```
<!-- Out So 19 Mär 2017 12:05:48 CET -->
<r xmlns="urn:xmpp:sm:2" />
<!-- Out So 19 Mär 2017 12:05:48 CET -->
<message xmlns="jabber:client" to="ralf@MYJABBERSERVER/gajim.ZS49G587" type="chat" id="574f31d1-e7f2-41f9-8857-6bfb364a1c39">
<composing xmlns="http://jabber.org/protocol/chatstates" />
<thread>JsJDqCAffvJCCnQRbQrZLsxXqFzzyzsQ</thread>
</message>
<!-- In So 19 Mär 2017 12:05:48 CET -->
<a h='72' xmlns='urn:xmpp:sm:2'/>
<!-- In So 19 Mär 2017 12:05:48 CET -->
<message id='574f31d1-e7f2-41f9-8857-6bfb364a1c39' type='chat' to='ralf@MYJABBERSERVER/gajim.ZS49G587' from='ralf@MYJABBERSERVER/gajim.ZS49G587'>
<composing xmlns='http://jabber.org/protocol/chatstates'/>
<thread>JsJDqCAffvJCCnQRbQrZLsxXqFzzyzsQ</thread>
</message>
<!-- In So 19 Mär 2017 12:05:48 CET -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out So 19 Mär 2017 12:05:48 CET -->
<a xmlns="urn:xmpp:sm:2" h="175" />
<!-- Out So 19 Mär 2017 12:05:49 CET -->
<message xmlns="jabber:client" to="ralf@MYJABBERSERVER/gajim.ZS49G587" type="chat" id="54c4bc7c-3bfa-455a-ad74-5fed34038ea0">
<body>test</body>
<active xmlns="http://jabber.org/protocol/chatstates" />
<thread>JsJDqCAffvJCCnQRbQrZLsxXqFzzyzsQ</thread>
<markable xmlns="urn:xmpp:chat-markers:0" />
</message>
<!-- In So 19 Mär 2017 12:05:49 CET -->
<message id='54c4bc7c-3bfa-455a-ad74-5fed34038ea0' type='chat' to='ralf@MYJABBERSERVER/gajim.ZS49G587' from='ralf@MYJABBERSERVER/gajim.ZS49G587'>
<body>test</body>
<active xmlns='http://jabber.org/protocol/chatstates'/>
<thread>JsJDqCAffvJCCnQRbQrZLsxXqFzzyzsQ</thread>
<markable xmlns='urn:xmpp:chat-markers:0'/>
</message>
<!-- In So 19 Mär 2017 12:05:49 CET -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out So 19 Mär 2017 12:05:49 CET -->
<a xmlns="urn:xmpp:sm:2" h="176" />
<!-- Out So 19 Mär 2017 12:05:49 CET -->
<message xmlns="jabber:client" to="ralf@MYJABBERSERVER/gajim.ZS49G587" type="chat" id="cea891fa-8692-4d6f-878d-1e98c300cb29">
<displayed xmlns="urn:xmpp:chat-markers:0" id="54c4bc7c-3bfa-455a-ad74-5fed34038ea0" />
</message>
<!-- In So 19 Mär 2017 12:05:49 CET -->
<message id='cea891fa-8692-4d6f-878d-1e98c300cb29' type='chat' to='ralf@MYJABBERSERVER/gajim.ZS49G587' from='ralf@MYJABBERSERVER/gajim.ZS49G587'>
<displayed id='54c4bc7c-3bfa-455a-ad74-5fed34038ea0' xmlns='urn:xmpp:chat-markers:0'/>
</message>
<!-- In So 19 Mär 2017 12:05:49 CET -->
<r xmlns='urn:xmpp:sm:2'/>
<!-- Out So 19 Mär 2017 12:05:49 CET -->
<a xmlns="urn:xmpp:sm:2" h="177" />
```
This is with Gajim 0.16.7 on Linux (Debian testing, Gajim checked out from git).0.16.8Philipp Höristphilipp@hoerist.comPhilipp Höristphilipp@hoerist.comhttps://dev.gajim.org/gajim/gajim/-/issues/8574Problem with Gajim and Ejabberd2017-08-06T00:57:12ZThomas Problem with Gajim and EjabberdHi,
I had an issue at github about ejabberd and they told me it is a problem of Gajim.
The quickest way is to copy all from there and put it here.
My problem is that am not able to use http upload together with gajim. Any time an err...Hi,
I had an issue at github about ejabberd and they told me it is a problem of Gajim.
The quickest way is to copy all from there and put it here.
My problem is that am not able to use http upload together with gajim. Any time an error comes up.
What version of ejabberd are you using?
ejabberd 16.01 is running in that node
What operating system (version) are you using?
Ubuntu 16.04 server
Kernel 4.4.0-66-generic
How did you install ejabberd (source, package, distribution)?
Installed from source code
What did not work as expected? Are there error messages in the log? What
was the unexpected behavior? What was the expected result?
I tried to manage http_upload but it was not working.
.
I am using gajim between two laptop one is Ubuntu 16.04 and the other Kubuntu 16.04
I want to use the server now internally and later maybe over Internet as well.
Here is the output if I start gajim with that command:
gajim -l gajim.plugin_system.httpupload=DEBUG
Output:
```
15.03.2017 18:11:06 (I) gajim.plugin_system.httpupload Encryption is: False / OMEMO not found
15.03.2017 18:11:06 (I) gajim.plugin_system.httpupload Detected MIME Type of file: image/jpeg
15.03.2017 18:11:06 (I) gajim.plugin_system.httpupload jid_to_servers of test@sielstetten: upload.sielstetten ; connection: <nbxmpp.client_nb.NonBlockingClient instance at 0x7f5b5810a950>
15.03.2017 18:11:06 (D) gajim.plugin_system.httpupload sending httpupload slot request iq...
15.03.2017 18:11:06 (I) gajim.plugin_system.httpupload Uploading file to 'https://sielstetten:5443/upload/09e0286ece2788b0d55c46620673d8d1f44fe10a/OM9g02h4sV3eKniOjeSfMIdBCvQlhleEqqxhuCHh/IMG_0118.JPG'...
15.03.2017 18:11:06 (I) gajim.plugin_system.httpupload Please download from 'https://sielstetten:5443/upload/09e0286ece2788b0d55c46620673d8d1f44fe10a/OM9g02h4sV3eKniOjeSfMIdBCvQlhleEqqxhuCHh/IMG_0118.JPG' later...
15.03.2017 18:11:06 (D) gajim.plugin_system.httpupload opening urllib2 upload request...
15.03.2017 18:11:06 (E) gajim.plugin_system.httpupload Error
Traceback (most recent call last):
File "/home/thomas/.local/share/gajim/plugins/httpupload/httpupload.py", line 477, in uploader
transfer = urllib2.urlopen(request, timeout=30)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
raise URLError(err)
15.03.2017 18:11:23 (I) gajim.plugin_system.httpupload Account sielstetten: httpupload is_supported: True
15.03.2017 18:11:23 (I) gajim.plugin_system.httpupload Account sielstetten: httpupload is_supported: True
```https://dev.gajim.org/gajim/gajim/-/issues/8573Gajim drops out from MUC without any notifications (disconnect detection issu...2017-08-06T00:57:12ZreallyuniquenameGajim drops out from MUC without any notifications (disconnect detection issues?)I am always connected to some active MUC.
Sometimes I open chat window and note that there are no messages for the last few hours.
If I try to send message in MUC it says `error while sending TEST123 ( Only occupants are allowed ...I am always connected to some active MUC.
Sometimes I open chat window and note that there are no messages for the last few hours.
If I try to send message in MUC it says `error while sending TEST123 ( Only occupants are allowed to send messages to the conference )`.
It seems like I am no longer in the room. I see no errors or disconnection messages in chat log. My jabber status is `Available` all the time. I have to reconnect to fix this.
Not sure if this related to #7091.
Any ideas why it happens and how to fix this?Philipp Höristphilipp@hoerist.comPhilipp Höristphilipp@hoerist.com