Gajim - 2019-10-16


  1. concerto o/
  2. concerto Recent builds of Gajim default nightly always show the participants list as blank...what's up? ._.
  3. wurstsalat concerto: logs required, as always ;)
  4. concerto wurstsalat: what am I looking for?
  5. wurstsalat group chat avatar surface errors I guess
  6. concerto Hm...what's this? https://conference.gajim.org:5281/pastebin/ac20327a-b6f5-4810-9ae1-25cbf9258fa1
  7. concerto There are quite a few of those
  8. wurstsalat Hm that's something different. Is the latest nbxmpp installed?
  9. concerto v20191012-1
  10. concerto python3-nbxmpp-nightly v20191012-1
  11. mrdoctorwho Hi there
  12. mrdoctorwho I'm having this error again 16.10.2019 13:06:46 (E) nbxmpp.smacks Server did not send h attribute
  13. wurstsalat mrdoctorwho: which server software?
  14. mrdoctorwho ejabberd
  15. wurstsalat 2? :D which version?
  16. wurstsalat concerto: then you should prpbably opem an issue so this won't get lost :)
  17. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/450 >: WIP: Rework AccountCreationWizard
  18. mrdoctorwho Can we have an option to disable SM like psi does?
  19. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/450 >: WIP: Rework AccountCreationWizard
  20. SaltyBones wurstsalat, I have the same issue with my checkout of yesterday, in group chats the lists are empty
  21. SaltyBones i see a few TypeError: unknown type CairoSurface
  22. SaltyBones lovetox_, looks like you changed a lot in this avatar handling code, got any idea?
  23. SaltyBones It's failing here: gajim/gajim/gtk/groupchat_roster.py", line 209, in add_contact (surface, nick, None, True, nick))
  24. lovetox_ you need pygobject > 3.32
  25. SaltyBones hm...i think i don't have pygobject at all
  26. lovetox_ yes you have, maybe its called slightly different
  27. lovetox_ dont know on what system you are
  28. SaltyBones hm...
  29. SaltyBones I'm on Ubuntu
  30. SaltyBones how would I import this?
  31. SaltyBones ah gi
  32. SaltyBones oh yeah >>> print(gi.__version__) 3.26.1
  33. wurstsalat Ubuntu 19.04 (disco dingo) features pygobject 3.32
  34. SaltyBones well...there must be a way to get this running on 18.04
  35. SaltyBones currently trying to pip install pygobject fails because there is no gobject-introspection
  36. SaltyBones hm...globally i seem to have a package python3-gi ...so what is it missing
  37. SaltyBones sudo apt install libgirepository1.0-dev helped, now i have pygobject
  38. SaltyBones lovetox_, the setup.cfg for nbxmpp contains: version = attr: nbxmpp.__version__ which requires that it already be imported, so the installation fails if some dependencies are not met
  39. SaltyBones could this version number be generated with a git hook or something instead?
  40. lovetox_ i dont think it fails
  41. lovetox_ this is especially made for that
  42. lovetox_ if it fails the reason is something different
  43. SaltyBones i just tried and then debugged a while with people from freenode#python
  44. SaltyBones it fails if dependencies are unmet
  45. lovetox_ i install nbxmpp everyday with pip install .
  46. SaltyBones so if you don't have precis-i18n and pyopenssl
  47. lovetox_ never failed for me
  48. SaltyBones lovetox_, in a new virtualenv?
  49. lovetox_ no
  50. SaltyBones because you probably have the deps installed globally...
  51. lovetox_ weird, have to test at home then
  52. lovetox_ we do the same for gajim
  53. lovetox_ version = attr: gajim.__version__
  54. lovetox_ i find it highly unlikely that this has never poped up before if this would be a problem
  55. lovetox_ im sure not everybody had a preinstalled version of gajim already
  56. lovetox_ although nobody installs it in virtualenv i guess
  57. lovetox_ so maybe there are other rules there
  58. lovetox_ what do you mean it fails when dependencys are un met
  59. lovetox_ thats the whole reason to specify them or not?
  60. SaltyBones lovetox_, i think it depends on the imports as well
  61. SaltyBones https://bpaste.net/show/-51d
  62. SaltyBones so if gajim doesn't import too many things in it's __init__.py it might work, i guess
  63. lovetox_ i dont see the problem in that error
  64. lovetox_ its a dependency you have to install ..
  65. SaltyBones right but if I fix the version number
  66. SaltyBones pip will install those deps automatically
  67. SaltyBones but it never gets to that point because it tries to load the file to get the version number before installing the deps
  68. SaltyBones and that fails
  69. lovetox_ ok so the problem is not that nbxmpp has to be preinstalled to be loaded
  70. lovetox_ the problem is nbxmpp is loaded and then dependencys are loaded that are not yet installed
  71. SaltyBones yes
  72. SaltyBones i was confused at first, sorry :)
  73. lovetox_ yeah i see the problem, i will look that we can remove most stuff from init.py
  74. SaltyBones maybe a bit of a noob question: what does it do in there anyway?
  75. lovetox_ faster access
  76. lovetox_ if you do from protocols import *
  77. lovetox_ in the init, you can access all attributes from the protocols modules via nbxmpp.yourattr
  78. lovetox_ which is nicer then writing everytime, nbxmpp.protocols.yourattr
  79. SaltyBones right
  80. SaltyBones so a very simple solution would be to put the version in a separate file and import it from both places, I guess
  81. SaltyBones should I try or do you want to have a look at those imports anyway?
  82. lovetox_ no i will just write the version for now into the setup.cfg
  83. SaltyBones alright, thanks!
  84. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *bf53ae00* < https://dev.gajim.org/gajim/python-nbxmpp/commit/bf53ae006052d0a3265a1969d9b3a1b810d7022c > Don't import version from package __init__.py has too many other imports, this leads to all dependencys beeing imported in the install process before they are downloaded
  85. SaltyBones nice, it works
  86. bot SaltyBones created an issue in _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp/issues/87 >: #87: < idlequeue.py probably doesn't work without GLIB >
  87. bot Philipp Hörist closed an issue in _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp/issues/87 >: #87: < idlequeue.py probably doesn't work without GLIB >
  88. SaltyBones I might be wrong here but isn't the definition of the class executed anyway?
  89. SaltyBones lovetox_, ^
  90. SaltyBones okay, i've tried, yes it is.
  91. lovetox_ hm true
  92. bot Philipp Hörist modified an issue in _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp/issues/87 >: #87: < idlequeue.py probably doesn't work without GLIB >
  93. SaltyBones why do we have a variable that caches the current time at startup anyway? :)
  94. lovetox_ useless, can be removed
  95. lovetox_ ah no
  96. lovetox_ this is not the time
  97. lovetox_ this is a reference to the method
  98. lovetox_ this is just lazy, so we dont have to define a method
  99. lovetox_ also we should use monotonic time here
  100. lovetox_ as we are not interested in the wall clock time, and this could be a problem if system time changes
  101. Nothing4You gajim master once again is missing an undocumented (on gajimmacosx) dependency
  102. Nothing4You > Missing dependency: Namespace Soup is not available
  103. Nothing4You gir1.2-soup is listed as runtime dependency in readme.md but i don't know where to get that for macos
  104. lovetox Nothing4You, can you try
  105. lovetox brew install libsoup
  106. lovetox if this works i add it to the wiki
  107. Nothing4You lovetox, that works
  108. bot Richard Schwab created an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/454 >: #454: < clickable_nicknames is broken in gajim master >
  109. devi1 Can somebody write plugin for URL title/metatags preview?
  110. lovetox sombody can yes
  111. lovetox though the question is who :)
  112. devi1 Maybe url image preview plugin author can extend functionality
  113. devi1 ops, authorS 🙂
  114. devi1 Only the absence of this feature prevents me from completely switching to Gajim
  115. lovetox hm maybe open a issue at https://dev.gajim.org/gajim/gajim-plugins/issues
  116. lovetox and post a screenshot or something how this should look
  117. devi1 Thanks, I'll try to figure out how this should look and open an issue
  118. bot Philipp Hörist closed an issue in _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp/issues/87 >: #87: < idlequeue.py probably doesn't work without GLIB >
  119. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *8fb372a5* < https://dev.gajim.org/gajim/python-nbxmpp/commit/8fb372a55962a47e4ddf8bb35a46188f7ce0a5b9 > Use monotonic time for timeouts Fixes #87
  120. SaltyBones 💯👍👏
  121. bot Philipp Hörist pushed 5 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/e3357093-6efe-4fce-b316-a7f36df31114
  122. Ksenia What version of nbxmpp should I use for development?
  123. lovetox the latest
  124. lovetox so git master branch
  125. Nothing4You pip3 install git+https://dev.gajim.org/gajim/python-nbxmpp.git#egg=nbxmpp
  126. bot Daniel Brötzmann modified an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/454 >: #454: < clickable_nicknames is broken in gajim master >