Gajim - 2014-02-23


  1. bot RSS: Feeds for Gajim • Ticket #7665 (OTR plugin does not always encrypt) created Bug description I am using the OTR plugin available from the build in plugin manager. It seems to work fine but sometimes the people with I am writing gets the error message that my message is not encrypted. After some more messages and some "refresh OTR" clicks and/or restarting Gajim (or in the worst case removing and re-adding the contact) it works. Sometimes. Sometimes not. My […] https://trac.gajim.org/ticket/7665
  2. bot RSS: Feeds for Gajim • Ticket #7665 (OTR plugin does not always encrypt) closed invalid: it's not a Gajim thing but a plugin thing. There is a special bug tracker for plugins ​here. Could you re-open your issue there? https://trac.gajim.org/ticket/7665#comment:1
  3. Link Mauve Better. :)
  4. Link Mauve Asterix, hello!
  5. hoedlmoser is for https://trac.gajim.org/ticket/7616#comment:3 a patch for the OTR plugin in the queue?
  6. Patrik Marschalik Asterix, I think this https://paste.gajim.org/view/eb99ce67 is the output you wanted to see. Thanks for your help.
  7. Asterix Patrik Marschalik, yes that's it. If there is nothing after that, this means that pollout is not called, so TCP connection is a bit strange. The server is something special?
  8. bot RSS: Feeds for Gajim • Ticket #7665 (OTR plugin does not always encrypt) updated Ok, done. Thank you for the hint to the plugins bug tracker (I didn't knew that it exist) https://trac.gajim.org/ticket/7665#comment:2
  9. bot RSS: Feeds for Gajim Plugins • Ticket #91 (OTR plugin does not always encrypt) created I am using the OTR plugin available from the build in plugin manager. It seems to work fine but sometimes the people with I am writing gets the error message that my message is not encrypted. After some more messages and some "refresh OTR" clicks and/or restarting Gajim (or in the worst case removing […] https://trac-plugins.gajim.org/ticket/91
  10. Patrik Marschalik Asterix, thanks. I think it is an openfire server on a windows machine, but I am not sure. Is there anything I could ask the admins? I suspect they are not so interested in this issue, since there are clients which work. So if you have a suggestion that I can tell the admins I would be very grateful.
  11. Asterix the strnge thing is that it's probably not the only openfire server Gajim users connect to, and it's the only one that causes problem.
  12. Patrik Marschalik there are a lot other things that causes problems there. ;-) But I really want to use this account under gajim. the strange thing is that problem occurs before the server ask for the password. If I wait for about 10 minutes there comes a messages about an insecure connection. If I confirm, again nothing happens.
  13. Link Mauve Asterix, I’m currently implementing JingleFT into poezio, how can I use it from Gajim?
  14. Asterix Link Mauve, Gajim uses it if other client announce it via caps
  15. Link Mauve Ok, in my sample SleekXMPP client I hadn’t enabled caps.
  16. Link Mauve Thanks. :)
  17. Link Mauve It still tries to use SI, even if that client doesn’t advertise it.
  18. Asterix Gajim should have the button insensitive if other client doesn't support FT t all
  19. Link Mauve No, it was active.
  20. Link Mauve Woohoo, it works! \o/
  21. Asterix strange. I have a contact on which the icon is grey
  22. Asterix jingle FT?
  23. Link Mauve Yeah.
  24. Asterix cool!
  25. Link Mauve In the Gajim->SleekXMPP direction.
  26. Asterix with IBB fallback?
  27. Asterix and ability to use sender or receiver proxies?
  28. Link Mauve I have only implemented ibb, yeah.
  29. Asterix ha ok
  30. Link Mauve My main goal isn’t JingleFT, it iss Jingle XML Streams, to have a way to do end to end encryption that doesn’t suck.
  31. Link Mauve 247 and XTLS.
  32. Link Mauve Hmm, Gajim answers two iq:result to a same session-accept.
  33. Link Mauve This seems very illegal.
  34. Link Mauve <!-- In dim. 23 févr. 2014 17:50:06 CET --> <iq id='cb8c7475-9188-4103-8de7-c51072f8b06f-6' type='set' to='linkmauve@think.linkmauve.fr/Gajim' from='linkmauve@think.linkmauve.fr/jingle'> <jingle xmlns='urn:xmpp:jingle:1' initiator='linkmauve@think.linkmauve.fr/Gajim' action='session-accept' sid='32'> <content creator='initiator' name='fileMWS3DN812IR6UBTE'> <description xmlns='urn:xmpp:jingle:apps:file-transfer:3'> <offer> <file xmlns='http://jabber.org/protocol/si/profile/file-transfer'> <name>resume</name> <date>2013-02-21T08:19:02</date> <size>75</size> <tag/> <desc/> </file> </offer> </description> <transport block-size='4096' xmlns='urn:xmpp:jingle:transports:ibb:1' sid='33'/> </content> </jingle> </iq> <!-- Out dim. 23 févr. 2014 17:50:06 CET --> <iq xmlns="jabber:client" to="linkmauve@think.linkmauve.fr/jingle" from="linkmauve@think.linkmauve.fr/Gajim" id="cb8c7475-9188-4103-8de7-c51072f8b06f-6" type="result" /> <!-- Out dim. 23 févr. 2014 17:50:06 CET --> <iq xmlns="jabber:client" to="linkmauve@think.linkmauve.fr/jingle" from="linkmauve@think.linkmauve.fr/Gajim" id="cb8c7475-9188-4103-8de7-c51072f8b06f-6" type="result" />
  35. Link Mauve And there are sid issues, the one in the urn:xmpp:jingle:transports:ibb:1 transport isn’t the same as the one in the http://jabber.org/protocol/ibb open/data, and the close one is once again different.
  36. Link Mauve Asterix, did you set a limit to the number of users that can join this room?
  37. Asterix Link Mauve, yes I already saw that ...
  38. Asterix Link Mauve, no there is no limit
  39. Link Mauve It makes my implementation throw exceptions. ^^'
  40. Asterix prosody doesn't allow that
  41. Link Mauve Huh, Gajim closes the ibb stream three times, with three different sid! :o
  42. Asterix it's to be sure it's closed ;)
  43. Link Mauve Perhaps remnents of past file transfers?
  44. Link Mauve Also, 17:48:56 (E) gajim.c.ged Error while running an even handler: <bound method Interface.handle_event_file_request_error of <gui_interface.Interface instance at 0x958c14c>> Traceback (most recent call last): File "/home/linkmauve/dev/gajim/src/common/ged.py", line 93, in raise_event if handler(*args, **kwargs): File "/home/linkmauve/dev/gajim/src/gui_interface.py", line 904, in handle_event_file_request_error self.add_event(obj.conn.name, obj.jid, msg_type, obj.file_props) File "/home/linkmauve/dev/gajim/src/gui_interface.py", line 1603, in add_event gajim.events.add_event(account, jid, event) File "/home/linkmauve/dev/gajim/src/common/events.py", line 143, in add_event self.fire_event_added(event) File "/home/linkmauve/dev/gajim/src/common/events.py", line 105, in fire_event_added listener(event) File "/home/linkmauve/dev/gajim/src/chat_control.py", line 3404, in on_event_added if event.parameters['error'] == -1: TypeError: 'FileProp' object has no attribute '__getitem__'
  45. Link Mauve And now a new one: 18:11:48 (E) gajim.c.ged Error while running an even handler: <bound method RosterWindow._nec_roster_received of <roster_window.RosterWindow instance at 0x8ab8a0c>> Traceback (most recent call last): File "/home/linkmauve/dev/gajim/src/common/ged.py", line 93, in raise_event if handler(*args, **kwargs): File "/home/linkmauve/dev/gajim/src/roster_window.py", line 2639, in _nec_roster_received account) File "/home/linkmauve/dev/gajim/src/gui_interface.py", line 2197, in on_open_chat_window fjid = contact.jid AttributeError: 'NoneType' object has no attribute 'jid'
  46. Asterix first one, ok I know what it is, but second one, no.
  47. Asterix you can repro it?
  48. Asterix hmm I don't know which branch you use but not latest 0.16
  49. Link Mauve No, latest hg.
  50. Link Mauve Should I try again on 0.16b2?
  51. Link Mauve It reproduces itself each time I open Gajim.
  52. Link Mauve Asterix, Gajim never sends a session-terminate once the file is transfered and the ibb session closed?
  53. Asterix latest hg of which branch?
  54. Link Mauve Hmm, it wasn’t latest, it was 15340:6892eee71437.
  55. Link Mauve I can reproduce on 15360:5ccb2dae7ded.
  56. Asterix line is this one: if event.parameters.error == -1:
  57. Asterix so the first one you showed me is not possible
  58. Link Mauve No, fjid = contact.jid
  59. Asterix ha
  60. Link Mauve Oh, first one you said?
  61. Asterix ok, how do you repro?
  62. Link Mauve I was on the second one.
  63. Link Mauve I haven’t reproduced the first one at all.
  64. Link Mauve It indeed is “if event.parameters['error'] == -1:”.
  65. Link Mauve But since it happened, I guess it is possible. ^^
  66. sol How do I test out the Gajim MAM patch? I'm on Ubuntu 14.04, if that makes a difference...
  67. Asterix Link Mauve, this line doesn't exist in 0.16
  68. Link Mauve It’s in 15360:5ccb2dae7ded, branch gajim_0.16.
  69. Asterix sol, you need to use latest hg version or nightly version
  70. sol Asterix: Is the nightly version packaged as a deb / in a ppa? Or do I need to build it? And if I need to build it, where do I go for instructions?
  71. Asterix Link Mauve, tell me on which linle you see event.parameters['error']
  72. Asterix it is packaged on gajim.org ftp (for debian, but that should be the same on ubuntu)
  73. Link Mauve On both 3404 and 3406.
  74. Link Mauve File src/chat_control.py
  75. Asterix Link Mauve, no: https://hg.gajim.org/gajim/file/5ccb2dae7ded/src/chat_control.py
  76. Link Mauve Huh, it’s 3432 here. oO
  77. Asterix line 3432: if event.parameters.error == -1:
  78. Link Mauve hg st doesn’t give me any change.
  79. Asterix which is not if event.parameters['error'] == -1:
  80. Link Mauve I only have 3449 lines in this file.
  81. Asterix you don't have the correct version then
  82. GreenBlood HA
  83. GreenBlood Sorry.
  84. sol Thanks, Asterix.
  85. Asterix sol, no problem, feedbck welcome!
  86. Link Mauve After hg up gajim_0.16, I have the same file as you.
  87. Link Mauve I was probably on another branch.
  88. sol Where do I get to see all the MUCs I've bookmarked?
  89. sol They're not appearing in my roster...
  90. Link Mauve sol, they are in the Actions > Join a groupchat.
  91. sol Link Mauve: But I want to see what I've previously bookmarked.... Oh, and very strangely, when I click on Actions > Join a groupchat, nothing is happening. (But previously, I was able to join a groupchat)
  92. Link Mauve You don’t click on it, there is a submenu opening.
  93. sol Link Mauve: I think I found a bug, perhaps? There's no sub-menu.
  94. Link Mauve Are you on Ubuntu?
  95. sol Link Mauve: Yep. And it worked last week (when I joined a couple of MUCs).
  96. Link Mauve If you are using Unity, AFAIK they broke Gajim.
  97. sol I'm on Unity. :-/ But strangely it worked last week... I should file a bug on the Unity page?
  98. Link Mauve Probably.
  99. Asterix you have a menu that is not in Gajim but in on top of the screen or something like that?
  100. Link Mauve Asterix, what can I do to make Gajim display a notification when it receives a file tranfer?
  101. Link Mauve Currently it answers my session-initiate, and then nothing.
  102. Asterix Gajim does show a notification when we get a FT request. it pops up a dialog if "pop it up" is configured in pref dialog, else it's shown in roster
  103. Link Mauve I have neither of those. :/
  104. Asterix no tb? maybe the request is not understood by Gajim?
  105. Link Mauve Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nbxmpp/idlequeue.py", line 534, in _process_events return IdleQueue._process_events(self, fd, flags) File "/usr/lib/python2.7/site-packages/nbxmpp/idlequeue.py", line 395, in _process_events obj.pollin() File "/usr/lib/python2.7/site-packages/nbxmpp/transports_nb.py", line 426, in pollin self._do_receive() File "/usr/lib/python2.7/site-packages/nbxmpp/transports_nb.py", line 612, in _do_receive self._on_receive(received) File "/usr/lib/python2.7/site-packages/nbxmpp/transports_nb.py", line 626, in _on_receive self.on_receive(data) File "/usr/lib/python2.7/site-packages/nbxmpp/dispatcher_nb.py", line 488, in dispatch handler['func'](session, stanza) File "/home/linkmauve/dev/gajim/src/common/jingle.py", line 109, in _JingleCB self._sessions[sid].on_stanza(stanza) File "/home/linkmauve/dev/gajim/src/common/jingle_session.py", line 343, in on_stanza call(stanza=stanza, jingle=jingle, error=error, action=action) File "/home/linkmauve/dev/gajim/src/common/jingle_session.py", line 574, in __broadcast cn.on_stanza(stanza, content, error, action) File "/home/linkmauve/dev/gajim/src/common/jingle_content.py", line 117, in on_stanza callback(stanza, content, error, action) File "/home/linkmauve/dev/gajim/src/common/jingle_ft.py", line 124, in __on_session_initiate FT_content=self)) File "/home/linkmauve/dev/gajim/src/common/nec.py", line 74, in push_incoming_event if event_object.generate(): File "/home/linkmauve/dev/gajim/src/common/connection_handlers_events.py", line 2063, in generate fingerprint = secu.getTag('fingerprint') AttributeError: 'NoneType' object has no attribute 'getTag'
  106. Asterix it's also shown in chat control if it's opened
  107. Asterix ha ...
  108. Asterix this is the reason ...
  109. Link Mauve I don’t put any <security/> element right now.
  110. Asterix Gajim uses XTLS when available
  111. Link Mauve But Gajim don’t do it either.
  112. Asterix but it seems it doesn't like when it's not in the stnza ...
  113. Asterix this is a major bug
  114. Link Mauve Indeed.
  115. Link Mauve I plan to implement Jingle XML Streams btw, to have a good encrypted end to end protocol.
  116. Asterix arg still not latest hg?
  117. Asterix that's excellent
  118. Asterix I'd like to have it too.
  119. Link Mauve I am on latest gajim_0.16.
  120. Asterix you have decided if you participate to GSOC?
  121. Link Mauve I’d like to, but I’m not sure if I’d prefer XMPP, Tatoeba or SDL this year. ^^'
  122. Link Mauve Last year the first two weren’t accepted, but I didn’t get accepted either. :D
  123. Asterix ha yes I have mam patch applied
  124. Asterix https://paste.gajim.org/view/4c269185
  125. Asterix Link Mauve, is it better with this patch?
  126. Link Mauve Yes, it works. :)
  127. Link Mauve You can apply it.
  128. Link Mauve I don’t understand why Gajim returns this error though: <iq type="error" id="1b318c2f-8ff6-441a-98c3-ba244aa0b555-7" from="linkmauve@think.linkmauve.fr/Gajim" to="linkmauve@think.linkmauve.fr/jingle"><open xmlns="http://jabber.org/protocol/ibb" stanza="iq" sid="12fd046488884ada806c82b93dcf8f3c" block-size="4096" /><error code="400" type="wait"><unexpected-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">The recipient or server understood the request but was not expecting it at this time (e.g., the request was out of order).</text></error></iq>
  129. Link Mauve It’s the answer to the ibb <open/> stanza.
  130. Asterix pushed thanks
  131. Asterix hmm I don't have the stream in mind ...
  132. Link Mauve I read the XEP three times again, and I think I understand it correctly.
  133. Asterix if profile != nbxmpp.NS_FILE: self.conn.send_file_rejection(self.file_props, code='400', typ='profile')
  134. Asterix maybe ?
  135. Asterix or that: for f in self.dataform.iter_fields(): if f.var == 'stream-method' and f.type_ == 'list-single': values = [o[1] for o in f.options] self.file_props.stream_methods = ' '.join(values) if nbxmpp.NS_BYTESTREAM in values or \ nbxmpp.NS_IBB in values: break else: self.conn.send_file_rejection(self.file_props, code='400', typ='stream')
  136. bot RSS: Feeds for Gajim • Changeset [15361:53f76458ae26]: don't fail to receive a jingle FT request with no tag don't fail to receive a jingle FT request with no <security> tag https://trac.gajim.org/changeset/53f76458ae2638d0c7538f72414c53a2a07dd673
  137. Link Mauve Hmm, but there is no dataform involved in Jingle.
  138. Asterix right all that is in the part for non-jingle request
  139. Asterix what's the stanza that caused it?
  140. Link Mauve <iq type="set" id="1b318c2f-8ff6-441a-98c3-ba244aa0b555-7" to="linkmauve@think.linkmauve.fr/Gajim"><open xmlns="http://jabber.org/protocol/ibb" stanza="iq" sid="12fd046488884ada806c82b93dcf8f3c" block-size="4096" /></iq>
  141. Link Mauve bot, you are mean. :(
  142. Link Mauve bot no jiwaru. :(
  143. Link Mauve bot no ijiwaru. :(
  144. Asterix if you want to compare with what Gajim send (so disable jingle S5): https://paste.gajim.org/view/5e9f4fa0
  145. Asterix there is no jingle part here
  146. Link Mauve The Jingle negociation occured before, and was normal.
  147. Asterix ok
  148. Link Mauve This is 261 example 5.
  149. Asterix I don't see any 400 error code in Gajim code that could cause that
  150. Asterix and Gajim to Gajim, is it the same pb?
  151. Link Mauve I’m going to try.
  152. Asterix Link Mauve, any progress?
  153. Link Mauve I played a few Dungeon Keeper missions, yeah. :D
  154. Link Mauve Back to it. ^^'
  155. Asterix lol
  156. Asterix it's a long time I played that
  157. Link Mauve Me too, it was the first and only game my mother (tried to) prevent me from playing.
  158. Link Mauve She didn’t like it when I tortured my creatures.
  159. Link Mauve And since it was available for free on gog.com last week, I grabbed it for nostalgia. ^^
  160. Asterix only win and mac games there :(
  161. Link Mauve I got the mac version, and wrote a small script to extract it: http://linkmauve.fr/files/install_dk.sh
  162. Asterix it seems it's available for free on android
  163. Link Mauve Haha. :D
  164. Link Mauve http://metro.co.uk/2014/02/04/dungeon-keeper-review-microtransaction-hell-4289901/
  165. Asterix :/
  166. Asterix Score: 0/10
  167. Asterix GN
  168. Link Mauve I should sleep too.