Gajim - 2017-07-27


  1. Link Mauve lovetox, when hovering the self contact in the roster: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/gajim/roster_window.py", line 5728, in query_tooltip tooltip.populate(connected_contacts, account, typ) File "/usr/lib/python3.6/site-packages/gajim/tooltips.py", line 552, in populate self.contact_jid = self.prim_contact.jid AttributeError: 'NoneType' object has no attribute 'jid'
  2. lovetox yeah i have that also sometimes but not have time yet to investigate
  3. lovetox Link Mauve, do you know on a stream resumption
  4. lovetox is no bind happening or?
  5. lovetox like one where i get the jid from the server or
  6. Link Mauve No, everytime I hover the self contact.
  7. Link Mauve I’m properly connected and had no disconnection, I just started Gajim.
  8. lovetox yes i know but i have it not on every start
  9. Link Mauve I don’t have it on start, only on hover.
  10. lovetox i create a issue for it
  11. Link Mauve Thanks.
  12. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *fe1f2c01* <https://dev.gajim.org/gajim/gajim/commit/fe1f2c010383e10496bde4eebc2195557eb2858b> Dont drop MAM Message on missing stanza-id A missing stanza ID means, we will have to take some measures to make sure we get no duplicates in the Database later on. Also fix getting the origin-id. Third time is a charm.
  13. SaltyBones What is this:
  14. SaltyBones foobar is now Offline (Stream closed by us: Replaced by new connection (conflict))
  15. lovetox SaltyBones, i think server message
  16. lovetox normally you dont have connections to your contacts
  17. SaltyBones But what does it mean? I recently started getting these and they're pretty useless. :)
  18. lovetox it means your contact resumed his connection after it was broken
  19. lovetox i agree its useless for us to see now
  20. lovetox i bet he is using conversations?
  21. SaltyBones Is that something we need to fix in gajim or where might this even have changed?
  22. lovetox i see if we can disable this
  23. SaltyBones Well, I'm also curious why it started popping up now...
  24. lovetox because your contact does now resume his stream often
  25. lovetox you have to ask the contact whats changed
  26. lovetox you can set the config option "print_status_in_chats"
  27. lovetox then this never gets printed
  28. bot Philipp Hörist pushed 7 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *40ba449f* <https://dev.gajim.org/gajim/gajim/commit/40ba449f47f9c0ee61736559a4222a76b6b975ab> Refactor get_last_conversation_lines() - use NATURAL JOIN in SQL query instead of multiple SELECT via _build_contact_where - make code more concise - update method documentation *950f7632* <https://dev.gajim.org/gajim/gajim/commit/950f7632209590d2cd2c2da4f5f9730a2749e3d1> Refactor get_conversation_for_date() - use NATURAL JOIN in SQL query instead of multiple SELECT via _build_contact_where - make code more concise - update method documentation - Fix a bug where messages were displayed in wrong order when they had the same timestamp *fb7eb071* <https://dev.gajim.org/gajim/gajim/commit/fb7eb0718a41a95e1d799e5c1f29f3f8ab7dfa5a> Refactor search_log() - use NATURAL JOIN in SQL query instead of multiple SELECT via _build_contact_where - make code more concise - update method documentation *1e380473* <https://dev.gajim.org/gajim/gajim/commit/1e380473cd6abc71d0480d75ec7ba61ade7df70e> Refactor get_days_with_logs() - use NATURAL JOIN in SQL query instead of multiple SELECT via _build_contact_where - make code more concise - update method documentation *9feee7d9* <https://dev.gajim.org/gajim/gajim/commit/9feee7d9dc16533a11b757406306f62bca65087c> Refactor get_room_last_message_time() - Refactor get_last_date_that_has_logs() - use NATURAL JOIN in SQL query instead of multiple SELECT via _build_contact_where - make code more concise - update method documentation *9046797e* <https://dev.gajim.org/gajim/gajim/commit/9046797e1b051e733f5cad9bc39f100c0ecc5fec> Remove _build_contact_where() We dont need it anymore *cb90f9de* <https://dev.gajim.org/gajim/gajim/commit/cb90f9decdb9c8e36d5b06397eedf556a5e56b73> Merge branch 'logger' into 'master' Refactor Logger See merge request !108
  29. SaltyBones lovetox, that contact is me and I changed nothing on my phone only on the server
  30. lovetox i cant help you really, your phone replaces the connection and tells us about it, we tell the user
  31. SaltyBones oh you don't have to
  32. SaltyBones or you already did
  33. SaltyBones whichever way you want to look at it ;)
  34. Link Mauve “07:53:40 SaltyBones> foobar is now Offline (Stream closed by us: Replaced by new connection (conflict))”, that means they reconnected without trying to resume the connection, yet asked for the same resource.
  35. Link Mauve And their server’s policy is to kick the old resource in that case.
  36. Link Mauve SaltyBones, make sure your server supports Stream Management.
  37. Link Mauve And your client is using it.
  38. SaltyBones Hm...maybe my config is borked
  39. SaltyBones It used to work
  40. SaltyBones No ejabberd has it enabled by default says the internet
  41. SaltyBones lovetox, ooohh.. new lock icons
  42. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/xep-0319_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *1ce3dcbf* <https://dev.gajim.org/gajim/gajim/commit/1ce3dcbff4c6e8327f6fbc714782e1964588952e> Fix tooltip alignment
  43. mdosch I can confirm the debian nightly build works again 😊
  44. mdosch What a pain to use the mobile all evening yesterday albeit my Laptop was available. There should be a possibility to get the latest features without risk of breaking 😁
  45. SaltyBones mdosch, I have both versions installed
  46. mdosch Hmm, but looking in the history now I only see my own messages not the ones from my chat partner. OMEMO was used and current prosody 0.10 with mod_mam
  47. SaltyBones well, not really installed I have stable installed from the gajim repos and a git checkout that I run manually
  48. mdosch SaltyBones, i wasn't really serious as one day without gajim is not really a problem
  49. SaltyBones oh okay
  50. SaltyBones I do get really annoyed when I have to type on my phone for too long ^^
  51. lovetox hm mdosch let me check if omemo mam works, i did quite a lot around mam in the latest commits
  52. SaltyBones i thought omemo mam intentionally doesnt work
  53. SaltyBones because it would store the encrypted messages in plain on the server
  54. lovetox Oo you have a great misconception about how things work with MAM
  55. mdosch no, it stores encrypted and if your contact has all your keys it will also work between multiple devices
  56. lovetox omemo worked always with mam
  57. mdosch the point of e2ee is that it's not possible to decrypt on the server
  58. SaltyBones I must have a misconception about how MAM works than.
  59. SaltyBones Because it does store messages on the server, right?
  60. mdosch But encrypted
  61. lovetox yes but we dont put it there
  62. SaltyBones And OMEMO has PFS which means either MAM breaks PFS or it cannot work.
  63. lovetox the server just stores all messages that are sent to him
  64. SaltyBones Yeah, but then gajim cannot download and decrypt the messages twice. So they have to be sent encrypted for gajim originally...
  65. lovetox what you are thinking is a forever archive where you can download your message from MAM over and over again
  66. mdosch lovetox, btw. where is the zip for the updater working with the master stored? I wasn't able to locate it
  67. SaltyBones Yeah, I assumed that's what MAM does, indeed.
  68. lovetox no MAM syncs messages between devices
  69. lovetox you can use it as a forever archive
  70. SaltyBones okay
  71. lovetox but thats not its only purpose
  72. lovetox the main purpose is to sync messages between devices
  73. lovetox to sync them more than once is a bonus that you can have with some encryption but not all
  74. SaltyBones good to know
  75. lovetox https://ftp.gajim.org/plugins_1/plugin_installer.zip
  76. lovetox mdosch
  77. mdosch lovetox, thx
  78. lovetox indeed mdosch there is a problem
  79. mdosch lovetox, that's good as I haven't change anything on my server :)
  80. mdosch lovetox, that's good as I haven't changed anything on my server :)
  81. mdosch otherwise I would have no idea where's the problem
  82. mimi89999 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 446, in pollin self._do_receive() File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 669, in _do_receive self._on_receive(received) File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 683, in _on_receive self.on_receive(data) File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 529, in _WaitForData resp(_iq) File "/usr/share/gajim/gajim/adhoc_commands.py", line 629, in callback self.stage3_next_form(response.getTag('command')) File "/usr/share/gajim/gajim/adhoc_commands.py", line 414, in stage3_next_form self.data_form_widget.data_form = self.dataform File "/usr/share/gajim/gajim/dataforms_widget.py", line 91, in set_data_form self.build_single_data_form() File "/usr/share/gajim/gajim/dataforms_widget.py", line 155, in build_single_data_form selectable=self.selectable) File "/usr/share/gajim/gajim/dataforms_widget.py", line 442, in __init__ field.values) File "/usr/share/gajim/gajim/gtkgui_helpers.py", line 859, in create_list_multi col.pack_start(cell, True, True, 0) TypeError: Gtk.TreeViewColumn.pack_start() takes exactly 3 arguments (5 given)
  83. mimi89999 I am getting this just after selecting Destroy from options in conference server ad hoc commends
  84. mimi89999 lovetox‎:
  85. lovetox yeah never used that :)
  86. mimi89999 feels lovetox‎ will have soon enough of him and his bug reports...
  87. lovetox hm on what server are you doing this
  88. mimi89999 Prosody trunk
  89. lovetox i cannot test this because i have no server that allows that
  90. lovetox and what commands would you issue to a muc?
  91. mimi89999 ?
  92. lovetox conference server ad hoc commends
  93. lovetox what commands do you want to use
  94. mimi89999 muc:room(room):destroy()
  95. mimi89999 https://prosody.im/doc/console
  96. Link Mauve It should be sensibly the same to destroy the room from any client.
  97. lovetox yeah if you want me to fix that i need an account on your server so i can test this
  98. mimi89999 But I guess at this point I would be listing rooms
  99. mimi89999 And an admin account I guess...
  100. Link Mauve lovetox, can’t you just create a room anywhere, join it, and then destroy it?
  101. lovetox he is not talking about just destroying a room
  102. lovetox he wants to destroy it via ad hoc commands from the discovery window
  103. lovetox i dont think you will get those commands if you are not admin of the server
  104. lovetox or i misunderstand something here
  105. mimi89999 https://lebihan.pl/xmpp-upload/index.php/dfff5571-b27e-44ad-92e7-d62398a06afb/Capture%20du%202017-07-27%2020-16-42.png
  106. lovetox how do you get there
  107. mimi89999 Discover services, conference.[...], Execute Command.
  108. lovetox yeah, i think you have to be admin or something to see this
  109. lovetox commands are greyed out for me
  110. lovetox obviously
  111. mdosch Just created and destroyed a room on my server with current gajim nightly and prosody 0.10 master
  112. mimi89999 mdosch‎: ad hoc from discover services?
  113. mdosch I think so. I am using gajim in german so the terms might not be correct: rightclick on room name -> manage room -> destroy room
  114. mdosch I added a reason and an alternative room (as i thought this might be common behavior if you really destroy a room that was used by others)
  115. mdosch ah, there is also an option at discover services, I see
  116. mdosch also works
  117. mdosch The following rooms were destroyed: räksmörgås@chat.mdosch.de test@chat.mdosch.de
  118. mdosch mimi89999, is prosody trunk the same as master? I am using 0.10 master
  119. mdosch > mdosch.de is running Prosody version hg:49a682d6b427 on Linux
  120. mimi89999 No
  121. mdosch misses "paste as citation" when right-clicking in chat window
  122. mimi89999 mdosch‎: But I am using Gajim nightly and I think the issue is in Gajim...
  123. mdosch gajim: gajim-default-nightly/unstable,unstable,unstable,now 20170727-1
  124. mdosch too
  125. mimi89999 Hmm
  126. mdosch You want a test account on my server?
  127. mimi89999 mdosch‎: It needs to be an admin account for that...
  128. mdosch It's not enough if you create the room?
  129. mimi89999 For this no.
  130. lovetox you are talking about different things
  131. lovetox mdosch talks about destroy from the setting menu in a room
  132. lovetox this can be done by the creator of the room
  133. lovetox and works
  134. lovetox what mimi89999 is trying, to use the admin commands that prosody offers in the discovery window
  135. mimi89999 ‎[20:29:49] ‎mdosch‎: ah, there is also an option at discover services, I see ‎[20:30:19] ‎mdosch‎: also works
  136. mimi89999 lovetox‎: I think he tested that also
  137. lovetox then i misunderstood ^^
  138. lovetox sorry
  139. mimi89999 So it seems that it is a server issue.
  140. mimi89999 I will check my debug logs and report to Zash then...
  141. lovetox no
  142. lovetox the traceback is not a server issue !
  143. lovetox and its weird that it would work for mdosch
  144. lovetox the call in that traceback is just wrong, it can never work, so it seems this broken code is not triggered for mdosch
  145. lovetox i can fix the call later, then you can try again
  146. mimi89999 So maybe for him Prosody returns something good and for me nonsense and that's why it fails...
  147. lovetox no it fails because the code in gajim is wrong
  148. mimi89999 I see
  149. mimi89999 TypeError: Gtk.TreeViewColumn.pack_start() takes exactly 3 arguments (5 given)
  150. mimi89999 Maybe he doesn't have the same version of Gajim?
  151. mdosch >mimi89999‎: lovetox‎: I think he tested that also yep i did, so it's weird it works for me
  152. mdosch I use gajim-default-nightly/unstable,unstable,unstable,now
  153. lovetox that line of code is broken either way
  154. lovetox different servers will offer different commands with different options
  155. mdosch I use gajim-default-nightly/unstable,unstable,unstable,now 20170727-1
  156. mimi89999 I have 0.16.10.5-fe1f2c010383
  157. lovetox depending on server config
  158. mdosch 0.16.10.5-fe1f2c010383 for me too :-/
  159. mdosch same version mine didn't throw an error
  160. lovetox mimi89999, can you go to gtkgui_helpers.py
  161. lovetox and change the line
  162. lovetox 859:
  163. lovetox col.pack_start(cell, True, True, 0)
  164. lovetox to:
  165. lovetox col.pack_start(cell, True)
  166. lovetox then try again
  167. mimi89999 <!-- Out jeu. 27 juil. 2017 21:14:49 CEST --> <a xmlns="urn:xmpp:sm:3" h="4794" /> <!-- Out jeu. 27 juil. 2017 21:14:53 CEST --> <iq xmlns="jabber:client" to="conference.lebihan.pl" from="michel@lebihan.pl/Gajim" type="set" id="3ac2c5be-d9fc-42de-af45-bf0af6085ef0"> <command xmlns="http://jabber.org/protocol/commands" node="http://prosody.im/protocol/muc#destroy" action="execute" /> </iq> <!-- Out jeu. 27 juil. 2017 21:14:53 CEST --> <r xmlns="urn:xmpp:sm:3" /> <!-- In jeu. 27 juil. 2017 21:14:53 CEST --> <iq id='3ac2c5be-d9fc-42de-af45-bf0af6085ef0' type='result' to='michel@lebihan.pl/Gajim' from='conference.lebihan.pl'> <command status='executing' sessionid='36fd0cb9-582d-4029-a19c-93d8f7d22eef' node='http://prosody.im/protocol/muc#destroy' xmlns='http://jabber.org/protocol/commands'> <x type='form' xmlns='jabber:x:data'> <title>Destroy rooms</title> <instructions>Select the rooms to destroy</instructions> <field type='hidden' var='FORM_TYPE'> <value>http://prosody.im/protocol/muc#destroy</value> </field> <field type='list-multi' label='Rooms to destroy:' var='rooms'> <option label='redacted@conference.lebihan.pl'> <value>redacted@conference.lebihan.pl</value> </option> <option label='conference.lebihan.pl'> <value>conference.lebihan.pl</value> </option> <option label='redacted@conference.lebihan.pl'> <value>redacted@conference.lebihan.pl</value> </option> <option label='redacted@conference.lebihan.pl'> <value>redacted@conference.lebihan.pl</value> </option> <option label='redacted@conference.lebihan.pl'> <value>redacted@conference.lebihan.pl</value> </option> <option label='redacted@conference.lebihan.pl'> <value>redacted@conference.lebihan.pl</value> </option> <option label='test@conference.lebihan.pl'> <value>test@conference.lebihan.pl</value> </option> <option label='redacted@conference.lebihan.pl'> <value>redacted@conference.lebihan.pl</value> </option> <option label='redacted@conference.lebihan.pl'> <value>redacted@conference.lebihan.pl</value> </option> <required/> </field> </x> <actions execute='complete'> <next/> <complete/> </actions> </command> </iq> <r xmlns='urn:xmpp:sm:3'/>
  168. mimi89999 I just captured the stanza if you are interested...
  169. lovetox yeah you get many rooms, we need a list
  170. lovetox mdosch maybe doesnt get many rooms he doesnt need a list
  171. lovetox thats why the code isnt triggered
  172. mimi89999 The following rooms were destroyed: test@conference.lebihan.pl
  173. mimi89999 lovetox‎: Works now. Thanks
  174. lovetox good, i push this later
  175. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *f449acd8* <https://dev.gajim.org/gajim/gajim/commit/f449acd8156c10fdba4f03b40f43431bb29c7192> Refactor MamDecryptedMessageReceivedEvent - Condition type = groupchat is not needed because we drop messages type groupchat that come from the user archive. To get these messages we will query the MUC. - Because of this the logging method save_if_not_exists() can be much simpler
  176. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *914935f8* <https://dev.gajim.org/gajim/gajim/commit/914935f86426fa7b9f969c775ae2e7466d9d6586> Use right amount of arguments on pack_start
  177. lovetox mdosch that mam problem should be fixed now
  178. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *1e313cc7* <https://dev.gajim.org/gajim/gajim/commit/1e313cc7e286cf20ee589e6856a0be8a891fb7f1> Improve getting own jid We get our full JID on the bind event. After that it is saved in the `registered_name` attr on the Connection Object. In case the bind never occured we get the bare JID from config.
  179. andrey.g I closed gajim today at about 14:30 and started an hour later. Since then gajim gives me an error "Group chat conversations@conference.siacs.eu does not exist" during joining. What could be wrong?
  180. bot Yann Leboulanger pushed 2 commits to branch _refs/heads/xep-0319_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *2eed7a63* <https://dev.gajim.org/gajim/gajim/commit/2eed7a63beefd6ac3a6c4de5b15c32554e43a669> send idle info even when we manually set a non-online presence. *22903cac* <https://dev.gajim.org/gajim/gajim/commit/22903cacfa3a15272be300f6393ace5aa73bec59> use autoaway config option instead of send_idle_time to attache idle element to presence
  181. lovetox andrey.g, the group chat is not available
  182. lovetox try a restart, if you get the same message, the server has a problem
  183. lovetox either your server connecting to the muc
  184. lovetox or the server hosted the muc
  185. andrey.g lovetox, thanks. Restart of Gajim? Is there a significant difference to rejoin? Strange, jabber.ccc.de can connect to 6 different MUCs, but not anymore to the mentioned one. I tried an account on another jabber server and it did work.
  186. lovetox it can happen that server have s2s problems
  187. lovetox you should talk to Holger, or a jabber.ccc.de admin
  188. lovetox i recommended a restart of gajim, as i wanted to rule out any gajim bugs
  189. lovetox the muc is up
  190. lovetox im in it
  191. andrey.g Restarted, no change.
  192. andrey.g > or a jabber.ccc.de admin This would be a problem, since there is no admin in the support room and the server web-page hasn't been reloaded after big comeback, so I couldn't find who to contact.
  193. andrey.g Interesting, that my nickname is still visible in the conversations' MUC, isn't it?
  194. andrey.g What is Holger responsible for?
  195. mdosch >lovetox‎: mdosch that mam problem should be fixed now great, will check the new nightly tomorrow :)
  196. lovetox the conversations server
  197. lovetox he could probably tell you from the logs maybe whats wrong with jabber.ccc.de
  198. lovetox yeah maybe they have a muc
  199. lovetox twitter or facebook
  200. lovetox with jabber its gennerelly bad if you cant get a hold of your server admin