Gajim - 2018-04-24

  1. akhil How to get server info like in screenshot
  2. evoof akhil: Accounts > advanced > server info
  3. akhil thanks
  4. bronko are windows nightly builds disabled? directory is empty since yesterday:
  5. lovetox then something broke the build
  6. lovetox have to look into it
  7. lovetox hm jo setuptools package seems to be broken
  8. mrDoctorWho hi
  9. mrDoctorWho
  10. mrDoctorWho Traceback (most recent call last): File "/home/mrdoctorwho/gajim/gajim/", line 850, in _on_notebook_key_press self.move_to_next_unread_tab(True) File "/home/mrdoctorwho/gajim/gajim/", line 779, in move_to_next_unread_tab if ctrl.get_nb_unread() > 0: AttributeError: 'NoneType' object has no attribute 'get_nb_unread'
  11. mrDoctorWho and this
  12. mrDoctorWho should I fill a bugreport?
  13. asterix Can you reproduce? Do you know what triggered that?
  14. ciampix hi guys... Ubuntu 16.04 user here ... I can't install Gajim from the Gajim site ppa because of wrong dependencies ... what can I do?
  15. zuglufttier ciampix, upgrate to 18.04 in a few days.
  16. zuglufttier There is a newer GTK in there.
  17. zuglufttier I think it will be released in two days?
  18. ciampix I understand but it's not really a solution ... I couldn't upgrade for a start ... thank you anyway... posted just to make you know ... I'll continue to use Jitsi on the PC and Conversation on the phone as XMPP client...
  19. UsL lovetox, thanks for your help yesterday. The plugin didn't work as intended though. But I sorted out why my gajim couldn't fetch the plugins. ISP issue.
  20. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >:
  21. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < >: *e3764509* < > [esessions] Fix dependency check - remove unused imports
  22. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < >: *a70e4f12* < > [esessions] Update manifest.ini
  23. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ < >: *6447da9c* < > [pgp] Fix dependency check *7d211da5* < > [pgp] Update manifest.ini
  24. lovetox cippaciong, in the future versioned zips will be published here not anymore with tags
  25. cippaciong lovetox: 👍
  26. cippaciong Thanks for telling me
  27. troom lovetox: did you succeed reloading plugins or are there open issues?
  28. lovetox i didnt try yet
  29. jjrh lovetox, just fyi I am still intending to finish up the changes you requested for the logging just haven't had a chance to do any work on gajim since Saturday. Hopefully find time today or tomorrow.
  30. lovetox there is no stress :) take your time
  31. jjrh Yeah just wanted to give a fyi. Gajim has a lot more moving parts than I first realized.
  32. jjrh out of curiosity is there any reason for having so much stuff in the 'advanced' configuration? Or is it just because it's really easy to add new configuration options there?
  33. jjrh I'm thinking it might be a good idea to pull out or at least categorize the various settings - so it's a little easier to view say all the 'look and feel' settings.
  34. bot André updated a merge request for _gajim/master_ < >: Make keyring a hard dependency
  35. lovetox its not really meant as a thing a user should often look into
  36. lovetox so making it nicer is not really the goal
  37. lovetox if there are settings that users often want to change or use, they should get a UI switch in the preferences
  38. lovetox and also its not a choice to add something there or not, if we need to store information about something thats the only place we have
  39. jjrh Yeah - feels like there is a lot of stuff there that is reasonable for users to want to change.
  40. jjrh Certainly all the look and feel stuff should have it's own section - probably hidden by default but a 'show advanced' button to show it.
  41. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >: *21d4d0cb* < > Remove unused import / codestyle Pass args to logging method instead of string formatting
  42. troom I looked at the plugin mangement and there are two PLUGIN_DIRS
  43. troom but many functions just use PLUGINS_DIRS[1]
  44. troom with many functions I'm talking about the plugin_installer
  45. troom what is the idea behind this directories?
  46. lovetox one is the user dir, and the other one where distris ship plugins
  47. lovetox though if you search reloading code, plugin_installer does not do any reloading
  48. lovetox this code is in gajim/plugins
  49. troom I would add a remove_plugin function to the plugin_manager which removes the modules of a plugin from sys
  50. troom next time add_plugin is called, it has a freh start
  51. troom fresh
  52. troom and remove the existing reloading code
  53. lovetox hm why not just replacing the existing reloading code?
  54. troom I thought it would be cleaner if i remove a plugin to really remove it
  55. lovetox we already do this
  56. troom plugin_installer removes it from the plugin list
  57. troom but the code is still loaded in sys
  58. lovetox plugin_installer shouldnt do this
  59. lovetox plugin_installer installs plugins
  60. lovetox plugin_manager removes and adds plugins to running gajim
  61. lovetox and if you take a look there, we already remove the plugin from sys.modules
  62. troom oh, I did'nt see this function
  63. troom but why does plugin_installer doesn't call this function?
  64. troom i see it
  65. troom this function deletes the plugin too
  66. lovetox it calls deactivate_plugin
  67. troom so does the plugin_installer
  68. troom it deactivates the plugin and removes it from the list of plugins in the plugin_manager
  69. troom if remove_plugin wouldn't contain this rmtree, it would be a great fit in my opion
  70. troom opinion
  71. troom and I guess, we don't want to remove the global config
  72. lovetox there are multiple problems here
  73. lovetox if we remove on deactivate sys.modules
  74. lovetox you can not activate the plugin in anymore
  75. lovetox becuase the module loading happens in scan_dir_for_plugins
  76. lovetox not in activate_plugin
  77. troom not on deactivate
  78. lovetox maybe its indeed better
  79. lovetox if the plugin installer does the reloading
  80. lovetox add it after deactivate
  81. lovetox and before scan_dir_for_plugins
  82. troom what I would like todo in the plugin_manager:
  83. troom call the current remove_plugin function delete_plugin
  84. troom because remove is for me the opposite action to add and add_plugin does no filesystem stuff
  85. troom then create a new remove_plugin function what possibly deativates the plugin, removes it from the list and deletes the contents of sys.modules
  86. troom in plugin_installer I just want to use remove_plugin
  87. lovetox yeah sounds ok
  88. troom ok, I will do this this week - you will see a Merge Requests if it is working :-)
  89. lovetox yeah and also im wondering what is happening if the plugin_installer updates it self ^^
  90. Maranda hmm what happened to windows snapshots?
  91. lovetox broken
  92. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >: *e2383fd7* < > Refactor i18n module - Move everything translation related from to
  93. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < >: *1c48ee40* < > Fix Windows build