Gajim - 2020-01-31


  1. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/554 >: Roster: Show group chat description instead of topic
  2. debacle wurstsalat gajim-syntaxhighlight is nice. I'll upload to Debian soon™. Thanks for the hint!
  3. wurstsalat debacle, nice, thank you!
  4. beelze File "/usr/lib64/python3.6/site-packages/nbxmpp/protocol.py", line 808, in validate_domainpart return nameprep.prepare(domainpart) File "/usr/lib64/python3.6/site-packages/nbxmpp/stringprepare.py", line 205, in prepare result.append(self.nameprep(label)) File "/usr/lib64/python3.6/site-packages/nbxmpp/stringprepare.py", line 220, in nameprep raise UnicodeError("Invalid leading hyphen-minus") UnicodeError: Invalid leading hyphen-minus Seems domainpart == -1
  5. wurstsalat beelze, which domain is that?
  6. bot Daniel Brötzmann closed an issue in _gajim-plugins_ < https://dev.gajim.org/gajim/gajim-plugins/issues/477 >: #477: < [url_image_preview] Optionally(?) attempt download only on URLs ending with well-known image file extension >
  7. lovetox debacle, the most as in if you comment add_groupchats() out, it loads instantly?=
  8. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/556 >: ChatControlBase: Rework drag and drop
  9. lovetox and how much is most?
  10. lovetox the method does a database query, but its also cached, and also you should see in the debug log how many ms the database query needs
  11. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *6dacbe4c* < https://dev.gajim.org/gajim/gajim/commit/6dacbe4c6b1acb27a3425d49d470e82e5e972a28 > Use GSound to play sound on Linux
  12. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/564 >: Use GSound to play sound on Linux
  13. lovetox asterix, can you add a new dependency to the nightly package ^
  14. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/564 >: Use GSound to play sound on Linux
  15. lovetox also libsoup if you havent done it yet
  16. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/554 >: Roster: Show group chat description instead of topic
  17. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *9a8ca991* < https://dev.gajim.org/gajim/gajim/commit/9a8ca9918cc9e9952ea08f97295e56437dd9005d > Roster: Show group chat description instead of topic
  18. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/554 >: Roster: Show group chat description instead of topic
  19. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/554 >: Roster: Show group chat description instead of topic
  20. beelze wurstsalat, i do not know, print(domainpart) displays -1
  21. beelze wurstsalat, yes. inserting def validate_domainpart(domainpart): print(f'**** {domainpart} ****') shows **** blabber.im **** **** -1 ****
  22. wurstsalat beelze, do you have more than one account configured in gajim?
  23. beelze wurstsalat, can't remember exactly, what config file or whatever should I check for accounts?
  24. wurstsalat Either Gajim > Accounts or Accounts > Edit Account, depending on your gajim version
  25. beelze the problem is Gajim not working, menu «not responding» :-)
  26. wurstsalat beelze, ~/.config/gajim/config
  27. wurstsalat it's a text file containing your config
  28. wurstsalat all your accounts are listed there
  29. wurstsalat starting with "accounts."
  30. beelze wurstsalat, got it. I see accounts.{local,blabber.im,xmpp.ru}
  31. wurstsalat accounts.youraccount.hostname would be interesting for the -1 case
  32. beelze accounts.Local.hostname = accounts.blabber.im.hostname = blabber.im accounts.xmpp.ru.hostname = xmpp.ru
  33. beelze IDK what is «local» account though
  34. wurstsalat beelze, it's an account for serverless chatting in LAN
  35. wurstsalat you can deactivate it by using accounts.Local.active = False
  36. beelze wurstsalat, already disabled, so the rest account stuff seems fine?
  37. wurstsalat you could try to disable one of the other accounts to see if the error persists
  38. lovetox look under ~/.config/gajim
  39. lovetox open the file
  40. lovetox search for accounts
  41. lovetox delete the one where it says -1
  42. wurstsalat Nice overview: https://repology.org/project/gajim/versions
  43. wurstsalat thanks Zash ;)
  44. debacle wurstsalat what message carry the colours? red, green, yellow?
  45. wurstsalat debacle: it's explained here https://repology.org/about
  46. debacle thanks! very advanced legend, wow!
  47. debacle lovetox, when I change the line name = get_groupchat_name(con, jid) to name = "dummy" in _add_groupchats(), it gets superfast.
  48. lovetox really .. then its a database problem
  49. lovetox but why in gods name is this slow for you
  50. lovetox and you are sure its not only slow on the first start of the dialog?
  51. lovetox its also slow on the second start
  52. lovetox but yeah i guess this is bad design, we need 200 querys in 100ms
  53. lovetox this is probably a bottle neck
  54. debacle yes, it is slow every time
  55. debacle not only the first time
  56. lovetox can you try and log with gajim.c.logger=DEBUG
  57. lovetox ah no i think i see the problem
  58. lovetox cache does not work correctly
  59. lovetox hm or not
  60. lovetox hm no cache works good
  61. lovetox but only if we have a disco info record
  62. lovetox if there is none, then everytime a db query is made
  63. lovetox hm yeah i will think of something
  64. lovetox ok deleted 1165 spammers from gitlab :D
  65. Eduard I recently deleted about 30k of ghost users in my company's blog.