Gajim - 2017-07-26


  1. Link Mauve lovetox, when I connect on master I have a bunch of these: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch handler['func'](session, stanza) File "/usr/lib/python3.6/site-packages/gajim/common/connection_handlers.py", line 1778, in _messageCB conn=self, stanza=msg, account=self.name)) File "/usr/lib/python3.6/site-packages/gajim/common/nec.py", line 76, in push_incoming_event self._generate_events_based_on_incoming_event(event_object) File "/usr/lib/python3.6/site-packages/gajim/common/nec.py", line 98, in _generate_events_based_on_incoming_event if new_event_object.generate(): File "/usr/lib/python3.6/site-packages/gajim/common/connection_handlers_events.py", line 1258, in generate result=result)) File "/usr/lib/python3.6/site-packages/gajim/common/nec.py", line 76, in push_incoming_event self._generate_events_based_on_incoming_event(event_object) File "/usr/lib/python3.6/site-packages/gajim/common/nec.py", line 98, in _generate_events_based_on_incoming_event if new_event_object.generate(): File "/usr/lib/python3.6/site-packages/gajim/common/connection_handlers_events.py", line 1103, in generate self.stanza_id, self.mam_id, self.query_id) TypeError: unsupported format string passed to NoneType.__format__
  2. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *a5480eb1* <https://dev.gajim.org/gajim/gajim/commit/a5480eb167b567dd4f0f00c8e81a54d4f168c332> Add ServerInfo Dialog *3a4a97db* <https://dev.gajim.org/gajim/gajim/commit/3a4a97dbf86cee63dec8c461cd43734ea48cdd69> Merge branch 'serverinfo' into 'master' Add ServerInfo Dialog See merge request !107
  3. Link Mauve And then 25/07/17 23:09:40 (E) nbxmpp.dispatcher_nb Invalid XML received from server. Forcing disconnect.
  4. lovetox you need nbxmpp HEAD
  5. Link Mauve I am using it.
  6. Link Mauve Built just two minutes before.
  7. lovetox thats bad then
  8. lovetox let me see
  9. Link Mauve Agree. :)
  10. lovetox lol thats the format on the debug message failing
  11. lovetox :D
  12. Link Mauve ^^'
  13. lovetox i didnt though one of these can be none
  14. lovetox are you testing this on jabber.fr?
  15. Link Mauve jabberfr.org, the super premium domain~
  16. Link Mauve But served by the same service, with exactly no difference. :D
  17. lovetox hm
  18. lovetox i cant reproduce this, there has to be a MAM stanza
  19. lovetox either without id attr, query id or mam id
  20. lovetox all of which i thought should be impossible
  21. lovetox or if you use SID, can it be then that there is no id attr in the message anymore?
  22. lovetox oh yeah thats it
  23. lovetox again failing because i didnt know one of the 380 xeps by heart
  24. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ <https://dev.gajim.org/gajim/python-nbxmpp>: *d243ce9c* <https://dev.gajim.org/gajim/python-nbxmpp/commit/d243ce9cf793898db4d99ccc5fbc653e82e7e9d4> Update Namespaces
  25. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *7f0bcbb5* <https://dev.gajim.org/gajim/gajim/commit/7f0bcbb5bf2e8faf4136767714d8d08912520683> Correctly set stanza-id for received MAM messages The gaol why we need to determine what ID should be used as stanza-id, is so we can use the stanza-id in the future for deduplication. Case we are the sender: Either we look for a origin-id element, which we will include in the Future in all messages we send, or until then the ID we set on the message as attr. Case we are the receiver: If our server supports mam:2 we take the ID of the result element, because mam:2 injects the archive ID live into every message we receive. If we dont have mam:2 we fall back to the ID of the message attr.
  26. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *9d6e3f43* <https://dev.gajim.org/gajim/gajim/commit/9d6e3f432307dc3a250cb97640bf04b5b79a3606> Get the ID attr of origin-id instead of the Node
  27. stp Hello, I'm running 0.16.8 on KDE neon. Does anybody know how I can show the MUCs I'm part of in the contact list? I only see my single person contacts there.
  28. lovetox stp, click on the configuration symbol in the chat window, and select "minimize on close"
  29. mimi89999_0 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 498, in dispatch handler['func'](session, stanza) File "/usr/share/gajim/gajim/common/connection_handlers.py", line 1778, in _messageCB conn=self, stanza=msg, account=self.name)) File "/usr/share/gajim/gajim/common/nec.py", line 76, in push_incoming_event self._generate_events_based_on_incoming_event(event_object) File "/usr/share/gajim/gajim/common/nec.py", line 98, in _generate_events_based_on_incoming_event if new_event_object.generate(): File "/usr/share/gajim/gajim/common/connection_handlers_events.py", line 1268, in generate result=result)) File "/usr/share/gajim/gajim/common/nec.py", line 76, in push_incoming_event self._generate_events_based_on_incoming_event(event_object) File "/usr/share/gajim/gajim/common/nec.py", line 98, in _generate_events_based_on_incoming_event if new_event_object.generate(): File "/usr/share/gajim/gajim/common/connection_handlers_events.py", line 1067, in generate if self.msg_.getType() == 'groupchat': File "/usr/lib/python3/dist-packages/nbxmpp/simplexml.py", line 508, in __getattr__ raise AttributeError AttributeError
  30. mimi89999_0 lovetox:
  31. stp I just installed the current stable portable of Gajim on my Windows machine and also installed OMEMO plugin. However in the chat windows nothing OMEMO related appears. Any hints?
  32. anotheragency stp: try talking to someone who has OMEMO maybe?
  33. stp lovetox: thank you, but isn't it possible to have the MUC show up in the contact list even if it's open?
  34. stp anotheragency: Trying to send from Gajim on a Linux-PC says that I have to trust fingerprint of my contact first. But I already did that.
  35. stp anotheragency: Sending the same contact from Conversations an OMEMO-message works, but the message only appears on Windows PC, not on Linux PC
  36. anotheragency do you have write permissions to ~
  37. stp anotheragency, Do you mean the home directory of the Linux PC?
  38. anotheragency yes, presumably that is where the info is stored
  39. anotheragency what does the console say
  40. stp anotheragency, I generally have write permission to home directory, but I now wonder if maybe some permissions of the Gajim userdata files got changed in the process of backing up and restoring them from an NTFS-drive.
  41. stp anotheragency, Which console do you mean?
  42. anotheragency stp: start gajim from the terminal, preferably with debugging flags on
  43. stp anotheragency, Started Gajim with loglevel debug now I hope that's what you meant. BTW everything is working perfectly with all three devices when I write to myself!
  44. stp anotheragency, on the console it says that python-qrcode is not available. Is that messing up OMEMO or is that really just for showing the QR-code on one of the dialogs?
  45. anotheragency install that with pip or the package manager
  46. anotheragency though it sounds unrelated
  47. stp anotheragency, I did install python-qrcode and python-future like recommended in the Wiki. After that Gajim crashing, telling me it needs python-nbxmpp to run. Strange! I'll install that package now
  48. stp anotheragency, Did install try to install python-nbxmpp, package manager then wanted to remove gajim-nightly alltogehter. I did that and now installed the stable. It works now with OMEMO!
  49. anotheragency stp: n1
  50. anotheragency stp: try to help out with translation https://translate.gajim.org/ :)
  51. anotheragency https://dev.gajim.org/gajim/gajim/wikis/development/DevTranslate
  52. stp anotheragency, I registered for Pootle instantly, still waiting for e-mail from them
  53. int my registration mail seemed to be arrive before i clicked the button ;)
  54. stp Hm, OMEMO buttons on Windows chatwindow is gone again :-(
  55. stp I now have the mobile device of one of my contacts in my hand. The contacts don't get the new fingerprints from my two Gajim clients. How is one supposed to initiate that?
  56. stp All I get to work is chatting OMEMO-encrypted with myself across my 3 devices. It worked when I last tried Gajim at the beginning of 2016 so I wonder what changed. I'm certainly out of ideas now.
  57. stp I also wanted to ask in another MUC about this but I now get "Error 500: You have joined too many conferences". Why is that, I have just 9 MUCs!
  58. lovetox thats a error from your server probably
  59. lovetox we dont have error codes in gajim
  60. lovetox how many contacts do you have that use omemo?
  61. lovetox do you see the omemo symbol in none of the chatwindows?
  62. lovetox means does it work with no one
  63. lovetox is your contact online?
  64. lovetox if you start the windows client with -l gajim.plugin_system.omemo=DEBUG you should see a gajim.log in your userdata folder
  65. lovetox it should tell you from what contact we received keys and from which we dont
  66. lovetox this seems like a problem with publishing the keys
  67. lovetox either your contact has no keys published, or the server for some reason doesnt let you know about it
  68. lovetox right click on the contact -> manage contact -> Subscription
  69. lovetox see if both options are greyed out
  70. lovetox stp,
  71. stp lovetox: I thought Error 500 must be from Gajim, because I have the same MUCs running in Conversations and there I never got that error.
  72. lovetox its a limit by your server
  73. lovetox https://www.ejabberd.im/node/5115
  74. stp lovetox: O have 9 OMEMO-contacts, I currently see no OMEMO-buttons for any of them on both the Windows and Linux computers.
  75. lovetox then please get me that debug log
  76. stp lovetox: I tried with contacts who are online and offline ones as well.
  77. lovetox are they all on the same server?
  78. stp lovetox, Should I try the -l gajim.plugin_system.omemo=DEBUG while both PCs are online or just the Windows one?
  79. lovetox it doesnt matter, you can do this only from your linux maschine
  80. lovetox its probably easier and you see console output
  81. stp lovetox, Ok! BTW I just saw that I also tried with contacts that can see my online status and ones that don not. I'll present the log shortly.
  82. lovetox stp omemo works only when you have both, full subscription
  83. stp lovetox, If that is the case it should be mentioned in the GUIs. Both Gajim and Conversations don't tell that to the user. Is that only the case for initial fingerprint exchange, because I used OMEMO with contacts that don't see my status successfully up until today (only using Conversations in that time)?
  84. stp lovetox, What does full subscription mean: I always had "Grant presence updates" enabled in Conversations, but for some contacts I had "Preemptively grant subscription request" disabled. Would that be detrimental to OMEMO already?
  85. lovetox yes
  86. lovetox i dont know the specifics in conversastions
  87. lovetox but your contact has to be allowed to see your online status
  88. lovetox and you have to see his
  89. lovetox its not just about online status
  90. lovetox this also allows him to get your keys
  91. lovetox now under certain cirumstances its possible that omemo builds a session also if only one has the right to see the status
  92. lovetox but thats tricky and error prone
  93. lovetox generelly it makes no sense in todays times when you have a smartphone, to disallow someone to see your online status
  94. lovetox i mean your phone is online the whole time
  95. lovetox if he sees you offline the whole time, or online the whole time doesnt make a difference
  96. stp lovetox, I does make a difference, since it's not online all the time. I had someone adding 1 and 2 together once and since then I disabled sending my status for some contacts.
  97. lovetox thats most likely the source of your problems with omemo
  98. lovetox but its still strange that you can chat with no one
  99. lovetox so i still would like to see the debug log
  100. stp lovetox, Yes, I have trouble to get the log.
  101. lovetox on linux?
  102. lovetox just do "gajim -l gajim.plugin_system.omemo=DEBUG"
  103. lovetox in the console
  104. Flow > ‎lovetox‎: if he sees you offline the whole time, or online the whole time doesnt make a difference Not sure about that. See e.g.: ‎https://www.onlinestatusmonitor.com/
  105. Flow The only reason OMEMO requires others to see your presence is that the PEP node is usually not configured in whitelist mode
  106. lovetox i know, but we are not gonna solve this today, tomorrow, or next week, so its not useful in helping stp to get omemo running
  107. stp lovetox, Is it ok to post the log just in here or upload somewhere?
  108. lovetox please upload it to pastebin
  109. stp While I was generating the log I did the following: Start Gajim from terminal on Linux, that resulted in the OMEMO-buttons re-appear. Then I allowed presence subscription for one contact that I knew was online and would answer. Sending that contact a test message and voila, everything worked. I even got the message on the WIndows client, however and that point there were no OMEMO-buttons on the Windows instance and I also had not trusted the fingerprint! I then restarted the Windows client and it instantly asked my about trusting that contacts fingerprint. Since the re-start the OMEMO-buttons are also back. As I said I had tested all this with another contact who was allowed to see my status a few hours ago, but that did not work. However, allowing others to see my status and re-starting the Gajim-clients in certrain moments seems to do the trick. Now I have to tell everybody to allow others to see their status.
  110. lovetox yeah, we are working on making subscription not a must have anymore
  111. stp Something went horribly wrong with my last message and it's sad since I wrote so much :-(
  112. lovetox why whats wrong?
  113. stp Or was it completely readable for you?
  114. lovetox i read it all
  115. lovetox yes the chat makes long posts apear in a pastbin link
  116. lovetox https://conference.gajim.org:5281/pastebin/81826e2e-c740-4f4c-9166-94b8e346f369
  117. stp Oh ok, I see only part of it and a pastebin link instead
  118. lovetox yeah click the link then you can read it :)
  119. stp Oh ok, I never experienced that!
  120. lovetox yeah i actually dont like it that much
  121. lovetox but its good when people post long logs
  122. stp It's awful, it doesn't even look like you can click on it but sure enough my browser has a lot of tabs open now
  123. stp I don't know if the log I generated is still useful and I also hesitated to put it on pastebin because it contained private data
  124. lovetox so stp, just do presence subscription for now, i think in the next month or two we will solve this problem, and you can go back to disallowing your contacts status
  125. lovetox no let it be, its like i suspected a problem with subscription
  126. stp Ok, so should I also avoid posting bugreports for Gajim and Conversations that would contain adding a GUI-message about the OMEMO-requirement?
  127. lovetox yes, because we work on making them not a requirement anymore
  128. stp I'm testing now with various contacts and the only thing not working is that my own messages written on the Windows client appear on the Linux side.
  129. lovetox did you trust your own fingerprint?
  130. lovetox its in the "own devices tab"
  131. lovetox int the fingerprint window
  132. stp Yes all there and green on both PCs and the Android device
  133. lovetox so you see 2 fingerprints under the own tab?
  134. stp Yes, but I just discovered that it seems to be unrelated to OMEMO strangely enough, because unencrypted messages sent by myself from Windows also don't appear on the Linux side
  135. lovetox and the other way around?
  136. lovetox from linux -> windows
  137. stp Other way around works, even with OMEMO enabled!
  138. lovetox are you writing yourself?
  139. lovetox or are you testing this with another contact
  140. stp no with multiple other contacts
  141. lovetox and what version of gajim do you use on linux?
  142. stp First time I discover a problem with unencrypted stuff :-)
  143. stp 0.16.8 on both Win and Linux
  144. lovetox are you sure that your messages are not in history ?
  145. lovetox check the history window
  146. stp GTK+ version differs between the two, 2.24.30 on Linux and 2.24.10 on Windows
  147. lovetox should not matter
  148. lovetox i dont know maybe restart the two clients, seems like a weird problem
  149. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ <https://dev.gajim.org/gajim/python-nbxmpp>: *2eddb1b2* <https://dev.gajim.org/gajim/python-nbxmpp/commit/2eddb1b22464704208a06da8d7c0fadf904cc730> Update ChangeLog
  150. stp I restarted both clients, no difference sadly
  151. lovetox so open the xml console on linux, send a message on windows
  152. lovetox and see if it reaches the client
  153. stp No reaction in XML-console and in addition lost ability to send OMEMO to a contact that worked just minutes ago. Seems to be a problem on the Linux client's side
  154. stp Linux-system sadly out of battery now, so testing has to continue tomorrow. Still waiting for that registration mail from that translate-service, too.
  155. lovetox send me your email adress as a pm, i give it to the admin and ask him whats up with it
  156. Asterix Hi lovetox
  157. Asterix About the nbxmpp problem: When Gajim require a newer version of nbxmpp, like now, you should update nbxmpp version, and update the min version in Gajim
  158. lovetox i think we agreed on this for stable versions
  159. lovetox but on nightly it always pulls the nightly package from nbxmpp
  160. lovetox so the difference would be, that users get a message they need a higher nbxmpp version, but there is no higher one, because the package build failed
  161. lovetox its slightly better, but has the same consequenz they cannot use it
  162. lovetox and beein a dev version ..
  163. lovetox but yeah i can push a new version
  164. Asterix hmm ok
  165. Asterix I now get a lot of : 26/07/2017 21:52:26 (E) gajim.c.connection_handlers_events Could not retrieve stanza-id
  166. lovetox yeah i fix it in a minute, i wanted all day long
  167. Asterix ok
  168. Asterix perfect
  169. Asterix also could I Send you a patch so we can test it?
  170. lovetox yeah of course
  171. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ <https://dev.gajim.org/gajim/python-nbxmpp>: *9a9feb44* <https://dev.gajim.org/gajim/python-nbxmpp/commit/9a9feb44e96d7fee243b6a7b417fd6b0c79a8658> Prepare 0.5.7 release
  172. Asterix hehe no problem for the new version, but I Was ok not to update it ;)
  173. lovetox nah there is really no reason to not upgrade it, we should really go for more atomic version updates
  174. Asterix yep
  175. Asterix this mean release a new version
  176. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ <https://dev.gajim.org/gajim/python-nbxmpp>: *d927f8df* <https://dev.gajim.org/gajim/python-nbxmpp/commit/d927f8dfb20d9ed679dde0b05df05d021a90b7de> add XEP-0319 namespace
  177. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/xep-0319_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *c02c430f* <https://dev.gajim.org/gajim/gajim/commit/c02c430f0454a94ef35696db4fc0c9e76423ec44> Do not use XEP-0012 anymore to know idle time. Use XEP-0319
  178. mimi89999 > Traceback (most recent call last): https://conference.gajim.org:5281/pastebin/ffb2f110-642f-4371-a2e3-ac0002a3ef06 lovetox: Did you look at that?
  179. Asterix mimi89999, yes, you need a newer python-nbxmpp
  180. Asterix debian build was broken last night
  181. mimi89999 Asterix: Did you package it?
  182. Asterix should be ok this night