Gajim - 2019-04-05


  1. marmistrz Gajim currently fails to retrieve MAM messages from yesterday evening for a 1-1 chat
  2. marmistrz https://conference.gajim.org:5281/pastebin/2bdeb9f6-82de-4695-b6b2-1718b2efabfd
  3. marmistrz Wrong paste, use this one:
  4. marmistrz https://conference.gajim.org:5281/pastebin/33767d74-0ab8-4c9f-a8c6-503c43e9e2ef
  5. lovetox marmistrz dont see a obvious problem
  6. lovetox are you sure its not encryption related
  7. marmistrz lovetox: it usually works correctly. If both devices are online, then both of them receive the messages. MAM usually works too.
  8. marmistrz The messages were received when the only active client was Conversations
  9. marmistrz Can I manually trigger MAM fetch for a selected contact?
  10. lovetox ah check advanced menu mam preferences
  11. lovetox if its actually enabled
  12. marmistrz lovetox: set to always
  13. lovetox it looks like it works to me, requests a stanza-id and there are no results
  14. lovetox i guess you recorded this after it didnt work, so obviously if you restart after a mam fetch there will be no new messages
  15. lovetox maybe you can check if its only one particular contact you miss
  16. lovetox or all conversations from yesterday
  17. lovetox if i have to take a guess i say its encryption related problem
  18. marmistrz There's another contact whose message are missing
  19. marmistrz lovetox, can I manually trigger a MAM fetch and see what the function returns?
  20. marmistrz Message from 21:00 were fetched fine (one contact), messages from 22:40 and later are not fetched by gajim. (two contacts)
  21. lovetox yes you can craft a xml query to mam yourself
  22. lovetox just start gajim copy the mam query and replace the stanza id with the one from the last message
  23. lovetox these messages will not end up in gajims database if the server sends some but at least you could look if the messages are on the server or not
  24. lovetox i mean in the xml console you can do all that
  25. bot Андрей Коротаев created an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9654 >: #9654: < Room join error >
  26. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9654 >: #9654: < Room join error >
  27. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9653 >: #9653: < error >
  28. bot Daniel Brötzmann closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9653 >: #9653: < error >
  29. wurstsalat `/duplicate`, `/duplicate`, `/duplicate` ..
  30. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *a4861063* < https://dev.gajim.org/gajim/gajim/commit/a48610632e9630c4c26fb551ae60f1c35139061d > Only show avatar Save As menu if sha not None
  31. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9649 >: #9649: < Trying to save nonexistent avatar results in error >
  32. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/399 >: Only show avatar Save As menu if sha not None
  33. lovetox wurstsalat, do you know the invite contact menu option in a single chat?
  34. lovetox that sends out a "continued" discussion invitation
  35. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/398 >: Rework Certificate dialog
  36. wurstsalat I see! why is it grayed out though?
  37. lovetox contact offline?
  38. lovetox but yeah this should also work with an offline contact
  39. Norst >lovetox: print_status_in_chats this is exactly what am looking for, except for one thing. If contact's status is changed while chat window is not opened, it will not be printed.
  40. lovetox you have to activate in preferece -> advanced log contact changes
  41. lovetox but this will let your database grow very fast very big
  42. lovetox as there are a lot of state changes..
  43. lovetox especially in mucs
  44. Norst I have tried to play with that option. And found no way to turn it off for muc
  45. lovetox there is none
  46. lovetox although it would good to split that
  47. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/398 >: Rework Certificate dialog
  48. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *4d43eacf* < https://dev.gajim.org/gajim/gajim/commit/4d43eacfd07b7a4d75cdffbba3448e49244ba6a4 > Rework Certificate dialog
  49. wurstsalat lovetox, found it! never used that dialog
  50. lovetox it converts a 1:1 chat into muc
  51. lovetox you knwo what whatsapp and facebook does if you invite someone into a conversation
  52. lovetox but obviously we have to make the UI of the dialog better
  53. wurstsalat yes, that dialog is a bit ugly :) yes I see the use case!
  54. lovetox to make this really nice we have to change a few things also with MUCs
  55. lovetox for example to show offline users in a muc that are part of the member list
  56. lovetox its akward if you convert a 1:1 chat into a muc, but the contact is not online so you are alone in the MUC
  57. lovetox i also want to add a default muc config, instead of showing the config dialog on muc join
  58. wurstsalat good changes in the cue!
  59. lovetox its just in my mind, nothing in the cue yet :D
  60. wurstsalat that ContactInfo dialog is a bit of work :) the subscription part is ugly
  61. wurstsalat I'll push a WIP MR so others can test as well..
  62. lovetox if you base it on sophies maybe you can merge all her commits into one
  63. lovetox then add yours
  64. Norst Split "log status changes" sounds reasonable. In any case, "log status changes" doesn't work in conjunction with print_status_in_chats. I mean no way to see status changes in chat window (after reopen), only in history.
  65. wurstsalat lovetox, did that already :)
  66. lovetox yeah Norst, i think we have to add this to the things we do once we rework the whole chatview
  67. Norst lovetox‎, I wish you success with this. One more thing :) Last month we talked about rare locale (12/24 clock) issue on Windows
  68. Norst seems like i have suddenly found right fix: https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html#The-LANGUAGE-variable
  69. Norst "GNU gettext gives preference to LANGUAGE over LC_ALL and LANG for the purpose of message handling"
  70. lovetox hm how does that help?
  71. Norst https://dev.gajim.org/gajim/gajim/blob/master/gajim/common/i18n.py#L173
  72. lovetox Was it not that we correctly detected your userinterface language
  73. lovetox but you just dont want the time format of that language
  74. Norst unfortunately, not only time. Also week format and some other locale-related things
  75. lovetox ok i think i get it, so language is only used for messages
  76. lovetox means it leaves timezones alone
  77. lovetox or rather timeformats
  78. Norst yeah, if we set LANG, the entire locale is overriden
  79. lovetox but the docs say, that LANG has to be set to use LANGUAGE in the last paragraph
  80. Norst i guess it is set implicitly by python/gtk, because from my tests all works as expected after LANG->LANGUAGE substituting
  81. bot Daniel Brötzmann updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/401 >: Rework InvitationReceivedDialog
  82. Norst so we get locale corresponding to Windows "regional settings". Except for translation, it conforms to Windows UI lang.
  83. Norst and this is desired behavior, AFAIK
  84. lovetox thanks Norst this seems to work
  85. lovetox hm no actually it dont
  86. lovetox if i save it to LANG
  87. lovetox windows still respects my region setting
  88. lovetox i can just change in the region dialog my timestamp
  89. lovetox and its displayed that way in Gajim
  90. lovetox ah i get it you change the language region
  91. lovetox ah yeah that seems to work now
  92. Norst nice :) btw, please tune up external github account (norstbox) for "forking rights"
  93. lovetox done, but i fix the language thing myself
  94. bot Philipp Hörist pushed 3 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/559030e2-8716-4776-9744-4264f13c2299
  95. lovetox wurstsalat, sorry i had to change stuff in vcard window
  96. lovetox with this commit
  97. lovetox you probably will have rebase errors
  98. wurstsalat haha :D I'm completely okay with that
  99. wurstsalat good thing gitlab has a nice diff viewer :)
  100. bot Philipp Hörist updated a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/401 >: Rework InvitationReceivedDialog
  101. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *318ae4e9* < https://dev.gajim.org/gajim/gajim/commit/318ae4e9d41a0dc0af65e1cbc202e93a8e9447db > Rework InvitationReceivedDialog
  102. bot Philipp Hörist merged a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/401 >: Rework InvitationReceivedDialog
  103. bot Philipp Hörist closed a merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/298 >: WIP: Rework InvitationReceivedDialog
  104. bot Philipp Hörist pushed 3 commits to branch _refs/heads/gajim_1.1_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/7b1aab44-a7bf-48dd-8cf0-cd4eac569ee7
  105. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *03cc3379* < https://dev.gajim.org/gajim/gajim/commit/03cc3379d5e70a8aa4ea9a7bc04f5c53480d84a5 > CertificateDialog: Dont fail on None values Some attributes of the certificate can yield None
  106. bot Philipp Hörist modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9633 >: #9633: < Jingle File Transfer generates a runtime error popup (dictionary changed size during iteration) >
  107. lovetox Norst, what does sys.getwindowsversion().major
  108. lovetox yield on your windows8 machine
  109. bot Daniel Brötzmann modified an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9620 >: #9620: < Error during account creation breaks display of all other accounts on that server configured in client >
  110. bot Seve Ferrer proposed a new merge request for _gajim-plugins/master_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/125 >: Spoilers plugin
  111. bot Philipp Hörist updated a merge request for _gajim-plugins/gajim_1.1_ < https://dev.gajim.org/gajim/gajim-plugins/merge_requests/125 >: Spoilers plugin
  112. Norst sys.getwindowsversion().major returns 6. IMHO better way than float(platform.win32_ver()[0]) and version.parse
  113. lovetox k thanks
  114. lovetox weird though it returns also 6 for windows 7
  115. lovetox wonder when this major version ever changes
  116. lovetox oh i see Vista -> 8.1 are all 6
  117. Norst https://docs.microsoft.com/ru-ru/windows/desktop/api/winnt/ns-winnt-_osversioninfoexa#remarks
  118. Norst see dwMajorVersion column in the table
  119. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9633 >: #9633: < Jingle File Transfer generates a runtime error popup (dictionary changed size during iteration) >
  120. bot Philipp Hörist closed an issue in _gajim_ < https://dev.gajim.org/gajim/gajim/issues/9643 >: #9643: < Error when receiving and transmitting a file, invalid literal for int() with base 10: '8.1' >
  121. bot Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/9f9d4425-cf74-4b74-83e5-cc2706a4c8a7
  122. wurstsalat last time that number was published in ads was for Win NT 4.0 :)
  123. bot Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *ac6eae89* < https://dev.gajim.org/gajim/gajim/commit/ac6eae8965b8829a08de7c9084f1265fea186dfa > Fix import
  124. bot Daniel Brötzmann proposed a new merge request for _gajim/master_ < https://dev.gajim.org/gajim/gajim/merge_requests/402 >: WIP: Rework contact info
  125. wurstsalat lovetox, I would need some help with these pylint errors in !402, when there's time ;)
  126. hannibal wurstsalat, about !402, IMO the save button should be on the right side of the window and "on server" could be appended to the tooltip text of this button
  127. wurstsalat hannibal, you mean in the Personal Notes stack?
  128. hannibal yes
  129. wurstsalat I'll add that next time I touch that MR!
  130. hannibal about the pylint errors: * 'ContactInfo' is undefined because it's not imported * the EntityTime line is missing some parentheses and maybe GLib.idle_add() `GLib.idle_add(con.get_module('EntityTime').request_entity_time, c.jid, c.resource)`
  131. wurstsalat thanks for having a look! that GLib.idle_add() was discussed earlier in !313 (so I removed it)
  132. wurstsalat will have a look tomorrow! thanks again :)
  133. lovetox there is no need to use idle_add here
  134. lovetox i dont see any benefit here