Gajim - 2015-08-16

  1. bot RSS: Feeds for Gajim • Changeset [15797:6614fa79b26c]: use introspection instead of ctype to use gtkspell use introspection instead of ctype to use gtkspell
  2. Link Mauve <3
  3. Asterix comme ca ca marche direct sous win :)
  4. Asterix oups... This way it works nicely under windows
  5. tmolitor hi everyone...I'm trying to implement this proposed XEP for http fileuploads in gajim...a detailed introduction into the necessity of such a component and the simple protocol can be found on the XMPP Standards email list:
  6. tmolitor are there any simple hooks in the current file transfer code I can use to transparently switch to this new transfer method in the background, I available on the server?
  7. tmolitor some more infos:
  8. Link Mauve Asterix, on the default branch: Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/nbxmpp/", line 497, in dispatch handler['func'](session, stanza) File "/usr/lib/python3.4/site-packages/nbxmpp/", line 425, in SASLHandler r = 'c=' + scram_base64(bytes(self.scram_gs2) TypeError: string argument without an encoding
  9. Link Mauve From nbxmpp r158.ffa6dc7501b6.
  10. Link Mauve Replacing bytes(self.scram_gs2) with self.scram_gs2.encoding('utf8') made it work, but is it the right thing?
  11. Link Mauve I also have tons of DeprecationWarning from Gtk, Gst, etc.
  12. Link Mauve Also, there is some fucked up z-sorting on Weston, in the accounts window I clicked on Add, and now whichever window has the focus will sort itself *behind* the other one.
  13. Link Mauve Would you like to have the name of the packages required on ArchLinux for each feature? They are already listed in optional dependencies when installing the package, but getting Debian names instead is very bad looking.
  14. Link Mauve With python-dbus installed: Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/dbus/", line 604, in msg_reply_handler reply_handler(*message.get_args_list(**get_args_opts)) File "/usr/share/gajim/src/common/zeroconf/", line 155, in service_resolved_callback port, self.txt_array_to_dict(txt))) File "/usr/share/gajim/src/common/zeroconf/", line 147, in txt_array_to_dict txt_dict[key] = val.decode('utf-8', 'ignore') AttributeError: 'str' object has no attribute 'decode'
  15. arune tmolitor: also see
  16. arune Please implement ☺
  17. tmolitor Yes, I'm on it ☺ But would be nice to have someone with deeper knowledge of gajim internals to discuss the architecture of the implementation...
  18. tmolitor I wanted to tweak the Image Preview Plugin to display the image when Conversations sends the image url and to display something like a download button if its not an image...
  19. tmolitor And to do this only for messages only containing an URL and nothing more, I don't want to touch messages containing some link between normal text lines...
  20. tmolitor But this seems to be inpossible by using the current plugin hooks/extension points...or am I wrong?
  21. Link Mauve Asterix, Gajim suddenly started taking 100% of the CPU, and spouting that in stdout: Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/gi/overrides/", line 726, in <lambda> func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data) File "/usr/lib/python3.4/site-packages/nbxmpp/", line 549, in _process_events return IdleQueue._process_events(self, fd, flags) File "/usr/lib/python3.4/site-packages/nbxmpp/", line 409, in _process_events obj.pollin() File "/usr/share/gajim/src/common/zeroconf/", line 519, in pollin if errnum == socket.SSL_ERROR_WANT_READ: AttributeError: 'module' object has no attribute 'SSL_ERROR_WANT_READ'
  22. Link Mauve Note that it only started doing that after a while of staying in the background doing nothing but being connected.
  23. Link Mauve It might have started when I launched transmission-daemon, but that’s likely just a coincidence.
  24. arune tmolitor, just add a new button for httpupload, mucs don't have a share-file-button anyway
  25. Asterix tmolitor: there is not really a simple hook. First we have to decide when using which protocole. This is done in, line 359 for sending.
  26. Asterix Link Mauve: what about b'c=' + scram_base64(self.scram_gs2)
  27. Asterix deprecation warning from GTK, yes there are many, but they deprecate half of the API on every minor release ...
  28. Asterix I try to fix as much as I can, but some are very recent and will breack compatibility with 3.12 for example
  29. Asterix or 3.14 (the one in debian stable)
  30. Asterix zeroconf ... it's completly untested. There is no python3-avahi under debian ...
  31. Asterix there is a python3-zeroconf, but I have to rewrite things o use it. I don't know what's the best between both
  32. Asterix and for the last TB, I use the default branch everyday and never saw that. but once again zeroconf is not supposed to work correctly ...
  33. Link Mauve Asterix, yeah, that’d work even better.
  34. Link Mauve Asterix, in ArchLinux, the avahi Python module is provided by the avahi package.
  35. Link Mauve So other than those and the old GTK+ bug that made Gdk.Screen.height_mm() return 0 on Wayland, the basic features were working fine. :)
  36. tmolitor yes, mucs don't have such a button, but httpupload would also be useful in normal chats because it plays nicely with mam and/or carbons (jingle does not)...and it would be confusing to have 2 filetransfer buttons there...
  37. tmolitor Asterix: yes, I'll take a look at this...
  38. arune tmolitor, just make a cooler icon and have the tooltip say "Send files fast via server"
  39. arune or something... :)
  40. arune tmolitor: if you implement it as a plugin (which would be good since the xep isn't event experimental yet) it would even be logical with two buttons, or at least understandable