Gajim - 2024-04-21


  1. paculino

    Hello, I'm having a little trouble removing an account. I tried adding it, but for some reason it never loads (other clients only sometimes can connect, so it is the host. How might I remove it manually in files after I make backups of everything?

  2. paculino

    Hello, I'm having a little trouble removing an account. I tried adding it, but for some reason it never loads (other clients only sometimes can connect, so it is the host). How might I remove it manually in files after I make backups of everything?

  3. SavagePeanut

    https://share.chat.lazytapir.com/upload/EPZpg4dHucpcDTSTU5emRCD4/beac91ff-1067-46e5-a3cf-06544952fb5b.png

  4. SavagePeanut

    Is it possible to bypass this warning with http upload? I am trynig to test locally and it'd be mildly inconvienent to get a cert and setup /etc/hosts

  5. SavagePeanut

    I guess I could add my own CA

  6. paculino

    That's odd; I was just having that issue too

  7. lovetox

    paculino, what version of Gajim are you using

  8. lovetox

    And why do you need backups, if the account never worked?

  9. lovetox

    backup of what exactly?

  10. paculino

    1.7.3 on devuan-stable. It is unchanged from debian. I have a working account added on a friend's server, which was originally on gajim. That server is being shut down, so I tried to add my very old account, but it is forever pending on gajim and only sometimes loads on other clients. I want to manually remove it in the files, but, out of fear of accidentally messing something else up, intend to backup all files involved first.

  11. lovetox

    there is only 2 relevant databases

  12. lovetox

    ~/.local/share/gajim/omemo_*.db

  13. lovetox

    the wildcard is the jid of your old account

  14. paculino

    sqlite3 databases?

  15. lovetox

    you can simply remove that database, no need for backup if the account is really shutdown

  16. lovetox

    and then ~/.local/share/gajim/logs.db

  17. paculino

    Do I delete the entirething? I thought it would be references elsewhere

  18. lovetox

    logs.db is a bit trickier and you probably can use a GUI like SQLitebrowser

  19. lovetox

    then you would need to find the jid in your "jids" table, and see the where that primary key is linked in the "logs" table in the field "account_id"

  20. lovetox

    then you could issue a DELETE statement where everything is deleted from that account_id

  21. lovetox

    the omemo db you can delete simply

  22. lovetox

    its bound to your account

  23. lovetox

    or you wait until Gajim 1.9 then we delete all related stuff in the database if you remove the account

  24. lovetox

    but yeah we currently have no way to add a account where the server is not reachable ..

  25. paculino

    So if I wait until 1.9, deleting the omemo file removes the useless account on the side, but if I do it now, it doesn't?

  26. lovetox

    the omemo db are encryption keys, if you never will use the account anymore they are useless

  27. lovetox

    not sure what you mean by "on the side"

  28. paculino

    The left side of the window has three accounts I can select. Two have been used, and one has not been used and cannot be used on gajim

  29. tomchaplin

    Hello, my Gajin app on Windows is not getting connected to internet. I restarted the app and system, but no change. I want to reinstall the software, however I don't remember the password of my xmpp account. And I don't have the option to use forget password at movim.eu. So, is it possible to retrieve password from Gajim app on Windows?

  30. tomchaplin

    Hello, my Gajim app on Windows is not getting connected to internet. I restarted the app and system, but no change. I want to reinstall the software, however I don't remember the password of my xmpp account. And I don't have the option to use forget password at movim.eu. So, is it possible to retrieve password from Gajim app on Windows?

  31. lovetox

    tomchaplin, from inside Gajim, no, but Gajim stores the password in the "Windows Vault"

  32. lovetox

    and there might be software that can read the whats in the "Windows Vault"

  33. lovetox

    paculino, so i understand you right, if you look under Accounts -> Modify Accounts, you see the not working account there?

  34. tomchaplin

    Yes. I see connecting.

  35. paculino

    Right lovetox, it is stuck as "Connecting.... desynced" and I can hit remove in that menu and wait hours and nothing happens

  36. lovetox

    in the account remove screen

  37. lovetox

    there is a checkbox "unregister from service"

  38. lovetox

    i guess its not checked?

  39. paculino

    It has said "Trying to remove account..." for some hours in the popup. I cannot check it

  40. lovetox

    yeah ok this seems like a older bug, account removal should not have anything to do with if the server is reachable

  41. lovetox

    im pretty sure we fixed that

  42. lovetox

    so either upgrade to 1.8.4 in debian backports

  43. lovetox

    or simply wait until you upgrade your debian

  44. lovetox

    it should work with again with a newer version

  45. paculino

    Does the backport need any libraries from backports too?

  46. lovetox

    yes, but i guess debian package manager handles that for you

  47. lovetox

    i guess you are on bookworm?

  48. cal0pteryx

    > im pretty sure we fixed that Not sure, I think I experienced that on the latest version as well

  49. paculino

    I am on Devuan, a fork of debian. Gajim is an unchanged package between the two, so my gajim is equivalent to bookworm

  50. lovetox

    ah .. ok then i have no idea if you can upgrade

  51. lovetox

    paculino, the account in the Accounts Dialog is "Disabled" ?

  52. paculino

    But the database thing should work, right?

  53. lovetox

    with the little swtich

  54. paculino

    It is now

  55. paculino

    I will try again

  56. cal0pteryx

    https://dev.gajim.org/gajim/gajim/-/issues/11704

  57. lovetox

    yeah but that is workedaround with simply disabling the account before trying

  58. lovetox

    but yeah we need to fix that too :)

  59. paculino

    How long should it take typically? As long as signing in?

  60. fjklp

    > yeah ok this seems like a older bug, account removal should not have anything to do with if the server is reachable https://dev.gajim.org/gajim/gajim/-/issues/11704 still open :)

  61. fjklp

    oh, he beat me to it

  62. lovetox

    paculino, a second

  63. lovetox

    go to accounts, disable the account, does this work?

  64. bot

    wurstsalat pushed 1 commits to branch gajim/master fix: ServiceDiscoveryWindow: Catch RuntimeError when starting without connection - https://dev.gajim.org/gajim/gajim/-/commit/a71a18749da81952eedb37d9c2325a70b445a670

  65. bot

    lovetox pushed 1 commits to branch gajim/master feat: Display emoji-only messages with a larger font - https://dev.gajim.org/gajim/gajim/-/commit/f241154928036079d25456329e87b34ccf45eda5

  66. Anon Ymous

    On the latest nightly on Windows (after a database migration), opening any chat results in ``` Traceback (most recent call last): File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/chat_page.py", line 163, in _on_chat_selected File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/chat_stack.py", line 197, in show_chat File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/control.py", line 222, in switch_contact File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/conversation/view.py", line 212, in switch_contact File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/conversation/rows/read_marker.py", line 20, in __init__ File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/conversation/rows/base.py", line 23, in __init__ OSError: [Errno 22] Invalid argument ```

  67. zahid

    Christoph:

  68. me3

    When writing spellchecking seems to work always in English. Neither does Gajim seem to use MUC's language information for selecting the correct dictionary. Nor have I found a config option for setting language for personal contacts. Can Gajim do spellchecking based on language information?

  69. Anon Ymous

    me3 If you right-click the input field, you can select the dictionary language

  70. Anon Ymous

    It's saved for that chat

  71. Anon Ymous

    I've added my language `.aff` and `.dic` to `Gajim\share\hunspell`

  72. Рад сообщить

    > On the latest nightly on Windows (after a database migration), opening any chat results in > ``` > Traceback (most recent call last): > File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/chat_page.py", line 163, in _on_chat_selected > File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/chat_stack.py", line 197, in show_chat > File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/control.py", line 222, in switch_contact > File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/conversation/view.py", line 212, in switch_contact > File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/conversation/rows/read_marker.py", line 20, in __init__ > File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.11/site-packages/gajim/gtk/conversation/rows/base.py", line 23, in __init__ > OSError: [Errno 22] Invalid argument > ``` I have the same situation

  73. me3

    Anon Ymous, right-click works. TNX > I've added my language `.aff` and `.dic` to `Gajim\share\hunspell` I don't have a dir 'Gajim/share'. Where is it?

  74. zahid

    Hi

  75. Anon Ymous

    > Anon Ymous, right-click works. TNX > > I've added my language `.aff` and `.dic` to `Gajim\share\hunspell` > I don't have a dir 'Gajim/share'. Where is it? You're on Linux? I guess the `share` folder could be specific to Windows and the hunspell dictionaries are those on your system.

  76. Anon Ymous

    > Anon Ymous, right-click works. TNX > > I've added my language `.aff` and `.dic` to `Gajim\share\hunspell` > I don't have a dir 'Gajim/share'. Where is it? You're on Linux? I guess the `share` folder could be specific to Windows and the hunspell dictionaries used by Gajim are those already on your system.

  77. lovetox

    Anon Ymous, can you please share the timezone which is set on your computer?

  78. lovetox

    or at least is it a behind UTC or in front?

  79. lovetox

    Рад сообщить, you could also give us this information

  80. Рад сообщить

    > Рад сообщить, you could also give us this information UTC +03:00

  81. lovetox

    Thanks

  82. lovetox

    i try to fix this today, so tomorrows nightly works as expected

  83. Рад сообщить

    > i try to fix this today, so tomorrows nightly works as expected Thanks

  84. lovetox

    on what Windows version are you?

  85. lovetox

    Windows 10, or 11?

  86. Рад сообщить

    > Windows 10, or 11? 11

  87. Anon Ymous

    > or at least is it a behind UTC or in front? In front

  88. Anon Ymous

    Win10

  89. Anon Ymous

    Thx in advance!

  90. bot

    lovetox pushed 1 commits to branch gajim/master cfix: Don’t get first timestamp from datetime.fromtimestamp() - https://dev.gajim.org/gajim/gajim/-/commit/8361009d769f7101aad6683045895338bd414bdd

  91. bot

    wurstsalat pushed 1 commits to branch gajim/master fix: Keyring: Catch more exceptions for delete_password - https://dev.gajim.org/gajim/gajim/-/commit/0a1c20d97b85bf91f424afd7f7f18c698f739777

  92. ThatOneMike

    Hi! I'm using Gajim on Arch Linux. When I try to call phones (via the Cheogram gateway), I get call failures with an error from gstreamer that says `gst-library-error-quark: Could not initialize SRTP encoder (3)`, followed by `gst-stream-error-quark: Internal data stream error. (1)`. I've tried Googling these errors, as well as related keywords, but I haven't had any luck. If anyone has experienced and fixed this before, I'd love to know how. Alternatively, I'd appreciate troubleshooting tips.

  93. cal0pteryx

    ThatOneMike, calls are not maintained at the moment. they do not work

  94. ThatOneMike

    Ah. Thank you. :)

  95. bot

    wurstsalat pushed 1 commits to branch gajim/master imprv: ChatCommands: Handle /me command - https://dev.gajim.org/gajim/gajim/-/commit/fb8e2ecaa5f391a0d66c61bb42dda5e94d277300

  96. paculino

    > go to accounts, disable the account, does this work? No, it did not.

  97. lovetox

    you should see an avatar in the left bottom for every account

  98. lovetox

    set the status for the one that is not connecting to offline

  99. lovetox

    or go to the account options and disable the "connect on startup" option

  100. paculino

    Thank you, that made it crash and be removed

  101. lovetox

    then try to disable the account

  102. paculino

    ``` ## Versions: https://conference.gajim.org:5281/pastebin/b69cdc1e-3a49-4ae9-8b17-e0eba6bf2ece

  103. lovetox

    👍️

  104. noizette

    Hey, is there no ability for Gajim to connect without any SSL/TLS? Like for over an .onion server?

  105. lovetox

    you can try Accounts -> Connection

  106. lovetox

    you have a option there to connect unencrypted

  107. noizette

    Oh I see, but the problem is, using the "Add account" utility, it has to first connect before adding the account to the list and being able to modify it furtherless :/

  108. lovetox

    that is indeed true, so yeah no possibility at the moment

  109. noizette

    Ok, I'll try messing up with the database from an existing account and I'll see, thanks for the answer :)

  110. noizette

    ...except i don't get where it's stored

  111. lovetox

    ~/.config/gajim

  112. noizette

    It's installed via flatpak, so I've looked into .var/apps/org.gajim.Gajim/, but the only db I see are omemo.db and logs.db :/

  113. noizette

    ah!

  114. noizette

    I was searching in data/gajim/ and went too quickly over config/ :)

  115. cal0pteryx

    https://dev.gajim.org/gajim/gajim/-/wikis/help/Backup#flatpak

  116. bot

    wurstsalat pushed 1 commits to branch gajim/master fix: MessageRow: Check for message direction when trying to merge rows - https://dev.gajim.org/gajim/gajim/-/commit/a7f130df9ea571ed35c007adba45101fbbfb84c8

  117. pedro.ataide

    Hi. I can't change Gajim's avatar. Is this a bug or what?

  118. fjklp

    pedro.ataide: That's nor normal. What happens when you try?

  119. pedro.ataide

    fjklp: Nothing happens.

  120. fjklp

    so you select a new avatar but it doesn't update the display of it anywhere?

  121. pedro.ataide

    fjklp: When I select an avatar, Gajim just sits there doing nothing, with the window open, as if it were trying to upload the avatar.