Gajim - 2016-04-02

  1. arune Asterix: I asked AstraChat if they could fix the bug with the timestamp and they answered "Sorry we can’t help you with Gajim" probably without even looking at the report
  2. Asterix arune: LOL ok. It's fixed in Gajim, but now the bad received timestamp, like this one, will be ignored
  3. Link Mauve Gajim (default branch) doesn’t recognize’s valid certificate, should I have to do anything for it to accept Let’s Encrypt certificates?
  4. Link Mauve Asterix, also, another small bug report: the “View cert…” window displays some b'' values instead of properly decoding that to str, and nothing is selectable.
  5. Asterix Link Mauve: has let-s encrypt cert too. so it's not the problem. it seems this cert is not for for the b'', it's for validity and fingerprints, yes I See that. I'll fix that
  6. Link Mauve Yeah, it’s for actually, I never created a certificat for anon. >_<
  7. Asterix that's why Gajim is not happy
  8. Asterix but you can create a cert for all domains
  9. Asterix the cert for is that same as trac., trac-plugins., ftp., ...
  10. " is not the name of a group chat." when opening from chat bookmarks. That's after having some private chat with member of that room in other xmpp clients. Latest gajim from hg. Have "gajim -v" log.
  11. Asterix you have it in your roster it seems
  12. Link Mauve I prefer to have a separate certificate for my different domains, it’s easier to manage.
  13. Asterix, yep now it appears in "Not in roster" group. But it automatically got there, I did nothing.
  14. Asterix that would be interesting to see when it appeared and why. You maybe got a none groupchat message from it?
  15. Link Mauve Asterix, while you are at it, maybe when the certificate changed from an invalid one to a valid one don’t show a window named “SSL certificate error”.
  16. Asterix yes ... I'm aware of that
  17. Link Mauve Ok.
  18. Asterix and with let's encrypt it's very annoying as you change very often
  19. Asterix Link Mauve: ha you already changed the cert!?
  20. Link Mauve Asterix, yeah, now has a valid certificate.
  21. Asterix perfect for my tests :) I hope you don't bad IP that tries to connect too often ;)
  22. Link Mauve I don’t. :)
  23. Link Mauve Btw, I can’t reproduce anymore on GTK+ 3.20.
  24. Asterix you were able to repro before?
  25. Link Mauve Yes, I even reported it to you a few months ago.
  26. Link Mauve And if I reinstall 3.18.9 I can reproduce again.
  27. Link Mauve So I’d close it as fixed in GTK+ 3.20.
  28. Link Mauve, ^
  29. Link Mauve Hop, added a comment.
  30. Asterix thanks
  31. ok, my gtk+ is 2.24 & 3.18, so will update
  32. Link Mauve Asterix, btw, please pull for 15989:583edb66638b.
  33. bot RSS: Feeds for Gajim • Ticket #8313 (Over the line CPU usage) closed invalid: Thanks, I close as a GTK bug. Reopen if you still have problems
  34. Link Mauve Oh, this “Gdk-Message: Window 0x3528cf0 is a temporary window without parent, application will not be able to position it on screen.” error when hovering a contact, that’s probably because you are not creating the tooltip as a child of the main window.
  35. Asterix Link Mauve: if you could have a quick look at ...
  36. Asterix probably ...
  37. Asterix Link Mauve: abort: certificate error: certificate is for
  38. Link Mauve Hum, let me fix that.
  39. Asterix --insecure fixed it ... but it's .. well .. insecure :)
  40. Asterix what's that ... immutable changeset ...
  41. Link Mauve Uuh, it works fine here in Firefox.
  42. Link Mauve Ah, you are using phases? :)
  43. Asterix not with hg fom commandline
  44. Asterix no ... not as far as I know ...
  45. Asterix I wanted to rebase your changeset
  46. Link Mauve If it tells you so, then you are.
  47. Link Mauve Yeah, I didn’t push it in draft phase.
  48. Link Mauve Let me redo that.
  49. Asterix maybe because I pulled from an external repos
  50. Link Mauve Asterix, there, repushed it in draft phase.
  51. Asterix too late .. I alread y have it .. I can't remove it ..
  52. Link Mauve You can, hg strip --no-backup 15989:583edb66638b
  53. Asterix I don't understand .. they are all public ...
  54. Asterix $ hg log -l 3 --template "{rev} {phase}\n" 15988 public 15987 public 15986 public
  55. Asterix yours is 15988
  56. Link Mauve Yeah, just strip it, then pull it again, and it will be draft.
  57. Asterix nothing changed
  58. Asterix still public and still no way to rebase
  59. Link Mauve Oh, I forgot to set my repository as non-public.
  60. Link Mauve Could you strip and pull again, and tell me if that fixed it?
  61. Asterix nothing changed
  62. Asterix it's because that will break your repos if I Rebase ...
  63. bot RSS: Feeds for Gajim • Changeset [15989:a42659b8b057]: correctly decode string in view cert dialog correctly decode string in view cert dialog • Changeset [15990:939b6bc81b28]: do not warn when tls cert changes for a valid one do not warn when tls cert changes for a valid one
  64. Asterix I'll merge then
  65. Link Mauve That wouldn’t, because I published as draft.
  66. Asterix when I pulled it, it's marked as public
  67. Asterix merged and pushed
  68. Link Mauve Thanks.
  69. Asterix thanks to you!
  70. bot RSS: Feeds for Gajim • Changeset [15991:583edb66638b]: Fix a few deprecation warnings. Fix a few deprecation warnings. • Changeset [15992:f03f45a3c712]: merge merge
  71. Link Mauve Whenever I move the pointer in the messages area of some random chat with a contact, I get: Traceback (most recent call last): File "/usr/share/gajim/src/", line 921, in __motion_notify_event tags = widget.get_iter_at_location(x, y).get_tags() AttributeError: '_ResultTuple' object has no attribute 'get_tags'
  72. Link Mauve Also, when I display the contact informations, the tabs aren’t aligned at the top, only the “Comments” one is centered vertically.
  73. Asterix fixed recently
  74. Link Mauve Oh?
  75. Asterix it's because of GTK3.20
  76. Asterix or ...
  77. Link Mauve I’m on latest default.
  78. Asterix patch in a ticket ...
  79. Link Mauve Heh. ^^
  80. Asterix #8312
  81. bot Asterix: ('_ResultTuple' object has no attribute 'get_tags')
  82. Link Mauve When I have a running avahi-daemon, Traceback (most recent call last): File "/usr/lib/python3.5/site-packages/dbus/", line 604, in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/usr/share/gajim/src/common/zeroconf/", line 155, in service_resolved_callback port, self.txt_array_to_dict(txt))) File "/usr/share/gajim/src/common/zeroconf/", line 147, in txt_array_to_dict txt_dict[key] = val.decode('utf-8', 'ignore') AttributeError: 'str' object has no attribute 'decode'
  83. Asterix removing the decode will fix this one
  84. Asterix I don't think avahi can work ...
  85. Link Mauve And when I want to send a message (using the XML console): Traceback (most recent call last): File "/usr/share/gajim/src/", line 3502, in on_send_button_clicked gajim.connections[self.account].send_stanza(stanza) File "/usr/share/gajim/src/common/zeroconf/", line 384, in send_stanza self.connection.send(stanza) File "/usr/share/gajim/src/common/zeroconf/", line 758, in send to = gajim.get_jid_without_resource(to) File "/usr/share/gajim/src/common/", line 304, in get_jid_without_resource return jid.split('/')[0] AttributeError: 'JID' object has no attribute 'split'
  86. Link Mauve Oh, ok.
  87. Asterix to = str(stanza.getTo()) line 757 in
  88. Link Mauve Also if I don’t have avahi-daemon running and I click on the popup: Traceback (most recent call last): File "/usr/share/gajim/src/", line 3034, in on_popup_notification_window_button_press_event gajim.interface.handle_event(self.account, self.jid, self.msg_type) File "/usr/share/gajim/src/", line 1730, in handle_event session=session) File "/usr/share/gajim/src/", line 2228, in new_chat fjid = contact.jid AttributeError: 'NoneType' object has no attribute 'jid'
  89. Link Mauve I’m not really looking for a solution, just reporting bugs as I encounter them. :)
  90. Link Mauve Is Jingle meant to work, currently?
  91. Asterix I fix them locally ..
  92. arune Asterix: will the message be displayed still?
  93. Asterix Link Mauve: which jingle? FT? audio/video? whiteboard?
  94. Link Mauve Any/all of them?
  95. Link Mauve Wasn’t whiteboard made into a plugin?
  96. Asterix audio/video, doesn't work, but I'm not really far ... but hard to debug
  97. Asterix FT: I'm currently on it, not working nicely
  98. Asterix whiteboard, never tested
  99. Asterix I don't even remember if I ported the plugin to gtk3
  100. Asterix yes it's a plugin
  101. Link Mauve Ok.
  102. Asterix arune: which message?
  103. Asterix Link Mauve: on which notification did you press?
  104. Link Mauve Asterix, the one saying “Could not start local service Please check if avahi-daemon is running”
  105. Asterix ok
  106. Asterix I'll try to keep that in mind
  107. Asterix Also you don'ot have a notify daemon running?
  108. Asterix you have the ugly popup windows?
  109. Link Mauve Nope, I don’t.
  110. Asterix ok
  111. Link Mauve Yes, which is placed at a random location on the screen.
  112. arune Asterix: ones with wrong timestamps from AstraChat?
  113. Asterix lol
  114. Link Mauve (Weston policy.)
  115. Asterix arcade: yes now they will (with maybe the wrong time at worse)
  116. Asterix Link Mauve: does the patch in #8312 work?
  117. Link Mauve Asterix, yes, except it also needs to be done on line 921.
  118. Link Mauve Well, basically everywhere you use get_iter_at_location.
  119. Link Mauve Also, you should name your variable iter_ instead of iter, to not shadow the actual iter symbol.
  120. Link Mauve Do you want a commit?
  121. Asterix yes please
  122. Link Mauve Unrelated, happened while I was closing a chat window: Traceback (most recent call last): File "/usr/share/gajim/src/", line 3112, in show_bigger_avatar roster_x, roster_y = self.parent_win.window.get_window().get_origin()[1:] AttributeError: 'NoneType' object has no attribute 'get_origin'
  123. Link Mauve Asterix, 15993:cef215a2c388, same URL.
  124. Link Mauve Oh wait.
  125. Link Mauve Don’t pull yet.
  126. Link Mauve Please do.
  127. Asterix pushed, thanks
  128. bot RSS: Feeds for Gajim • Changeset [15993:3f1e91300a4e]: Widget.get_iter_at_location returns a 2-tuple on GTK+ 3.20, so get the … Widget.get_iter_at_location returns a 2-tuple on GTK+ 3.20, so get the actual iterator. Fixes #8312. • Ticket #8312 ('_ResultTuple' object has no attribute 'get_tags') closed fixed: fixed in [3f1e91300a4e]
  129. Link Mauve Ok, the avahi issue on going offline is due to Gajim sending an undirected <presence xmlns="jabber:client" type="unavailable" /> instead of a Multicast DNS "Goodbye" packet.
  130. Asterix Link Mauve: so except that, it's working? I thought avahi was not working on py3 and we have ti switch to some other packet
  131. Link Mauve I’m not totally sure.
  132. Asterix funny that this doesn't behave correctly, this hasn't changed since we have avahi (like 10 years ago)
  133. Link Mauve It connects, after a few fixes.
  134. Asterix I can pull your changeset?
  135. Asterix if you start 2 gajim, you can chat between both via avahi?
  136. Link Mauve Not yet, but they both see each other connecting.
  137. Asterix not that bad
  138. Asterix there is no python-avahi for py3 (in debian) it's python3-zeroconf, and it's not the same implementation at all
  139. Link Mauve In ArchLinux, it’s just provided by avahi.
  140. Link Mauve NotifyNotification has changed too, so I can’t use libnotify.
  141. Link Mauve It complains that notification.set_data() doesn’t exist.
  142. Link Mauve Well, tracebacks there.
  143. Asterix notification daemon should work as we communicate with it via dbus
  144. Link Mauve So far I haven’t found any other way to transmit data in a notification.
  145. Link Mauve You import Notify from gi, though.
  146. Asterix we try both solutions
  147. Asterix pynotify or dbus
  148. Link Mauve If I have libnotify installed, Gajim will traceback there.
  149. Asterix it tries it first IIRC
  150. bot RSS: Feeds for Gajim • Changeset [15994:d9e620e58654]: fix file hash error event fix file hash error event
  151. Asterix jingle FT works ok. Only the xtls part causes trouble. It stops transfer before the end
  152. Link Mauve \o/
  153. Link Mauve Asterix, please pull
  154. Asterix ok thanks
  155. Asterix always insecure ..
  156. Link Mauve Here it works fine, maybe your distribution doesn’t ship the Let’s Encrypt CA ?
  157. Link Mauve Here it works fine, maybe your distribution doesn’t ship the Let’s Encrypt CA?
  158. Asterix it works in https
  159. Asterix warning: certificate with fingerprint 50:96:30:8c:3e:96:f7:d1:80:30:80:e6:57:8f:d9:c0:2d:13:70:8a not verified (check hostfingerprints or web.cacerts config setting)
  160. Asterix oups no
  161. Asterix this is with --insecire
  162. Asterix without I have that: abort: certificate error: certificate is for
  163. Asterix so wrong cert
  164. Link Mauve Hmm, maybe your hg version didn’t support SNI?
  165. Asterix 3.1.2
  166. Link Mauve
  167. Link Mauve Is your python2 version higher than 2.7.9rc1?
  168. Asterix it's 2.7.9
  169. Asterix so I guess it's not a rc
  170. Link Mauve Should work then, I don’t know why yours doesn’t support SNI.
  171. Link Mauve Asterix, what’s the status with nbxmpp.protocol.JID vs. using a simple str, for JIDs?
  172. Asterix when we use nbxmpp functions, they return a JID object. In Gajim we always use str
  173. Link Mauve Ok.
  174. Link Mauve You never do any stringprep?
  175. Asterix yes we do of course, everytime we receive a stanza
  176. Asterix and before to check jid that we create, like room jids or jid we add ...
  177. Link Mauve That seems super error-prone.
  178. Link Mauve The zeroconf stuff seems very broken, code-wise. :|
  179. fuckin trac spam filter has just thrown away my reply on bugticket. Not fuckin offering any captcha. No fuckin browsing back to save my text.
  180. Asterix I'll post your comment
  181. Asterix, thanks
  182. sorry for obscenity
  183. Asterix ha I think I fixed the FT over XTLS...
  184. Asterix but time to leave, I'll clean and commit later
  185. Asterix good evening