Gajim - 2018-04-20

  1. bot Daniel closed an issue in _gajim_ < >: #7230: < Gajim doesn't display all groups and contacts >
  2. Maranda Ohhh icons :P
  3. bot Daniel modified an issue in _gajim_ < >: #9056: < APPCRASH: Gajim.exe libgtk-3-0.dll >
  4. bot Daniel modified an issue in _gajim_ < >: #9025: < The portable installer should have an uninstaller included >
  5. bot Daniel closed an issue in _gajim_ < >: #8730: < UnicodeDecodeError: 'utf8' codec can't decode byte 0xd6 in position 1: invalid continuation byte >
  6. bot Wiktor modified an issue in _gajim_ < >: #8982: < Update HTTP Upload to `urn:xmpp:http:upload:0` >
  7. bot Daniel closed an issue in _gajim_ < >: #8510: < error when deleting a contact >
  8. bot Daniel closed an issue in _gajim_ < >: #8175: < Gajim status/tray icon disappears after idle time on gnome 3.14 >
  9. bot Daniel closed an issue in _gajim_ < >: #7888: < Icon in notifiction area has 1 pixel in Gnome 3.14 >
  10. bot Yann Leboulanger closed an issue in _gajim_ < >: #8248: < Error popup about a programmation error getting the keycode pressed. >
  11. bot Daniel modified an issue in _gajim_ < >: #8453: < How many interlocutors in group sending message, so many times sounds send message sound & many douplicates of a message per one person of this sending group in history. >
  12. bot Philipp Hörist proposed a new merge request for _gajim/master_ < >: Support http:upload:0
  13. bot Philipp Hörist updated a merge request for _gajim/master_ < >: Support http:upload:0
  14. Maranda \o/
  15. Maranda lovetox, oh avatar updates work good too.
  16. Maranda (it will rebroadcast the room presence when I update with the new hash)
  17. bot Me Like Cookies created an issue in _gajim_ < >: #9091: < login after password changed // wifi regained >
  18. bot Me Like Cookies modified an issue in _gajim_ < >: #9091: < login after password changed // wifi regained >
  19. Maranda lovetox added more icons here and there :P
  20. Maranda lovetox next adding something to set room vcards for room owners?
  21. Maranda currently has to set it manually via console
  22. lovetox hm yes should not be too much work
  23. lovetox but i would make it without any kind of preview, just select the path and it uploads automatically
  24. Maranda lovetox, just remove all fields cept photo
  25. Maranda e.g.
  26. lovetox we could spin this to the end
  27. lovetox and a room can have a full vcard
  28. lovetox :D
  29. lovetox i mean next request is, i want to set the email because its a support channel
  30. lovetox or whatever
  31. Maranda lovetox, oh well Metronome will still get rid of everything cept <photo /> though dunno about ejabberd :P
  32. lovetox hm but would it not be better to add a field in the room config?
  33. lovetox most clients have ui for that anyway
  34. lovetox and thats where you configure the room
  35. Maranda lovetox, I wouldn't dare guessing what may happen :P
  36. lovetox room config is a extensible form
  37. Maranda uploading an image there?
  38. lovetox
  39. Maranda sure largely unsupported by most, I'm not sure how many could render that
  40. Maranda (in the room config form anyways)
  41. lovetox yeah and 0221, seems to be about links to data
  42. lovetox not to put actual data
  43. Maranda that too.
  44. Maranda though...
  45. Maranda
  46. Maranda 💘
  47. Maranda w00t wrong mime
  48. Maranda lol
  49. bot tapete created an issue in _gajim_ < >: #9092: < History mishmash when contact ist in roster of 2 accounts >
  50. bot tapete modified an issue in _gajim_ < >: #9092: < History mishmash when contact is in roster of 2 accounts >
  51. Maranda Ohhh nice...
  52. Maranda so callback isn't stopping.
  53. troom Hi, I read you have some python module reloading problems
  54. troom if you can provide a small a example I can try to get this example to work
  55. lovetox but a simple example does not really help
  56. lovetox our plugins are python packages
  57. lovetox and we want to reload them
  58. lovetox this can only be done with complicated recursive reloading of all imports that the plugin does
  59. lovetox a plugin itself has many modules that it imports
  60. troom are these local imports - within the plugin folder?
  61. troom because file outside the pluginfolder shouldn't change?
  62. troom would it be enough as example, if I go to the plugin folder
  63. troom load all plugins
  64. troom change one plugin and reload it?
  65. lovetox yeah just look up one simple plugin and reload it
  66. lovetox i think the problem is that we import the file into the file
  67. troom yeah, I'm going to delete the Package too
  68. troom I did this before in python 2
  69. troom hope it works in python 3 too
  70. troom i cannot import plugins if gajim is not running
  71. troom is there a way to set the gajimpaths without really running gajim?
  72. troom found it
  73. troom works for me
  74. troom you have to change the plugin back after each run
  75. troom the script needs to be in the gajim mainfolder or adapption
  76. lovetox we use importlib.reload()
  77. troom yes, but you don't have too?
  78. lovetox no we can try with that, but i doubt this is enough
  79. lovetox what if the plugin imports another file within the plugin folder?
  80. troom i remove all modules within the plugin package
  81. troom all modules that start with the plugin package
  82. troom this remove subpackages too
  83. lovetox hm yeah could work for plugins
  84. lovetox because the plugin is only in one place imported in whole gajim
  85. lovetox because your way does not update references to the module
  86. lovetox if i import the plugin in
  87. lovetox and you do your sys.modules thing in
  88. lovetox will still link to the old code
  89. lovetox but i think this is not done in gajim so this could work
  90. troom it would be near to impossible to update the references
  91. lovetox no, importlib.reload() does that
  92. lovetox but it has other drawbacks
  93. lovetox it does mangle the old and new code somehow
  94. lovetox or simply does not work for some imports
  95. lovetox like from x import y
  96. lovetox it only works for import x
  97. lovetox
  98. lovetox i just read this, and conclusion is, dont reload if you can avoid it
  99. lovetox still your way could work for plugins because we really only get one object from the plugin
  100. lovetox the plugin is never called or referenced afterwards or by other files
  101. lovetox so i will try this, thanks :)
  102. troom you are welcome - I gotta go now
  103. troom bye