Gajim - 2017-08-02


  1. SaltyBones lovetox, what are the dependencies for omemo again?
  2. SaltyBones I'm getting Warning: Error: No module named 'axolotl.ecc.djbec'
  3. SaltyBones ah I think I've got it
  4. SaltyBones just had to uninstall protobuf with pip and install it with apt
  5. SaltyBones ...wtf
  6. SaltyBones hm.. (W) gajim.plugin_system.plugin_installer Plugin is missing mandatory fields in manifest.ini. Plugin not loaded. getting this as well but plugin manager seems fine
  7. SaltyBones hm...still there with a new plugin manager
  8. lovetox hm seems the manifest.ini is broken
  9. lovetox is this on 0.16?
  10. SaltyBones no this is master
  11. lovetox i dont think its from omemo
  12. lovetox its from the dev example plugins that are supplied in the git version
  13. SaltyBones no this probably isn't
  14. SaltyBones this is orthogonal
  15. SaltyBones it's the plugin installer from https://ftp.gajim.org/plugins_1/
  16. lovetox the plugin installer is telling you that one manifest.ini is broken
  17. lovetox if you had the wrong plugininstaller, it would tell you nothing as it would not work
  18. SaltyBones ah
  19. lovetox the manifest.ini that is broken is probably one of the dev examples
  20. lovetox its not omemo
  21. SaltyBones amazing how I constantly misunderstand all of gajim's error messages...
  22. lovetox do you see omemo in the plugin list?
  23. SaltyBones yeah
  24. lovetox then its all good
  25. lovetox and you see the warning message still?
  26. lovetox No module named 'axolotl.ecc.djbec'
  27. lovetox from where did you install axolotl
  28. SaltyBones no, I got that fixed but with pretty random voodoo
  29. SaltyBones ie install python-axolotl with pip but then uninstalling protobuf with pip and installing it with apt
  30. lovetox yeah sadly protobuf is still buggy depending if you isntall it from pip or not
  31. lovetox the really fucked that up
  32. lovetox so do you still have a problem or not?
  33. SaltyBones (W) gajim.plugin_system.plugin_installer Plugin file_sharing/manifest.ini is missing mandatory fields {'version'} in manifest.ini. Plugin not loaded.
  34. SaltyBones Expanded the output a bit. :)
  35. lovetox great do a MR :)
  36. SaltyBones oh wow...there are a shitton of changes between my plugin installer and the one in git
  37. SaltyBones apparently those warnings don't exist anymore in more recent versions
  38. lovetox you are again on the wrong branch
  39. SaltyBones ah possible
  40. lovetox these warnings dont come from the plugin installer though
  41. SaltyBones what's the correct branch for plugins?
  42. lovetox i think
  43. lovetox gtk3
  44. SaltyBones well, i edited them in the plugin installer...
  45. lovetox or maybe they do ^^
  46. lovetox its in the gtk3 branch that warning
  47. SaltyBones manually breaking messages for 80 columns wide is such a pain x)
  48. lovetox what would you prefer 100?
  49. lovetox 200 ?
  50. lovetox i dont know what other languages use
  51. lovetox its a pain to have to scroll horizontel through code
  52. SaltyBones oh I agree
  53. SaltyBones I just want my editor to somehow be smart about it and do it for me ;)
  54. SaltyBones lovetox, MR added.
  55. lovetox thanks
  56. lovetox what editor do you use?
  57. SaltyBones plain vim
  58. lovetox https://github.com/nvie/vim-flake8
  59. lovetox this checks for syntax and style erros
  60. lovetox very helpful :)
  61. lovetox thoug dont get too scared by the massiv amount of style errors ^^
  62. SaltyBones lovetox, hm...
  63. SaltyBones flake8 will accepth the following
  64. SaltyBones log.warning('{} is missing mandatory fields {}. Plugin not' ' loaded.'.format(filename, set(MANDATORY_FIELDS). difference(opts)))
  65. SaltyBones ah crap...that's not very helpful in non-fixed width font :p
  66. lovetox ^^
  67. lovetox we actually have a plugin for that
  68. lovetox to post code snippets
  69. lovetox damn its not ported to gtk3
  70. SaltyBones https://pastebin.com/sGTcgKq8
  71. SaltyBones this is just plain stupid
  72. lovetox yeah perfect, thats how i would do it :)
  73. SaltyBones but now the difference from the second parameter is lined up with the first x)
  74. lovetox yeah do it another way
  75. SaltyBones it won't let me :p
  76. lovetox just return after
  77. lovetox .format(
  78. lovetox so that filename is in the next line
  79. lovetox wait
  80. SaltyBones oh okay, yeah that works
  81. SaltyBones https://pastebin.com/cmsF3jTm that okay? :)
  82. lovetox https://pastebin.com/xt2BWpvd
  83. SaltyBones isn't that last line too long?
  84. lovetox no
  85. SaltyBones ah you started a newline after logging as well
  86. lovetox stop
  87. lovetox thats wrong allthogether
  88. SaltyBones x)
  89. lovetox you dont need format in logging functions
  90. lovetox just pass the parameters to the logging function
  91. SaltyBones same format string, though?
  92. lovetox 'Plugin not loaded.', filename, set(MANDATORY_FIELDS).difference(opts)))
  93. lovetox ah no i think your have to use %s
  94. lovetox instead of {}
  95. lovetox but im not sure
  96. SaltyBones :/
  97. lovetox what :D
  98. SaltyBones the difficulties of a one line change x)
  99. lovetox sometimes i write code for 20 minutes, and 10 minutes from that i thought about how to format it
  100. lovetox it really is stupid
  101. lovetox though readability is key if you want other people to maintain your code
  102. SaltyBones yeah but my experience is basically that the only formatting you can reasonably enforce is whatever the editor does automatically :)
  103. SaltyBones lovetox, how is this then https://pastebin.com/Cbbbwbb6
  104. lovetox ok, i really dont want to think about that oneliner too much
  105. SaltyBones x)
  106. lovetox https://pastebin.com/qcuLRDC5
  107. lovetox this would be ok also if you want something that takes less space
  108. lovetox but either way is ok :)
  109. SaltyBones whatever just take it like it is x)
  110. lovetox thanks
  111. lovetox now you are introduced to python style, have fun in the future :d
  112. SaltyBones I've read that pep before. I don't care much about such guidelines unless they are software enforced. :)
  113. mimi89999 ‎lovetox‎: What's the situation with UI issues?
  114. lovetox the one from the message box?
  115. lovetox maybe i have time today
  116. mimi89999 Yes
  117. mimi89999 ‎lovetox‎: I have another UI issue
  118. lovetox please tell
  119. mimi89999 Making the bookmark window bigger...
  120. lovetox ah i see
  121. mimi89999 https://lebihan.pl/xmpp-upload/index.php/da4d7460-c414-4c57-910c-d1594decbf28/Capture%20du%202017-08-02%2017-27-14.png
  122. mimi89999 The list box should get bigger, so that I can see the names...
  123. mimi89999 Also, what is the situation with MAM:2 support?
  124. mimi89999 lovetox‎: Could you do something about the screenshots on the website? they are scarring people away...
  125. lovetox MAM:2 should work
  126. lovetox you can see what version gajim uses when you open the server info window and hover over MAM
  127. lovetox of course can you provide better screenshots from linux?
  128. lovetox yours actually dont look too good as well, i will make later some on Gnome
  129. mimi89999 I am on GNOME...
  130. lovetox my gnome looks better ^^
  131. mimi89999 Can I see?
  132. mimi89999 I am using the default theme?
  133. mimi89999 .
  134. lovetox hm i looked again, it looks the same
  135. lovetox its weird if you have window border
  136. lovetox its weird if you have no window border
  137. mimi89999 I think it's better without them...
  138. mimi89999 lovetox‎: You like it?
  139. mimi89999 How does it look on WIndows?
  140. lovetox i cant show you
  141. lovetox my gajim crashes when i click the httpupload button ^^
  142. lovetox i have to investigate
  143. mimi89999 https://dev.gajim.org/gajim/gajim/blob/master/gajim/dialogs.py#L1300
  144. mimi89999 You can change to 2017...
  145. lovetox yeah
  146. mimi89999 2014 XD
  147. concerto lovetox, how can I investigate random (OMEMO) messages not being received on Gajim? (but received on Conversations)
  148. lovetox linux?
  149. concerto Debian, nightly builds
  150. lovetox start gajim with -l gajim.plugin_system.omemo=DEBUG
  151. lovetox then tell someone to send you a message
  152. concerto lovetox, uh oh. I'm getting this when trying to switch tabs, now. File "/usr/share/gajim/src/message_window.py", line 824, in _on_notebook_switch_page new_ctrl.set_control_active(True) AttributeError: 'NoneType' object has no attribute 'set_control_active'
  153. concerto (and can't seem to open a window with /chat)
  154. lovetox hm just close the window
  155. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *6f3c2111* <https://dev.gajim.org/gajim/gajim/commit/6f3c21118f9d1c88d1a725381dea963d709f01f0> Stay compatible to python 3.4 Fixes #8690
  156. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *f1a29fcb* <https://dev.gajim.org/gajim/gajim/commit/f1a29fcb6a0c56958948d438bb2889edd854d644> About Dialog: Update Copyright
  157. mimi89999 Ah
  158. lovetox ah i never had the problem with bookmarks
  159. lovetox because i dont use conversations
  160. lovetox when gajim sets a bookmark its just the name of the room
  161. lovetox so what will we do here best
  162. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *4247746c* <https://dev.gajim.org/gajim/gajim/commit/4247746c366cfd6c0fe89445d186f7a92fe55e0c> Bookmark Window: Make it resizable
  163. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *97f6b84b* <https://dev.gajim.org/gajim/gajim/commit/97f6b84b908d85cf4d9de074d8ea35989714d9d6> Remove old unused code
  164. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *e2d61012* <https://dev.gajim.org/gajim/gajim/commit/e2d61012c69235395826dd5976788af6e853e7c3> Windows Build: compile GLib schemas
  165. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *0c6002b9* <https://dev.gajim.org/gajim/gajim/commit/0c6002b9ac749116bf0cbf7ddc6777b3ac9ce4a5> Zeroconf: handle only zeroconf messages
  166. lovetox SaltyBones, can i ask you to change your commit message please
  167. lovetox [plugin_installer] Improve error message
  168. lovetox and dont make "." in commit messages, its pointless 🤣
  169. SaltyBones can I even change that? :p
  170. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ <https://dev.gajim.org/gajim/gajim-plugins>: *1c8c8008* <https://dev.gajim.org/gajim/gajim-plugins/commit/1c8c8008083fca2f2d6fd8d2eff79861e34e968a> Add contribution guide
  171. lovetox go to your console
  172. lovetox git commit --amend
  173. SaltyBones already done...
  174. lovetox thanks though now even more points 🤣
  175. SaltyBones your requests are getting out of hand, I had to rebel against them...
  176. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ <https://dev.gajim.org/gajim/gajim>: *a0161117* <https://dev.gajim.org/gajim/gajim/commit/a01611178d01758af3dd75b7abffb93721d1d3fe> Logger: dont try to parse None with json