Gajim - 2020-01-30


  1. jjrh I think the gajim-omemo ubuntu package might be broken.
  2. jjrh I just did a fresh install and enabling that throws a error - removing the gajim-omemo package and installing it from the plugin repo seems to solve it.
  3. jjrh I copied over my config from another computer so maybe that had something to do with it but just giving a fyi.
  4. bot Terry Pearson created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9964 >: #9964: < Trying to activate OMEMO in plugins causes crash >
  5. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9964 >: #9964: < Trying to activate OMEMO in plugins causes crash >
  6. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/568 >: Improve CSS colors
  7. wurstsalat jjrh: did you create that issue on gitlab about an omemo error (the one I just closed)?
  8. wurstsalat Eduard: I tried to improve colors in gajim (referring to your last screenshot, which had bad contrast for some colors). feel free to try master from today :)
  9. Christian > jjrh hat geschrieben: > I just did a fresh install and enabling that throws a error - removing the gajim-omemo package and installing it from the plugin repo seems to solve it. Which plugin repo? Do you have a url? :)
  10. wurstsalat Christian, the gajim-plugins git repository is available on dev.gajim.org
  11. Eduard > Eduard: I tried to improve colors in gajim (referring to your last screenshot, which had bad contrast for some colors). feel free to try master from today :) I will, thanks.
  12. Eduard Hey wurstsalat, updated.
  13. Eduard https://share.conversations.im/edu4rdshl/7ODxznqkJwU2zNgn/9ec70801-8437-41f7-8b91-6bdfdb939e4e.png
  14. Eduard Mmm, the quality is reduced when the screenshot is uploaded
  15. wurstsalat not if you do from gajim ;)
  16. Eduard https://i.imgur.com/E6znuxf.png
  17. Eduard wurstsalat, how's that? :p
  18. wurstsalat Eduard, same (good)
  19. Eduard I just screenshot -> paste in the Gajim textbox
  20. wurstsalat yes, that makes a .png and sends it
  21. Eduard wurstsalat, for me Gajim is amazing as it's in git master, really big (but nice) changes.
  22. Eduard Also I was having some delays when switching between MUCs, seems they are fixed now.
  23. Eduard Switching with hotkeys.
  24. wurstsalat Eduard: thats nice to hear! You mean switching tabs?
  25. Eduard Yeah, switching tabs, I was having small (but remarkable) delays, now they're not present.
  26. stef.an With OMEMO I still get (after years of experiments) messages of the type "not encrypted for this device" when I look at messages sent by *myself* on another device. How can I troubleshoot this?
  27. stef.an This happens with own messages sent by Gajim 1.1.3 and looked at on another Gajim instance, as well as when sent by Monal on iOS and looked at with Gajim, and vice versa.
  28. wurstsalat stef.an: no idea in connection with monal (which was pretty bad at publishing keys last time I checked). check if you trust your own omemo keys of other devices.
  29. wurstsalat test the following: send a message from gajim A to yourself and check if your keys (gajim A,B) are trusted. then check in gajim B if its decryptable
  30. stef.an Will try. Problem is computers are in different places.
  31. stef.an Is that OMEMO key exchange system documented somewhere; Questions like: where are the keys stored, for how long, how is trust given and revoked and so forth?
  32. bot spicewiesel modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/472 >: #472: < [syntax_highlight] add context entry "paste as code" >
  33. stef.an When I tried to delete some of my OMEMO keys in Gajim, the OMEMO plugin crashed several times (array out of bounds). Now it seems those stale keys are gone from the list, but the active ones appear twice. Is the latter normal?
  34. stef.an That is to say, they appear twice only in the keys dialog when I start it from one of my other instances I see in Gajim (hope that makes any sense ;)
  35. wurstsalat I don't know about that, maybe wait for lovetox to appear ;)
  36. fiete Hi, is it a known bug in version 1.1.3 that sometimes after notebook wakes up from sleep gajim fails to reconnect and spawning looots of those lines? `01/30/2020 11:43:02 (W) nbxmpp.transports_nb: calling send on empty buffer and queue` while using one complete cpu core?
  37. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8971 >: #8971: < Remove resource locking >
  38. Christian > wurstsalat hat geschrieben: > Christian, the gajim-plugins git repository is available on dev.gajim.org sudo python setup.py install python: can't open file 'setup.py': [Errno 2] No such file or directory
  39. andrey.g fiete‎, yes, https://dev.gajim.org/gajim/python-nbxmpp/issues/63
  40. fiete thanks!
  41. Christian > wurstsalat hat geschrieben: > Christian, the gajim-plugins git repository is available on dev.gajim.org Sorry, no idea which package i should download for: python3-css-parser // python3-gi // python3-nbxmpp-nightly > Tried to install Gajim nightly at Ubuntu, but missing the Files : python3-css-parser // python3-gi // python3-nbxmpp-nightly
  42. wurstsalat Christian, https://packages.ubuntu.com/search?keywords=python3-css-parser
  43. wurstsalat Christian, what are you trying to accomplish?
  44. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8971 >: #8971: < Remove resource locking >
  45. Christian > wurstsalat hat geschrieben: > Christian, what are you trying to accomplish? i can't get the gajim nightly on ubuntu 18.04 installed (via the terminal)
  46. wurstsalat gajim nightly won't work on ubuntu 18.04
  47. Christian Ok, good two know
  48. Christian So, Version 1.3 for me
  49. wurstsalat You mean 1.1.3
  50. Christian apt install Gajim installed me 1.0.1, shit :D
  51. jjrh wurstsalat, no it wasn't me. Christian, just the one dev.gajim provides - gajim-plugininstaller package.
  52. Christian Will try
  53. wurstsalat jjrh, ok, if you see an error again, please share it with us :)
  54. Christian xx:~$ flatpak install flathub org.gajim.Gajim Error: Remote "flathub" not found
  55. Christian That was my last one
  56. jjrh https://pastebin.com/7LQ3DQCr
  57. wurstsalat Christian, flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  58. wurstsalat jjrh, yes, same error I closed this morning. see https://dev.gajim.org/gajim/gajim-plugins/issues/462
  59. jjrh ah okay :)
  60. jjrh I find it also kinda weird gajim gets installed with omemo with the gajim package but not gajim plugininstaller
  61. jjrh I am happy gajim's package on ubuntu is reasonably recent.
  62. wurstsalat jjrh, I asked about this recently: The second one is also something, that I would better not have by default. For many "simple" users, it is confusing to have different sources of software on their system, that also behave completely different. And then having the same plugin from different sources will make debugging problems or uninstalling less obvious. So better leave that for the people who a sure they want that! - debacle
  63. Christian Ok, made it. 1. https://flatpak.org/setup/Ubuntu/ 2. https://flathub.org/apps/details/org.gajim.Gajim (Terminal)
  64. wurstsalat Christian, there might be a flatpak nightly in the future, if I read correctly
  65. jjrh Probably makes more sense to have the plugin installer filter out the plugins installed by the system (with a option to toggle that). That or have the plugin installer package remove all the gajim plugin packages.
  66. Christian nice :) I have now installed omemo and url preview via the terminal. Unfortunately I cannot activate the dark theme, nothing happens.
  67. jjrh The main thing is if you go "hey i'll install all the gajim plugin packages!" then look and see omemo and go "oh should I update?" then you end up with two omemo's showing and it's unclear which one (probably the system one) gets used.
  68. jjrh The main benefit to having the system install plugins is ones that require additional python libraries (like omemo) get installed where the plugin installer can't do that and the user has to know to get something.
  69. wurstsalat Christian, if your system uses a dark theme, gajim should adapt automatically. maybe you have to restart gajim, but I think it applies it automatically
  70. wurstsalat jjrh, I'm not sure how that is handled at the moment (system over user or not)
  71. jjrh I think - as I just experienced this - is system one is used. In the plugin manager you see both omemo packages listed. (it would be helpful if the system one at least had something indicating it is system provided)
  72. jjrh only reason i'm speaking on this is I got a new laptop two days ago and have been installing it fresh with the latest ubuntu release
  73. wurstsalat jjrh, yes, I also planned to show incompatible plugins some time, bit it's rather complex
  74. jjrh I must say situation installing a modern version of gajim is much better today than it was a year or so ago! copying all configs, css changes, etc over has been a breeze and other than this minor thing with the gajim omemo package, omemo install was pretty easy
  75. jjrh wurstsalat, yeah I looked at the omemo plugin stuff a while back it's not trivial.
  76. Christian have now activated a dark theme, but gajim stays light :D
  77. jjrh Christian, did you restart gajim?
  78. Christian yes
  79. wurstsalat Christian, when experimenting with both dark/light themes I had to restart my desktop to get it applied to gtk applications..
  80. wurstsalat So I set my desktop to dark theme, but somehow it was not completely finished untill I restarted
  81. Christian k, second
  82. Christian nope, still white
  83. wurstsalat Which desktop environment is that you are using?
  84. Christian Ubuntu 18.04.3 LTS think thats Gnome
  85. wurstsalat you could try with GNOME Tweak Tool like described here: https://askubuntu.com/questions/806200/how-can-you-enable-gtk3-themes-dark-theme-mode-when-using-unity-7
  86. Christian yes, that was the way to start my dark theme with the Tweak Tool :)
  87. Christian ok, "HighContrastInverse" works, "AdwaitaDark" not.
  88. jjrh if you want gajim to be dark you can sometimes get away with doing something like XDG_CONFIG_HOME=$HOME/location_of_gtk_dark gajim
  89. jjrh I do that for thunderbird where I have some gtk changes I don't want applied to the rest of the system.
  90. Christian looks like I don't have a dark theme in a gajim folder.
  91. lovetox stef.an, if you can sometime reproduce the omemo error
  92. lovetox then instead of fixing it with deleting keys, gather logs so we can see what the error is
  93. lovetox depending on your gajim version it can be, that if you dont write from time to time a omemo encrypted message from a device
  94. lovetox it gets marked as inactive
  95. lovetox this is a security mechanism
  96. lovetox Eduard, i have this sometimes when Gajim runs a bit longer, that everything starts to really lag
  97. lovetox but couldnt track it down what it was
  98. Eduard > Eduard, i have this sometimes when Gajim runs a bit longer, that everything starts to really lag > but couldnt track it down what it was Hmm, will be, I will see if it continues happening when Gajim is open for a long time.
  99. debacle can I safely downgrade from master to 1.1.3 or will my local db break and a kitten will get a cold?
  100. lovetox you should delete your cache.db
  101. lovetox but then it should work i think
  102. lovetox gajim wise at least
  103. lovetox and i hope for the omemo plugin also :)
  104. debacle let's see how many people need to accept a new key then :-)
  105. lovetox no you should not lose your key, i think i made sure of that
  106. debacle I just measured the time between ^n and the appearance of the dialogue using key-mon, gtk-recordmydesktop, and pitivi :-) 2.6 s!
  107. lovetox just could be possible that you have to delete a fingerprint to restart a session
  108. lovetox yeah would still be interested where in the init() it takes so long
  109. lovetox maybe you can put some time.time() prints there
  110. debacle also, after 0.87 more seonds, the window resizes itself, which is awkward. probably the incremental loads finds some longer JIDs?
  111. debacle also, after 0.87 more seconds, the window resizes itself, which is awkward. probably the incremental loads finds some longer JIDs?
  112. debacle I like to downgrade Gajim (but leave all other libs in place) to see, whether there is any change in the timing
  113. lovetox does not really help, what would help is if you simply look if the time is spent in the __init__ of the start chat.py
  114. debacle in class StartChatDialog()
  115. debacle in class StartChatDialog()?
  116. saltybones hm...i just tried out dino
  117. saltybones it never finished loading history and never became usable... :p
  118. saltybones maybe I need to clean up my history
  119. lovetox yes debacle
  120. bot André updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/564 >: Use GSound to play sound on Linux
  121. bot Philipp Hörist pushed 4 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/1549c147-4ae8-416a-8d2d-59d18232d444
  122. bot André updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/564 >: Use GSound to play sound on Linux
  123. hannibal asterix, can you add the plugins from https://dev.gajim.org/gajim/gajim-plugins/tree/master/flatpak to the flatpak nightly repo
  124. debacle lovetox, the most time is spend in _add_groupchats(), and there in get_groupchat_name()