Gajim - 2018-04-24


  1. akhil How to get server info like in screenshot https://gajim.org/imgs/gajim_server_info.png?
  2. evoof akhil: Accounts > advanced > server info
  3. akhil thanks
  4. bronko are windows nightly builds disabled? directory is empty since yesterday: https://gajim.org/downloads/snap/win/
  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 https://conference.gajim.org:5281/pastebin/f77f2e97-1e5c-41b8-860f-f79e76f7b659
  10. mrDoctorWho Traceback (most recent call last): File "/home/mrdoctorwho/gajim/gajim/message_window.py", line 850, in _on_notebook_key_press self.move_to_next_unread_tab(True) File "/home/mrdoctorwho/gajim/gajim/message_window.py", 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_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/82b1f19c-ee94-4517-8174-cacc2da1a2b9
  21. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *e3764509* < https://dev.gajim.org/gajim/gajim-plugins/commit/e3764509cdf8be4d5a05696b0e66cacfbd4b0977 > [esessions] Fix dependency check - remove unused imports
  22. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *a70e4f12* < https://dev.gajim.org/gajim/gajim-plugins/commit/a70e4f12f66ab5faead0790182529e5de7369fd4 > [esessions] Update manifest.ini
  23. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins >: *6447da9c* < https://dev.gajim.org/gajim/gajim-plugins/commit/6447da9ca2f9108175903358282a8037466e99b8 > [pgp] Fix dependency check *7d211da5* < https://dev.gajim.org/gajim/gajim-plugins/commit/7d211da5a8ffcb421987c58ef0c179d7107daee2 > [pgp] Update manifest.ini
  24. lovetox cippaciong, in the future versioned zips will be published here https://ftp.gajim.org/plugins_releases/ 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_ < https://dev.gajim.org/gajim/gajim/merge_requests/225 >: 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_ < https://dev.gajim.org/gajim/gajim >: *21d4d0cb* < https://dev.gajim.org/gajim/gajim/commit/21d4d0cb1eff21b9787df0f42ac501099128b9e7 > 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_ < https://dev.gajim.org/gajim/gajim >: *e2383fd7* < https://dev.gajim.org/gajim/gajim/commit/e2383fd7a4cfd8d1dc38ca51fb74f97e7a657ccf > Refactor i18n module - Move everything translation related from gajim.py to i18n.py
  93. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *1c48ee40* < https://dev.gajim.org/gajim/gajim/commit/1c48ee405d1d9496731ac2c203fef31342f7f93f > Fix Windows build