Gajim - 2017-08-22


  1. andrey.g rejoined without touching anything, nice. Could it be that if Gajim popups a window "group chat does not exist" (as todays' morning), then it will not try anymore to rejoin?
  2. Asterix maybe yes ....
  3. uc Does Gajim has a official description? I would like to submit it here and link to gajim.org https://github.com/LewisVo/Awesome-Linux-Software Would u like this? (Also can you update the screenshots😅)
  4. Getafix Does Gajim compress large pictures before sending them?
  5. wiktor Is it possible to disable showing status changes in chatrooms? Currently 70% of text is green status changes and I don't want to see them.
  6. Getafix wiktor, C-p -> Advanced -> Advanced Configuration Editor -> print_status_in_muc
  7. wiktor Getafix: very cool, that's exactly what I needed, thanks a lot!
  8. Getafix :D
  9. cuc this should be the default :)
  10. cuc imho
  11. mimi89999 Hello
  12. mimi89999 Hello
  13. mimi89999 Hello
  14. mimi89999 Sometimes nicknames get the same color as status messages. It is very annoying. Can I avoid it getting the same color?
  15. mimi89999 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gajim/config.py", line 732, in on_speller_checkbutton_toggled self.apply_speller() File "/usr/lib/python3/dist-packages/gajim/config.py", line 700, in apply_speller ctrl.set_speller() File "/usr/lib/python3/dist-packages/gajim/chat_control_base.py", line 488, in set_speller self.spell = gtkspell.Spell(self.msg_textview, lang) NameError: name 'gtkspell' is not defined
  16. mimi89999 Asterix: Still no spellcheck
  17. mimi89999 https://dev.gajim.org/gajim/gajim/blob/master/gajim/chat_control_base.py#L69
  18. mimi89999 from gajim import
  19. mimi89999 Asterix: https://dev.gajim.org/gajim/gajim/merge_requests/119
  20. andrey.g > mimi89999‎: Sometimes nicknames get the same color as status messages. It is very annoying. I've also noticed that, would be nice to avoid.
  21. concerto Does the nightly branch now support MAM2?
  22. Asterix mimi89999: andrey.g for nick colors, it's gc_nicknames_colors in ACE
  23. Asterix concerto: what's new in MAM2?
  24. concerto Asterix, I don't know, but I do know that in (oldish) nightly install that I have, MAM doesn't work with my server (jabber.fr)
  25. concerto Asterix, I don't know, but I do know that in the (oldish) nightly install that I have, MAM doesn't work with my server (jabber.fr)
  26. concerto lovetox said that's because the server uses the latest version of MAM, which the nightly build doesn't.
  27. Asterix the master branch supports it. Not 0.16
  28. Asterix mimi89999: thanks for the MR
  29. bot Yann Leboulanger pushed 2 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *1f506a14* <https://dev.gajim.org/gajim/gajim/commit/1f506a14cf7d7ddd73e75e28fcefa5397da211b6> fix import *7de4aa1a* <https://dev.gajim.org/gajim/gajim/commit/7de4aa1a069e8b9869fb2b4df45c8ae0ad7076f1> Merge branch 'master' into 'master' fix import See merge request !119
  30. bot Yann Leboulanger pushed 2 commits to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *1f506a14* <https://dev.gajim.org/gajim/gajim/commit/1f506a14cf7d7ddd73e75e28fcefa5397da211b6> fix import *7de4aa1a* <https://dev.gajim.org/gajim/gajim/commit/7de4aa1a069e8b9869fb2b4df45c8ae0ad7076f1> Merge branch 'master' into 'master' fix import See merge request !119
  31. concerto Asterix, how may one install it from the Debian repo? Or does one need to build from source? o.o
  32. lovetox conterto add the gajim repo
  33. lovetox and install gajim-default-nightly
  34. Link Mauve On starting Gajim, Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/gajim/gui_interface.py", line 2275, in read_sleepy auto=True) File "/usr/lib/python3.6/site-packages/gajim/roster_window.py", line 2133, in send_status self.send_status_continue(account, status, txt, auto, to) File "/usr/lib/python3.6/site-packages/gajim/roster_window.py", line 2182, in send_status_continue app.connections[account].change_status(status, txt, auto) File "/usr/lib/python3.6/site-packages/gajim/common/connection.py", line 635, in change_status idle_sec = int(self.sleeper.getIdleSec()) AttributeError: 'Connection' object has no attribute 'sleeper'
  35. Asterix Link Mauve: hmm latest master? I thought it was fixed
  36. Link Mauve Yes, latest master.
  37. Asterix Link Mauve: so you have that applied: https://dev.gajim.org/gajim/gajim/commit/e8399dc2ed5db2d6631590d44ca657b266088fbc
  38. Link Mauve Yes.
  39. Asterix hen could you print the HAS_IDLE just after that?
  40. Link Mauve Asterix, it’s obviously True, it wouldn’t enter that if otherwise.
  41. Asterix after the try / except
  42. Link Mauve I see True twice on stdout, and no crash.
  43. Link Mauve Also, is it really useful to display the filesystem encoding on stdout on launch? ^^'
  44. Link Mauve You should remove that imo.
  45. Asterix yeah ... but I don't understand why you can get that tb
  46. Asterix hmm ok ... I see strange things
  47. Asterix this HAS_IDLE is defined in connection_handlers.py, but it's also usedin connection.py, which is not possible
  48. Getafix Ooooh. Just upgraded to gajim-default-nightly. Shiny! Seems like there are quite a few UI improvements :) That said... "Warning: You are missing Python-Axolotl or use an outdated version"...do I build from source? (Debian Testing)
  49. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *ce719a83* <https://dev.gajim.org/gajim/gajim/commit/ce719a8317fb67d9b78589c3abd68329a284f139> No need to have one sleepy instance per connection object
  50. Asterix Link Mauve: could you pull?
  51. Asterix Getafix: this is for the OMEMO plugin
  52. Getafix Asterix, yeah
  53. Asterix Getafix: you have it installed?
  54. Getafix Asterix, I do, but I can't enable it
  55. Asterix its of course python3-axolotl as we switch to py3
  56. Getafix oh
  57. Link Mauve Asterix, now I get it only once, and no traceback.
  58. Asterix you get what only once?
  59. Link Mauve The HAS_IDLE.
  60. Asterix becasue I remove the HAS_IDLE variable
  61. Link Mauve Ah right.
  62. Link Mauve Asterix, also the sleeper is totally useless on Wayland, it only goes back to available once I start an X11 program. ^^'
  63. Asterix yes .. we use libx11 under linux
  64. Asterix if you know another way to know the idle time ...
  65. Link Mauve logind maybe?
  66. Link Mauve Its IdleSinceHint property seems to be what you are looking for.
  67. Getafix On attempting to join an MUC + add a bookmark (master build, Debian) - Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gajim/dialogs.py", line 2703, in on_join_button_clicked autojoin, autojoin, password, nickname) File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 2497, in add_gc_bookmark if bookmark['name'] > bm['name']: TypeError: unorderable types: NoneType() > str()
  68. Asterix Link Mauve: if you run that you see it increase? watch 'gdbus introspect --system --dest org.freedesktop.login1 --object-path /org/freedesktop/login1/seat/seat0 | grep Idle'
  69. Asterix Getafix: you tried to add a bookmark?
  70. Getafix Asterix, yeah
  71. Asterix Getafix: without a title?
  72. Asterix could you go in Gajim -> bookmarks. Do you have one without a title?
  73. Getafix Asterix, I don't.
  74. Link Mauve Asterix, no, it stays the same.
  75. Link Mauve But it’s a timestamp, right?
  76. Asterix IdleHint is true or Fasle?
  77. Link Mauve True.
  78. Link Mauve true.
  79. Asterix yes i't a timestamp.
  80. Asterix so it's ok
  81. Asterix if you move mouse then it increasE?
  82. Link Mauve No. :/
  83. Asterix ok so it doesn't work as expected
  84. Getafix Asterix, I had clicked on an xmpp:...?join link, ticked 'bookmark', and clicked Join.
  85. Link Mauve If I switch VTs and come back it does increase.
  86. Asterix The IdleHint property reflects the idle hint state of the system. If the system is idle it might get into automatic suspend or shutdown, depending on configuration.
  87. Asterix I guess this means this goes to True after the timeout you configure somewhere?
  88. Asterix ok
  89. Asterix Getafix: do you know python? Can I ask you to add a print in the code?
  90. Getafix Asterix, I don't :( but I can try (I know other langs) - where would one do this?
  91. Asterix in gajim/gui_interface.py
  92. Asterix line 2491
  93. Asterix the line just after the for
  94. Asterix before the if
  95. Asterix add print(bookmark)
  96. Asterix same indentation as the if
  97. Asterix for bookmark in app.connections[account].bookmarks: print(bookmark) if bookmark['jid'] == bm['jid']:
  98. Asterix Link Mauve: here I have that: readonly b IdleHint = false; readonly t IdleSinceHint = 0; so I can't test
  99. Link Mauve Hmm…
  100. Link Mauve Asterix, on enabling an account, Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/gajim/config.py", line 2681, in on_enable_checkbutton1_toggled self._enable_account(self.current_account) File "/usr/lib/python3.6/site-packages/gajim/config.py", line 2585, in _enable_account app.connections[account] = common.connection.Connection(account) NameError: name 'common' is not defined
  101. Link Mauve You really should set up some linter as part of the CI.
  102. Asterix yes .. I should do many things. But I dont have time ...
  103. Link Mauve This would actually save a lot of time.
  104. Link Mauve All of these errors you fix all the time would be caught before even reaching users.
  105. Asterix removing common. should fix it
  106. Asterix at least we have ci now ....
  107. Asterix and we run tests in it
  108. Link Mauve Running pyflakes should be nice too.
  109. Asterix it's 5 seconds to fix that
  110. Asterix it's several hours to learn and configure those tools
  111. Link Mauve I guess it will find a ton of errors, so it should first be setup to only allow diminishing the number of errors, and not increase it.
  112. Asterix maybe but I won't do that in the near future
  113. bot Yann Leboulanger pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *3357622c* <https://dev.gajim.org/gajim/gajim/commit/3357622c2dc0b6fe75ac573321a1403ee4919e45> fix enabling accounts
  114. Link Mauve Really, it would lead to a much more usable program.
  115. Link Mauve Just running it locally would be fine as well.
  116. Asterix even the pylinrc file you committed in unusable. It returns several thousants of things
  117. Link Mauve (I don’t think I was the one who commited it.)
  118. Asterix ha maybe. I didn't checked
  119. Link Mauve But anyway, this should be part of the CI, and only accept patches which don’t increase the amount of errors.
  120. Asterix I see one, I thought it could only be you ;)
  121. Link Mauve As a first step towards having no error.
  122. Asterix it tkes several minutes to run that
  123. Asterix having no error??
  124. Asterix will be in another life
  125. Link Mauve And if you see something which is an error/warning while it shouldn’t be, reporting it upstream, fixing it or ignoring it with a comment explaining why is a better idea than not running it at all.
  126. Asterix or maybe with --ignore-all-errors option :)
  127. Asterix https://dev.gajim.org/gajim/gajim/commits/master/pylintrc
  128. Link Mauve Asterix, well, see how many errors I find while using Gajim once a week for testing something?
  129. Asterix I think it's you :)
  130. Link Mauve Imagine if I was a user who actually used it.
  131. Link Mauve I would stop using it right away and tell everyone that this XMPP thing is super crap.
  132. Link Mauve Oh, my bad.
  133. Asterix fixing 1000000 things pylint show is not humainly possible. And I don't intent to rewrite Gajim from start
  134. Asterix hey it's master branch, not a release
  135. Asterix ex: C:2578,12: Invalid variable name "c" (invalid-name) I don't care!
  136. Link Mauve Speaking of which, you should release an alpha at some point, to get some users to use it.
  137. Link Mauve Then disable that!
  138. Zash So don't. But make a graph, publish it somewhere and fix a few issues.
  139. Asterix yes I can use --disable-all
  140. Asterix I don't have time to configure that, really.
  141. Asterix lol
  142. Asterix it's five minutes I'm running it, and it never stops printing things
  143. Asterix really, run it you'll see it's unusable
  144. Link Mauve Oh, I already had something.
  145. Asterix we';; realease when it's usable
  146. Zash Graph it! Maybe someone gets addicted to lowering that number ;)
  147. Asterix we have a blocker bug in roster that we're not able to fix
  148. Link Mauve https://dev.gajim.org/gajim/gajim/merge_requests/120
  149. Asterix will be merged after CI finishes
  150. Asterix GN guys
  151. Asterix and have fun with pylint!
  152. Link Mauve Maybe you should use an IDE which integrates it, it would feel better?
  153. Link Mauve But I don’t see the point in saying it’s useless just because your code is bad.
  154. Link Mauve It’s exactly for that reason you should use it.
  155. Zash or pre-commit hook?
  156. Link Mauve Good idea.
  157. Zash Really should do something like that myself