Gajim - 2018-12-21


  1. chris I use OMEMO to chat with a friend on my Prosody XMPP server. When we both use Conversations, images can be sent easily. But with Gajim, I don't see any images sent from Conversations, and when I try to send a file from Gajim, they don't see the request for it in Conversations. What do I need to do to fix this?
  2. mrDoctorWho where does gajim for windows keep the plugins?
  3. mrDoctorWho I seem to have problems with them
  4. mrDoctorWho I deleted UserData/Plugins, but Gajim still says I have plugin installer
  5. mrDoctorWho and downloading of other plugins doesnt' enable them. So I suppose I have a wrong plugin installer version
  6. mrDoctorWho I updated to Gajim 1.1 just today
  7. chris When I said they don't see the request for the file, I didn't know that they actually do see a message: "Receiving image (0% completed)" Unencrypted
  8. chris Okay, so I successfully enabled http_upload on my prosody server, but now I get an error: "[Errno 111] Connection refused" when I try to send anything from Gajim
  9. chris Well if someone has any ideas you can post them at this link here, I couldn't figure out how to connect to this room from Profanity via tmux so I'll have to log off now. https://dev.gajim.org/gajim/gajim/issues/9073#note_191398
  10. lovetox mrDoctorWho, installed or portable version?
  11. mrDoctorWho lovetox: installed
  12. lovetox then you dont have the wrong version
  13. lovetox does it say you have to restart for it to activate?
  14. lovetox do you not see the plugins as installed after downloading?
  15. mrDoctorWho I don't see them installed
  16. lovetox then start gajim-debug.exe
  17. lovetox and look for errors
  18. mrDoctorWho ok
  19. mrDoctorWho 12/21/2018 13:29:30 (W) gajim.plugin_system: Plugin omemo not loaded, plugin incompatible with current version of gajim: 1.1.0 > 1.0.90
  20. lovetox but UserData folder is only available in portable installations
  21. lovetox so im not sure what you deleted there
  22. lovetox the plugin folder is under %APPDATA%/roaming/Gajim
  23. bot Philipp Hörist pushed 1 commit to branch _refs/heads/gajim_1.0_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *505abea0* < https://dev.gajim.org/gajim/gajim-plugins/commit/505abea07d889b68f9348689ce9edae0ee0f82e0 > [plugin_installer] Update manifest.ini
  24. mrDoctorWho it seems I had portable installation too and when I found it I didn't check whether it was portable profile
  25. mrDoctorWho thanks
  26. lovetox I hope this commits solves that annoying problem now
  27. mrDoctorWho Traceback (most recent call last): File "/home/mrdoctorwho/.local/share/gajim/plugins/url_image_preview/url_image_preview.py", line 485, in add_to_textview image.get_window().set_cursor(get_cursor('HAND2')) AttributeError: 'NoneType' object has no attribute 'set_cursor'
  28. lovetox update the plugin to latest version
  29. concerto o/
  30. concerto Are Debian nightly releases still broken? 😞
  31. mrDoctorWho lovetox, plugin installer says I'm on the latest
  32. lovetox What Gajim Version?
  33. mrDoctorWho 42c1909d3b5899f43cf19d65d7b115b1ecbf7b00
  34. mrDoctorWho 1.1.91
  35. lovetox ah my bad
  36. lovetox any other errors before that?
  37. lovetox hm do you have that on every image?
  38. lovetox i cant reproduce that problem
  39. mrDoctorWho 12/21/2018 16:47:37 (E) gajim.plugin_system.preview Exception while loading https://share.conversations.im/mamafin14-8.8/WD02x6Uqjwgv6QKH/1543242081684.jpg: 'NoneType' object has no attribute 'set_cursor'
  40. lovetox hm weird, tell me if it happens again
  41. lovetox did you just get sent that image?
  42. mrDoctorWho It appears I received it in some groupchat
  43. lovetox ah i have an idea
  44. mrDoctorWho the omemo fingerprint confirmation dialog seems to open automatically when I send a message even if I manually confirmed all the fingerprints just before that
  45. concerto > Are Debian nightly releases still broken? 😞 Folks?
  46. asterix concerto: should not. There is a version from today
  47. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *6016d303* < https://dev.gajim.org/gajim/python-nbxmpp/commit/6016d303a21d48ad30dad5b1c6f003bf19165a19 > Add EME (XEP-0380) module *af28de82* < https://dev.gajim.org/gajim/python-nbxmpp/commit/af28de82f914cc0b0d0d608046f1e51b9524d180 > Add HTTPAuth (XEP-0070) module
  48. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *85e79e7b* < https://dev.gajim.org/gajim/gajim/commit/85e79e7b279843d945230714f881f2fad45934cd > Use nbxmpp properties for HTTPAuth nbxmpp implements HTTPAuth now, so we dont need to parse it anymore
  49. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *5bea073b* < https://dev.gajim.org/gajim/python-nbxmpp/commit/5bea073ba9ef04f5fa58e440ae79e84f46cd95b3 > Fix test
  50. moonspark morning all. Does the project support running Gajim from Wine? (MacOS user here)
  51. Link Mauve moonspark, why don’t you run it natively?
  52. Link Mauve But I guess it would work too in wine, I’ve never tested though (Linux user here).
  53. lovetox moonspark, https://dev.gajim.org/gajim/gajim/wikis/help/GajimMacOSX#python3brew
  54. bot Philipp Hörist pushed 4 commits to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: https://conference.gajim.org:5281/pastebin/bf3ee1d8-efba-4d3b-b96d-c305c4d37b58
  55. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *987a239f* < https://dev.gajim.org/gajim/python-nbxmpp/commit/987a239f019d0bc9bc6c65dda880392c5c828cbc > Update setup.py
  56. Link Mauve lovetox, is there anything Gajim does when the user inputs their password again? They had it saved, I updated my server, they couldn’t pass SASL anymore (getting <not-allowed/> back), then I told them to input their password again and now Gajim connected again.
  57. lovetox hm not sure what you mean, yeah it saves it to the keyring
  58. Link Mauve Can the keyring somehow end up giving invalid results on <something> changing in the server?
  59. lovetox that not allowed makes not much sense
  60. mikaela How do I restore sound settings to default on flathub version?
  61. mikaela I accidentally cleaned one
  62. Link Mauve This user had issues connecting with both Gajim, Empathy and Conversations, but Jolla was still working fine, and most other users on my server are just fine (according to the statistics).
  63. lovetox the only thing i could imagine is, that it didnt always try sasl
  64. Link Mauve What do you mean?
  65. lovetox ah i mean the auth mech changed maybe
  66. lovetox maybe it didnt try sha1
  67. lovetox and switched to something else, which failed
  68. lovetox does you server offer anything else then scram?
  69. Link Mauve PLAIN, definitely.
  70. Link Mauve It may have added SCRAM-SHA-256 since the last time.
  71. lovetox hard to say now, i dont think gajim loses the password on a server restart, maybe a restart of Gajim had also done the trick
  72. lovetox but hard to debug now
  73. Link Mauve My server still only exposes SCRAM-SHA-1 and PLAIN, so that’s not it.
  74. Link Mauve They apparently also updated Gajim.
  75. lovetox hm that could be the reason
  76. lovetox we used another storage key in the keyring in older versions
  77. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9455 >: #9455: < errors after responding to a now absent users private muc message >
  78. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9359 >: #9359: < Error on going online >
  79. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9359 >: #9359: < Error with MAM pass_disco, 'NoneType' object has no attribute 'set_enabled' >
  80. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9358 >: #9358: < dev.gajim.org SSH host key fingerprint >
  81. bot Daniel Brötzmann modified an issue in _website_ < https://dev.gajim.org/gajim/website/issues/17 >: #17: < Add Backports hint to the Debian Download section. >
  82. bot Daniel Brötzmann modified an issue in _website_ < https://dev.gajim.org/gajim/website/issues/18 >: #18: < Ubuntu install instructions with debian sources don't work on Ubuntu 16.04 >
  83. Amy Link Mauve, wine+windows is an instacrash because of an unimplemented function in iphlapi
  84. Amy lovetox, ty! I was able to get it to run. Now I'm porting it to a Homebrew formula
  85. daniel Amy, please do share your solution if you're successful! A little support for the MacOS installation process is very welcome!
  86. bot anubis created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9503 >: #9503: < fail to send zeroconf bonjour local messages >
  87. lovetox Great Amy hope you can share that work, or upload it to the brew repo
  88. bot nico created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9504 >: #9504: < Omemo marked key as accepted but key is not accepted >
  89. bot Philipp Hörist created an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/371 >: #371: < Omemo marked key as accepted but key is not accepted >
  90. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9504 >: #9504: < Omemo marked key as accepted but key is not accepted >
  91. bot Philipp Hörist closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/371 >: #371: < Omemo marked key as accepted but key is not accepted >
  92. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9503 >: #9503: < fail to send zeroconf bonjour local messages >
  93. bot Philipp Hörist pushed 3 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/62190b3c-9312-4706-874e-31b473b965ff
  94. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9227 >: #9227: < Crash on refresh_multiple_buttons: 'TypeError: argument b: Expected Gtk.TreePath, but got tuple' >
  95. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9227 >: #9227: < Crash on refresh_multiple_buttons: 'TypeError: argument b: Expected Gtk.TreePath, but got tuple' >
  96. concerto asterix: oh. I just realized that I'm still on gajim-default-nightly v20181015-1, because it depends on python3-precis-i18n, which...doesn't exist in my package lists?
  97. lovetox its only in debian unstable
  98. concerto :\
  99. concerto lovetox: What should I do?
  100. lovetox hm no it should also be in backports
  101. lovetox i guess installing it
  102. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9196 >: #9196: < Gajim is not syncing history after waking up from hibernation/sleep >
  103. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9046 >: #9046: < Add a "Minimize on close" in Preferences for all mucrooms >
  104. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9046 >: #9046: < Add a "Minimize on close" in Preferences for all MUC rooms >
  105. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8966 >: #8966: < Segfault on start (gspell) >
  106. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8955 >: #8955: < Move 'Accounts' from 'Gajim' menu into 'Accounts' menu >
  107. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8198 >: #8198: < Enable MUC invite menu for non-online contacts >
  108. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8198 >: #8198: < Enable MUC invite menu for non-online contacts >
  109. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8966 >: #8966: < Segfault on start (gspell) >
  110. chunk hi guys i have gajim using it on arch linux kde how can i organize my autojoins and bookmarks??
  111. lovetox Gajim -> Bookmarks
  112. chunk ty ty ty !
  113. bot sicherist created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9505 >: #9505: < Error Message on Gajim Start >
  114. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9505 >: #9505: < Error Message on Gajim Start >
  115. Wiktor Hi all! I've got a quesion, I'm using OMEMO with my contacts and even though everything works the Gnome Notifications show only the fallback text "I sent you an OMEMO message...", I think it should be decrypted there too, is this a known behavior?
  116. Wiktor Thanks in advance for help!
  117. lovetox no please open a issue
  118. lovetox thanks
  119. Wiktor no problem, thank you
  120. Wiktor hmm is this a gajim plugins issue (because OMEMO) or gajim issue (because notifications)?
  121. lovetox no its a gajim core issue
  122. lovetox Wiktor,
  123. bot Wiktor created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9506 >: #9506: < OMEMO decrypted messages show fallback text in Gnome notifications >
  124. Wiktor 👍️ thank you lovetox
  125. bot antigreen created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9507 >: #9507: < Ubuntu - Gnome Subscription Request Window >
  126. asterix Some could argue that encryptes msg should not not be displayed in a notif (whule presentung sth in a meeting) ...
  127. lovetox i would think this is true in general not only for encrypted messages
  128. lovetox but i think we have this, notify while away, xa is disabled by default
  129. Amy Hey, it's me again. I've now turned Gajim into a formula, complete with a brewed virtualenv and dependencies. Only problem I've run into is that Python windows in MacOS are automatically spawned as tabs of a single window, which borks GTK widget clicking
  130. mimi89999 lovetox: Please add a room that you can't join to your bookmarks and set autojoin on it and see if you can reproduce my issue.
  131. lovetox Amy what do you mean with python windows?
  132. lovetox python does not create any windows, GTK does
  133. lovetox has this something to do with hiding the console? because when i start Gajim on a mac from console, i have no problems with clicking anything
  134. lovetox mimi89999, what issue again? the wayland one?
  135. Amy (At least in my Mac) GUI toolkits, when invoked from within Python, spawn windows within a single frame
  136. Amy This happens with matplotlib, tkinter, gtk... let me get you a screenshot
  137. mimi89999 lovetox: Yes
  138. Amy lovetox, https://framapic.org/2qjyaJD0aHUX/BrZhqGukFFxs.png
  139. lovetox mimi89999, whats the reason you cant join? just so i can recreate the same thing
  140. mimi89999 Yes
  141. lovetox uh Amy, but that doesnt happen for me if i just use ./launch.py from console
  142. lovetox can you share the formula and tell me how to test it, then i can check if i experience the same issue
  143. lovetox mimi89999, i can trigger the remote-not-found error, a popup shows, but no crash
  144. lovetox does it crash for you before the popup shows?
  145. Amy lovetox, formula here: https://framabin.org/p/?ab344959f7a675dd#CbKT3CtHbzCV4j9IohvDiPWAPdtxX1Vf0lwb3sBfm/0=
  146. mimi89999 Yes. Just after the roster window appears.
  147. mimi89999 Are you using detached roster with windows grouped by type windows setting?
  148. lovetox no but i can try that
  149. mimi89999 Please
  150. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9506 >: #9506: < OMEMO decrypted messages show fallback text in Gnome notifications >
  151. lovetox mimi89999, no nothing happens, i just think my wayland lib is not on the same version maybe
  152. lovetox or GTK
  153. lovetox maybe you could post your traceback here
  154. lovetox https://gitlab.freedesktop.org/wayland/wayland
  155. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9507 >: #9507: < Ubuntu - Gnome Subscription Request Window >
  156. lovetox and maybe they can give us pointers how to get to the bottom of it
  157. mimi89999 BTW, here is the full trace: https://paste.debian.net/1057008/
  158. lovetox hm yeahon what system are you again?
  159. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9096 >: #9096: < Error when adding new contact (subscription) >
  160. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *43f210bb* < https://dev.gajim.org/gajim/gajim/commit/43f210bbaa837b939455b1cb13d40d44b7201b10 > Remove unused code *94479dd7* < https://dev.gajim.org/gajim/gajim/commit/94479dd7f65cb12e8eee60fc2c12153b0ab7f23c > Check if event was not consumed Fixes #9096
  161. lovetox mimi89999, maybe you can update your gtk version?
  162. lovetox mimi89999, look what i found
  163. lovetox Overview of Changes in GTK+ 3.24.2
  164. lovetox wayland: Avoid crashes inside wl_proxy_marshal
  165. nico lovetox, the omemo error only appers with newer version of gajim. I did a downgrade to the last version I build python-nbxmpp-git-0.6.8.r28.gf2a2033 and gajim-git-1.0.0.beta1.r947.g760645f5c without editiing the sqlite files and everything worked fine again. There seems to be a mistake somewhere inbetween. I would guess that nbxmpp is borked somewhere.
  166. lovetox this is a database problem
  167. lovetox nbxmpp has nothing to do with it, if there is a bug, then its in the plugin
  168. nico but I did not downgrade the plugin just gajim and nbxmpp and everything works perfectly again. The error keeps appearing on different devices
  169. nico if I dont downgrade
  170. nico the sqlite fix works for a moment but then another client breaks and the whole thing starts over.
  171. lovetox yeah then test it for longer
  172. lovetox if the error is really gone with 1.0
  173. lovetox then i look into what changed
  174. lovetox i believe its just not happening right now
  175. lovetox so you believe everything works
  176. nico it is not really 1.0 thats just the aur build script creating the package. it is gajim build with the commit 760645f5 python-nbxmpp with the commit f2a20338 I just choose the previous build I had in my cache which seemed to work with out the problem.
  177. lovetox normally you can switch between 1.0 and 1.1 without up and downgrading omemo
  178. lovetox maybe you should update your omemo
  179. lovetox *cant
  180. nico the 1.0 is just from the aur build script to mind that at all the commit id is the important part. Gajim: 1.1.91 PyGObject-Version: 3.30.4 python-nbxmpp Version: 0.9.90 This is the version I am using now to have a functional omemo plugin
  181. lovetox Gajim has most likely nothing to do with it, everything happens in the plugin
  182. nico But the plugin did not change at all with both version. Thats why I am trying to tell you. The plugin did not change at all. In both cases the plugin stays exactly the same, no change at all.
  183. lovetox yeah, something other happend, you go a new key maybe which triggered the problem
  184. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: https://conference.gajim.org:5281/pastebin/f654a137-6d69-493e-8c5a-320fea91b4e2
  185. nico no I did not have any new key or anything like that. I have a 4 key setup, which did not change in 3 month. Just the gajim and nbxmpp version did change nothing else
  186. lovetox how did you find out that there is a problem?
  187. lovetox maybe i have time tomorrow then i can look how we can solve that database issue
  188. nico I had my laptop beside me and wrote from my desktop to a friend. The carbon reaching my laptop got marked as unencrypted which seemed strange to me. So I typed a message from my laptop which was not decryptable on my desktop. the sqlite change worked for a while but I borked right after that.
  189. lovetox so it probably didnt work for a longer time, you just didnt saw it because you didnt had both computer beside each other
  190. nico that is not the case I use all my clients daily at least once
  191. nico I am 100% sure about this. I really use all my clients daily. the is no doubt about that. because right after downgrading with out toughing the db manually everything worked fine again.
  192. lovetox ok, are we talking about the same things
  193. lovetox i talk about doubled fingerprints that you cant approve
  194. lovetox thats a db issue, it has nothing to do with Gajim
  195. lovetox Messages not arriving can have many other reasons
  196. nico https://conference.gajim.org:5281/pastebin/91d1ab15-09bc-434c-ab11-8e039b41f559
  197. lovetox ok, i think 2 issues got mixed here
  198. lovetox first you upgraded gajim probably to latest master, which is right now very unstable, it woudl not shock me if a carbon is not decryptable, have to look into it
  199. lovetox the second issue is the database thing, which is maybe a bit annoying but alone should not really cause that many problems
  200. lovetox i would say stay on whatever version worked for you
  201. lovetox and i look if i can reproduce the problem
  202. nico the two commits i referenced somewhere above are working perfectly. at least for my usecase. thank you for listening to my problem 🙂 I am wondering if it really is a db problem. I did not change the db prior to the downgrade and everything worked fine again. This is really strange 😕