Gajim - 2018-10-04


  1. bot villeneuve created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9366 >: #9366: < A Programming error has been detected [03.10.2018] >
  2. mrDoctorWho Gajim doesn't seem to join a conference after entering CAPTCHA externally
  3. mrDoctorWho Or maybe it shouldn't, I don't quite remember this part of XMPP
  4. mrDoctorWho False alarm, Conversations took the opportunity to join
  5. megrichards hi there! I've got a question. How does one set Gajim to connect to the Tor Hidden Service?
  6. lovetox megrichards, sorry no idea
  7. lovetox dont even know how hidden services work
  8. mikaela I imagine you start by setting proxy to SOCKS5, 127.0.0.1 9050 (9150 for Tor Browser Bundle) and then add the account normally. I don't have a hidden service XMPP server and I don't want to bother the admin nor I know a MUC to test it with.
  9. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9366 >: #9366: < A Programming error has been detected [03.10.2018] >
  10. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/7847 >: #7847: < Force LTR in discovery window >
  11. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/8952 >: #8952: < Error when starting up with the session (logind_listener) >
  12. fiete Hi, is there a way to set the size of the 'lock'-icon in front of omemo encrypted messages? currently it is bigger than my font so there is huge space between lines in chatwindow
  13. lovetox show me a screenshot
  14. fiete Need to find one without sensitive information. May this be related to me using screen scaling?
  15. fiete since the display got 324 dpi i use a factor of 2
  16. lovetox yes could be
  17. Maranda lovetox when doing non muc 1v1 chat Gajim never queries the catalog from a full jid right?
  18. lovetox bare jid
  19. lovetox full jid? do you want different catalogs per resource?
  20. Maranda Cause in mucs it does full jids which could do.. But otherwise
  21. Maranda No
  22. Maranda I just wanted to know if it repeated that behaviour
  23. lovetox you mean in a muc pm window?
  24. Maranda Yes
  25. lovetox yes it does full jid
  26. lovetox but not intentionally
  27. lovetox i can change that if you want
  28. Maranda Up to you, I had to patch Metronome cause I found muc pms not having labels
  29. lovetox i think bare jid is in this case good
  30. lovetox just always bare jid
  31. Maranda lovetox, I introduced some logic to make affiliation based filtering of messages in MUC using labels which I think being rather useful
  32. Maranda lovetox works nicely with Gajim
  33. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9366 >: #9366: < A Programming error has been detected [03.10.2018] >
  34. fiete lovetox: sorry for the bad quality. Screenshot tool currently not working with sway over here so I took a picture with my mobile phone :-D https://paste.xinu.at/UVvFfzh2/
  35. lovetox we changed the icon a bit and also the position
  36. lovetox would be interested if its better with the current nightly
  37. fiete ok will have a look on how to get it running
  38. fiete lovetox: new icon looks great and also scales as expected. thanks!
  39. fiete One small thing regarding the instructions for running from git on linux at https://gajim.org/downloads.php?lang=en its now launch.py and not launch.sh as stated on the website :-)
  40. Zash ./lau<tab><enter> # yolo
  41. fiete Zash: yeah thats what I did ;-)
  42. fiete lovetox: the space between omemo enxrypted lines and non encrypted lines is still not the same (bigger between omemo ones) but not that huge as before
  43. lovetox yes i know
  44. bot Philipp Hörist modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9367 >: #9367: < Gajim error reported on Ubuntu 18.04 >
  45. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9367 >: #9367: < Gajim error reported on Ubuntu 18.04 >
  46. lovetox have to look how we can format the text better
  47. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *5173ca41* < https://dev.gajim.org/gajim/gajim/commit/5173ca415a6ef8c519ad36213800420c9b4cab89 > Pull correct security catalog for private messages
  48. lovetox ^ Maranda
  49. Maranda 👍
  50. fiete lovetox: thank you very much for your efforts on that
  51. fiete Is it in scope to have the possibility to display the open chat buffers/tabs on the right or left side instead of the top?
  52. lovetox you can do this, look in the advanced config editor for tabs_position
  53. fiete wow thanks
  54. concerto guise
  55. concerto can we haz "file not found" in file selector bug fixed plz
  56. lovetox please create an issue
  57. concerto okay.
  58. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *49deb63e* < https://dev.gajim.org/gajim/python-nbxmpp/commit/49deb63e0288b6759531c2bfad8a1f27ff5c42ae > Add .pylintrc
  59. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/326 >: Add a configurable threshold for MAM in MUC
  60. Daniel lovetox, concerning translation failing on my machine: in i18n.py it fails in line 141 https://dev.gajim.org/gajim/gajim/blob/master/gajim/common/i18n.py#L141 I get OSError Exeption. LANGUAGE gets set to DE, _localedir: gajim.mo, DOMAIN: gajim do you see any values here which should not be there?
  61. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/326 >: Add a configurable threshold for MAM in MUC
  62. lovetox no daniel
  63. lovetox which OS are you trying this again?
  64. Daniel so _ = gettext.translation(DOMAIN, _localedir).gettext is failing
  65. Daniel Manjaro (Arch)
  66. lovetox try opening a python console and try to find it with gettext.find() method
  67. lovetox https://docs.python.org/3.5/library/gettext.html#gettext.find
  68. lovetox pass the domain, loacaledir, and see if this returns the correct mo file
  69. Daniel okay, thanks for the pointer!
  70. lovetox also check these env vars
  71. lovetox LANGUAGE, LC_ALL, LC_MESSAGES, and LANG
  72. lovetox and see what they produce
  73. lovetox is really nothing tranlated?
  74. lovetox what is with the swtich buttons in the accounts window
  75. lovetox do the show OFF or AUS
  76. Daniel nothing, except forms from ejabberd, which are DE
  77. Daniel the switch buttons do not have text on my desktop env
  78. Daniel but I working through the steps you suggested
  79. lovetox open the join groupchat window
  80. lovetox there is a cancel button in the bottom
  81. lovetox is it translated?
  82. Daniel oh, yes it is
  83. lovetox ok so gtk seems to find its translations
  84. lovetox but i thought you told me you tested i18n.py and it worked?
  85. lovetox on its own i mean
  86. Daniel yes I tested i18n.py on its own and translated strings by doing: Q_('translator-credits) and that works
  87. Daniel gettext.find(DOMAIN) gives me gettext.find(DOMAIN) gives me '/usr/share/locale/de/LC_MESSAGES/gajim.mo'
  88. Daniel sorry, ignore the first part
  89. Daniel gettext.find(DOMAIN, _localedir)
  90. Daniel yields nothing
  91. lovetox yeah then this seems to be the problem
  92. Daniel _localedir is 'gajim.mo'
  93. lovetox but it makes not much sense that it works when you run i18n.py on its own
  94. lovetox because gettext.translation() is calling gettext.find()
  95. Daniel Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.7/gettext.py", line 524, in translation 'No translation file found for domain', domain) FileNotFoundError: [Errno 2] No translation file found for domain: 'gajim'
  96. Daniel that is line 141
  97. Daniel regarding env vars: LC_MESSAGES and LC_ALL do not seem to exist, LANG yields de_DE.UTF-8, and LANGUAGE prints a new line (and just that)
  98. lovetox hm
  99. lovetox i think i see the problem, we should not pass the mo file to localedir
  100. lovetox it should be the dir
  101. lovetox it seem on other systems this is more forgiving and on yours it fails
  102. Daniel gettext is on v0.19.8.1-2
  103. lovetox Daniel, wait i fix that
  104. lovetox can you try just delete the localdir param out of the translation() call
  105. Daniel wohoo! lovetox all time hero
  106. Daniel _ = gettext.translation(DOMAIN).gettext doesn't trigger the OSException, but translations are not working
  107. lovetox delete the localedir also out of the bindtextdomain call
  108. Daniel that does not work (2 arguments needed) but gettext.install(DOMAIN) works at least partly
  109. lovetox yeah pass None as second
  110. Daniel yes, it works!
  111. Daniel works only if _localedir is deleted from both locale.bindtextdomain() and gettext.install()
  112. lovetox Daniel does it also work if you delete the whole bindtextdomain call
  113. asterix remember to test under win ... I had to do a lot of things to make it work under win ...
  114. lovetox yes :)
  115. Daniel I'll test, mom
  116. Daniel you mean locale.bindtextdomain(DOMAIN, None), yes?
  117. lovetox yes delete it
  118. Daniel still works
  119. lovetox yeah i thought so
  120. Daniel I going to sleep, if there's any more info you need: I'm happy to test! thanks for your help
  121. lovetox i tell you if i have a fix
  122. Daniel ok!
  123. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *34553b6c* < https://dev.gajim.org/gajim/gajim/commit/34553b6ca70eba795ef70f148a2a4a9b8bac5b97 > Add a configurable threshold for MAM in MUC
  124. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/326 >: Add a configurable threshold for MAM in MUC
  125. Daniel https://dev.gajim.org/gajim/gajim/issues/9122 can be closed now, right?