Gajim - 2017-12-19


  1. bot Marc Schink proposed a new merge request for _gajim/master_ <https://dev.gajim.org/gajim/gajim/merge_requests/177>: Add support for XEP-0368
  2. bot Marc Schink updated a merge request for _gajim/master_ <https://dev.gajim.org/gajim/gajim/merge_requests/177>: Add support for XEP-0368
  3. bot Marc Schink proposed a new merge request for _gajim/master_ <https://dev.gajim.org/gajim/gajim/merge_requests/178>: PlainConnectionDialog: Fix sensitivity logic
  4. rom1dep > To make the feature more "explicit" or visible, it should also be available in the "manage contact" submenu. No idea, how it can be done nicely, though. "Merge contacts" ?
  5. bot kr428 created an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8814>: #8814: <Permanently high CPU load>
  6. debacle What is the essessions plugin for?
  7. debacle What is the esessions plugin for?
  8. Asterix It's another e2e encryption protocol. Deprecated and only implemented by Gajim
  9. debacle Asterix, thanks, so I will not package it for Debian. We have OMEMO and OpenPGP already :~)
  10. bot Daniel created an issue in _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins/issues/249>: #249: <[client_icons] Error in Gajim 0.98.2, Plugin does not start>
  11. ingolf Guten Morgen, kannst du dich daran erinnern, ob wir den Außen Wasserhahn in Goyatz abgelassen haben? Ansonsten, die Pumpe ist ausgeschaltet, im Bad sind 3,2 C
  12. apollo13 *kopfkratz*
  13. apollo13 ingolf, eventuell falscher channel?
  14. ingolf Guten Morgen, kannst du dich daran erinnern, ob wir den Außen Wasserhahn in Goyatz abgelassen haben? Ansonsten, die Pumpe ist ausgeschaltet, im Bad sind 3,2 C
  15. Asterix Please speak english
  16. apollo13 I think he just misstyped and wrote to the wrong channel :D
  17. apollo13 unless you know whether he turned of the outer water tap in goyatz
  18. zuglufttier It's freezingly cold in the bathroom, please turn the heater back on!
  19. ingolf Upps, da hat wohl mein Phone in der Hosentasche Copy & Paste gemacht😕
  20. marc :D
  21. bot Mako N created an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8815>: #8815: <When entering Japanese text the enter key doesn't work properly>
  22. bot vanitasvitae created an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8816>: #8816: <Denying subscription requests has no effect>
  23. mimi89999 Any news about the memory leaks?
  24. mimi89999 1.3GB is a lot...
  25. lovetox no mimi89999 and there will probably no news soon, because it just isnt on the priority list
  26. Johannes https://paste.gajim.org/view/1e84f4cd these appear since about a month on the otherwise pretty stable master on git master on a mac and usually lead to a crash/segfault on resume of the box
  27. Johannes and yeah, it appears that Gajim it again leaking memory leading to "oom" reports on mac too
  28. Johannes also, these appear on the current head as of now: https://paste.gajim.org/view/db7ec8a8
  29. Johannes While I don't mind the Gio warnings, it appears to me that the Gio criticals should probably be dealt with...
  30. lovetox hm johannes, do you have all plugins installed?
  31. lovetox you should delete dbus_plugin, as there is no dbus on mac or?
  32. Johannes lovetox, no there's only Clients icons, HttpUpload, Omemo, Plugin Installer, Server Status Icons and Url image preview installed and activated (according to the Plugin manager window)
  33. Johannes well, one could install dbus from brew, but there is no dbus
  34. lovetox no the traceback shows this
  35. lovetox local/share/gajim/plugins/dbus_plugin
  36. Link Mauve lovetox, dbus is just a userland program, you can install it with brew or so.
  37. Johannes I've removed the plugin from the source folder, and will restart now. However: should it not be shown in the plugin manager if it is present and obviously appears to be evaluated?
  38. Link Mauve Johannes, it’s called d-bus there.
  39. lovetox the other errors regarding plugins, are not gajim errors, i think you got send an invalid encrypted picture
  40. lovetox Johannes, it seems broken so thats why its not showing up
  41. lovetox but its also not distributed by the plugin installer, so i actually dont know how you got it
  42. Johannes it's in the source tree or has been there
  43. Johannes deleted it, the error messages at the start are gone as expected. let's see if the gio criticals disappear too
  44. lovetox yeah, and its ok there because it gets not used there
  45. lovetox the gio criticals come from the gtk dbus impl, i thought gtk maybe tells us more gracefully that there is no dbus on the system
  46. lovetox i will add a platform selector for that
  47. lovetox the one about pixbuf seems like a valid bug
  48. lovetox Client Icons are working for you?!
  49. lovetox the client icons plugin in master is not the same like in gajim0.16
  50. lovetox it was broken last time i tried
  51. Link Mauve Why don’t you install dbus there instead?
  52. lovetox what for?
  53. Link Mauve lovetox, last time I tried it it was working.
  54. Link Mauve lovetox, GLib uses it for GApplication for example.
  55. Link Mauve Also for the rest of the supported features, URI handling, music integration, location integration, etc.
  56. lovetox for music integration he would need a music player that also uses dbus
  57. lovetox i doubt there is one on mac
  58. lovetox uri handling works without dbus
  59. Link Mauve Oh, how?
  60. lovetox probably commandline?
  61. lovetox you think mac programms first have to install dbus to pass args to a running application
  62. Link Mauve I mean, the core concept of GApplication is to have an unique application started, which reserves a DBus name, and then if you try to start it another time it will send the command over DBus.
  63. lovetox it does that maybe on linux
  64. Link Mauve Maybe there is another implementation just for OS X, but I know pretty much nothing about this OS.
  65. lovetox on windows there is no dbus
  66. lovetox and you also cant start a second instance
  67. Link Mauve How is it transfered there?
  68. lovetox i dont know
  69. lovetox i know if i type gajim arg into a windows console, the arg gets transfered to the instance that is running
  70. lovetox also all unhandled args are passed to the open handler of a GApplication
  71. lovetox so in theory every programm just has to call "gajim arg" on commandline
  72. lovetox even on linux
  73. Johannes lovetox: No, upon giving it a look now: Client icons actually don't work.
  74. Johannes Also, as expected the Gio criticals are still there.
  75. Johannes I'm also sure that there's a relevant equivalent to Dbus so that one could end up with the strategy pattern with plugins for the relevant platforms ?
  76. Johannes looks like this stack overflow is helpful on the topic https://stackoverflow.com/questions/2723936/is-there-an-equivalent-to-dbus-on-osx
  77. bot Daniel proposed a new merge request for _gajim-plugins/master_ <https://dev.gajim.org/gajim/gajim-plugins/merge_requests/55>: [UrlImagePreview] Show preview beginning with a new line and add tooltip
  78. bot Yann Leboulanger closed an issue in _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins/issues/239>: #239: <[Feature Request] Translating OMEMO plugin>
  79. bot Yann Leboulanger closed an issue in _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins/issues/215>: #215: <allow more than 512 in preview size>
  80. bot Daniel updated a merge request for _gajim-plugins/master_ <https://dev.gajim.org/gajim/gajim-plugins/merge_requests/55>: [preview] Show preview beginning with a new line and add tooltip
  81. bot Philipp Hörist modified an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8816>: #8816: <Denying subscription requests has no effect>
  82. bot Philipp Hörist modified an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8814>: #8814: <Permanently high CPU load>
  83. bot Philipp Hörist modified an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8814>: #8814: <Permanently high CPU load>
  84. bot Philipp Hörist modified an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8813>: #8813: <Screen flickering on focus change>
  85. bot Philipp Hörist modified an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8810>: #8810: <Cannot sync history>
  86. bot Philipp Hörist closed an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8803>: #8803: <error when upgrading url preview plugin>
  87. bot Philipp Hörist modified an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8815>: #8815: <When entering Japanese text the enter key doesn't work properly>
  88. marc lovetox, how can I check why run-pylint and run-test failed?
  89. lovetox it fails because it didnt run
  90. lovetox i activate the runner one moment
  91. marc Ah, okay :D
  92. lovetox server is extremly slow today
  93. marc Link Mauve, how can you resolve two SRV records at the same time?
  94. Link Mauve marc, you send two requests, and wait for them together.
  95. marc Link Mauve, okay, we need a variable to track the number of responses then. Are the callback functions always called - even if a request fails?
  96. Link Mauve I haven’t touched to this part of Gio, I’d assume you get an error callback or something.
  97. marc Okay, I'll check
  98. marc Link Mauve, https://dev.gajim.org/gajim/gajim/merge_requests/178 could be just merged I think :)
  99. Invisible! Gajim support MAM (xep 313)? I use prosody server ver. 0.10 and Gajim dont load history from server. Conversations on phone do it correct.
  100. lovetox what version of gajim?
  101. Invisible! Gajim 0.16.9
  102. lovetox no it does not support prosodys mam version, use Gajim 1.0.0-alpha2
  103. Link Mauve marc, I don’t have merge rights, sorry.
  104. marc Ah :)
  105. Invisible! Thank you, where can i find this version? Pls.
  106. lovetox www.gajim.org
  107. Link Mauve marc, I only try to review PRs when I can, but I’m just a simple contributor.
  108. Invisible! Oh i see. TY)
  109. lovetox and just for info Invisible! gajim doest display history loaded with mam inside the chat window like conversations
  110. lovetox we have a history window
  111. Invisible! Thank you. I will keep it in mind
  112. Invisible! сan I intall ver. 1.0.0 right on which I have now?
  113. marc Link Mauve, that important too :) Thanks for commenting
  114. lovetox Invisible!, yes
  115. Invisible! time to update!!! X) ty.
  116. lovetox marc i try to test !178 today
  117. marc lovetox, thanks
  118. lovetox hm marc, i do not agree with what you did in 178
  119. lovetox the dialog behaves correctly in my eyes
  120. lovetox the goal was that the OK button is INsensitive
  121. lovetox so a user cant press it by accident
  122. lovetox and connect plain
  123. lovetox he has to activate the checkbox "yes i want to connect plain" first
  124. lovetox then the OK button becomes sensitive
  125. lovetox with your MR the Cancel button becomes insensitive which makes no sense
  126. Link Mauve lovetox, how can a user access ad-hoc commands from a MUC or from a bare JID?
  127. bot Philipp Hörist modified an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8658>: #8658: <Translation doesnt work on git master on Windows>
  128. Link Mauve Also, I can’t configure the MUC, it’s grayed now. :/
  129. lovetox you want to configure a muc?
  130. lovetox manage rooms -> configure room
  131. Link Mauve It’s grayed out.
  132. lovetox then you dont have the rights
  133. Link Mauve I’m also open to ad-hoc commands on the same MUC.
  134. Link Mauve I do have the rights, I can do it from poezio.
  135. lovetox then there is a bug how we discover the rights
  136. Link Mauve Might also be a bug in biboumi.
  137. lovetox ad-hoc commands on a muc, i think we dont support that
  138. lovetox only on contacts
  139. Link Mauve What are you checking for, in order to know if you can?
  140. lovetox wait i have to look
  141. Link Mauve On contacts? I can’t even right-click on them anymore, in the right pane in the MUC. ^^'
  142. lovetox not on muc contacts
  143. lovetox on roster contacts
  144. lovetox but adhoc commands are disabled in the ACE
  145. lovetox you have to first enable them
  146. lovetox for configuration this is checked : contact.affiliation in ('admin', 'owner')
  147. Link Mauve lovetox, the usecase is to configure biboumi as a user, not to configure other contacts.
  148. Link Mauve lovetox, uh, that’s a bad check, you can have some configuration even if you are neither admin nor owner.
  149. marc lovetox, I have different behaviour on my desktop ;)
  150. marc lovetox, maybe some GTK version issue?
  151. marc lovetox, have you *tested* the dialog?
  152. lovetox yes
  153. lovetox it behaves correctly for me
  154. marc okay, but why doesn't it work for me here?
  155. lovetox we could think about another way to get a ref to the OK button
  156. marc maybe it's a version issue or just random? :D
  157. lovetox maybe, either way get_children() is not a good way anyway
  158. marc lovetox, I'll upload a screenshot and try to fix it such that it works for all users :D
  159. lovetox i dont need a screenshot, i believe you
  160. lovetox this should be refactored anyway
  161. lovetox as get_action_area() is deprecated
  162. Link Mauve On latest master: https://conference.gajim.org:5281/pastebin/f5776c86-68f4-4535-a5ad-f63106a691f8
  163. Link Mauve 19/12/17 17:41:05 (E) gajim.c.message_archiving Malformed MAM query result received: <iq xmlns="jabber:client" type="result" id="f55f337a-3eac-4518-b192-6c66f7da4545" to="linkmauve@jabberfr.org/Gajim" from="#khanat%irc.freenode.net@irc.jabberfr.org" />
  164. Link Mauve It may be missing the <fin/>.
  165. Link Mauve (gajim:6654): Gtk-WARNING **: Allocating size to GtkScrolledWindow 0x5585e57c6cc0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
  166. Link Mauve Should I report these issues btw?
  167. lovetox the warning no, its a problem with gtk, and HPaned widget
  168. lovetox the MAM one, whats the problem?
  169. lovetox is fin not mandatory?
  170. bot Daniel updated a merge request for _gajim-plugins/master_ <https://dev.gajim.org/gajim/gajim-plugins/merge_requests/55>: [preview] Show preview beginning with a new line and add tooltip
  171. Link Mauve It seems to be, I reported it to biboumi.
  172. Link Mauve But still, Gajim shouldn’t traceback.
  173. lovetox it did? i thought it catched the error
  174. lovetox and printed it
  175. Link Mauve I mean the AttributeError: 'NoneType' object has no attribute 'get_offset'
  176. Link Mauve It’s a Gtk error.
  177. lovetox you think this came from that mam query
  178. Link Mauve I’m not sure.
  179. Link Mauve It’s 1s earlier, but it may be linked.
  180. Link Mauve File "/usr/lib/python3.6/site-packages/gajim/conversation_textview.py", line 1204, in print_conversation_line buffer_.insert_with_tags_by_name(iter_, '\n', 'eol')
  181. Link Mauve The iter_ here seems to be None.
  182. lovetox i guess i can catch that for now
  183. lovetox although i dont know why this would happen
  184. lovetox the iq is nothing that would be printed
  185. Link Mauve It’s probably unrelated actually, nothing should be inserted in a Gtk.TextBuffer on <fin/>.
  186. Link Mauve I’d guess it comes from the previous forwarded messages, or something.
  187. lovetox maybe i should put extensive debug output around that so next time we have a chance to find the reason
  188. lovetox ah i think i see a problem
  189. bot Daniel closed a merge request for _gajim-plugins/master_ <https://dev.gajim.org/gajim/gajim-plugins/merge_requests/55>: [preview] Show preview beginning with a new line and add tooltip
  190. lovetox Link Mauve, how likely is it that in this biboumi chat, xhtml was used?
  191. lovetox none because its irc?
  192. lovetox hm Link Mauve do you know how to print a traceback that includes all methods called?
  193. Link Mauve lovetox, likely, because IRC also supports colours and bold and such, and these get translated.
  194. Link Mauve lovetox, likely, because IRC also supports colours and bold and such, and these get translated to XHTML-IM.
  195. Link Mauve lovetox, import traceback; traceback.print_exc() maybe?
  196. lovetox hm no it just prints the chain of method calls leading to the error
  197. lovetox but not if something like len(list)
  198. lovetox was called inbetween
  199. lovetox that did not lead to an error
  200. Link Mauve Ah, you don’t want a traceback, but a trace of everything called?
  201. Link Mauve I generally use pdb for that.
  202. Link Mauve import pdb; pdb.set_trace()
  203. Link Mauve Then once you are at that point, you can use n to execute the next statement.
  204. Link Mauve p some_python_expression to see everything is correct.
  205. Link Mauve And c to continue.
  206. lovetox yeah thats nice if you can reproduce the probelm
  207. lovetox i wanted something that the user can post me
  208. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: https://conference.gajim.org:5281/pastebin/5df8b015-687d-430b-91fa-fc894b1ef55b
  209. bot Philipp Hörist merged a merge request for _gajim/master_ <https://dev.gajim.org/gajim/gajim/merge_requests/175>: GUI interface: fix resource warning
  210. bot Philipp Hörist updated a merge request for _gajim/master_ <https://dev.gajim.org/gajim/gajim/merge_requests/178>: WIP: PlainConnectionDialog: Fix sensitivity logic
  211. lovetox mimi89999, we fixed a possible memory leak with avatars
  212. marc lovetox, thanks for the pointer!
  213. lovetox if you grep the codebase for
  214. lovetox ok_button = self.get_action_area()
  215. lovetox you could maybe fix all of them
  216. marc yep
  217. lovetox marc, you dont have to create a new MR, just overwrite your fork with whatever commits you do, the MR will adapt
  218. lovetox maybe you know this already, but many closed MRs lately
  219. marc lovetox, yep I know
  220. mimi89999 lovetox: Thanks
  221. bot Daniel proposed a new merge request for _gajim-plugins/master_ <https://dev.gajim.org/gajim/gajim-plugins/merge_requests/56>: [preview] Display preview beginning with a new line and add tooltip
  222. bot Daniel closed an issue in _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins/issues/249>: #249: <[client_icons] Error in Gajim 0.98.2, Plugin does not start>
  223. bot Yann Leboulanger closed an issue in _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins/issues/171>: #171: <UrlImagePreview plugin not showing images in history window>
  224. bot Philipp Hörist closed an issue in _gajim_ <https://dev.gajim.org/gajim/gajim/issues/8810>: #8810: <Cannot sync history>
  225. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: https://conference.gajim.org:5281/pastebin/64d61ab8-eef7-4e23-9f53-63b8f5bb1af6
  226. marc lovetox, should I replace all occurences of get_action_area()
  227. lovetox yes if you have time for that :)
  228. marc lovetox, I think this may change to UI a bit since the button order of dialogs can not be specified with the new "add_button()" API of Gtk.Dialog
  229. lovetox hm i think it adds it always in the same order
  230. lovetox in that sense it can be controlled
  231. lovetox oh you mean if we add a button to already existing dialog
  232. marc lovetox, see https://dev.gajim.org/gajim/gajim/blob/master/gajim/dialogs.py#L4909
  233. lovetox wow thats really shitty hm,
  234. lovetox hm then leave it for now
  235. lovetox ah
  236. lovetox i have it
  237. lovetox set_alternative_button_order_from_array()
  238. lovetox https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/Dialog.html#Gtk.Dialog.set_alternative_button_order_from_array
  239. marc that function is deprecated :D
  240. lovetox lol
  241. marc Since 3.10
  242. marc :>
  243. lovetox hm leave it then i have to ask on irc
  244. lovetox what the idea is
  245. Asterix debacle, maybe https://dev.gajim.org/gajim/gajim/commit/3dd35f5e762dcef2cf05e325705d0e7a2db21917 should be included in stable / testing
  246. Asterix in 0.16.x packages
  247. lovetox marc, leave it for now, i think there is no good way
  248. lovetox maybe more people will complain and something gets added again to GTK4
  249. bot Marc Schink updated a merge request for _gajim/master_ <https://dev.gajim.org/gajim/gajim/merge_requests/178>: WIP: PlainConnectionDialog: Fix sensitivity logic
  250. marc lovetox, okay, updated
  251. Link Mauve lovetox, if someone is to complain, you’re the best one. ^^
  252. Link Mauve So please do, before 4.0 gets released.
  253. lovetox i did on mirc
  254. lovetox im used to getting ignored there :)
  255. Link Mauve lovetox, I mean with a proper ticket describing why you are using it and how you want to replace it.
  256. lovetox yeah
  257. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: *8c1d437b* <https://dev.gajim.org/gajim/gajim-plugins/commit/8c1d437beb8d9b65a2f04b250121a7db022a6f2a> [google_translation] remove google_translation plugin. API is no more available
  258. bot Yann Leboulanger closed an issue in _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins/issues/248>: #248: <Google Translation plugin>
  259. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: https://conference.gajim.org:5281/pastebin/cb89d095-486f-4730-b443-6b6bd1bcefd7
  260. bot Philipp Hörist merged a merge request for _gajim-plugins/master_ <https://dev.gajim.org/gajim/gajim-plugins/merge_requests/56>: [preview] Display preview beginning with a new line and add tooltip
  261. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: *c19b6dee* <https://dev.gajim.org/gajim/gajim-plugins/commit/c19b6dee71dac2e2f8ad131c510ea6a302bfeb96> [preview] Fix selecting images *c1750635* <https://dev.gajim.org/gajim/gajim-plugins/commit/c1750635c95a54156b1aa7dd4a0eded32a3f1df1> [preview] Update manifest.ini
  262. bot Philipp Hörist updated a merge request for _gajim/master_ <https://dev.gajim.org/gajim/gajim/merge_requests/178>: Dialogs: Use get_widget_for_response() to access buttons
  263. Citizen Zibb hello everyone