-
flexx
Hi guys I have an issue with OMEMO I imported everything from my backup and used this guide https://dev.gajim.org/gajim/gajim/-/wikis/help/Backup now my keys are messed up and I keep seeing "This message was encrypted with OMEMO, but not for your device." and "This message was encrypted with OMEMO and could not be decrypted."
-
flexx
How do I fix this ?
-
Kevino
How do i install latest gajim on fedora ?
-
Kevino
Flatpak shows a version 1.7.4
-
Kevino
Fedora package is 1.7.4 too
-
hannibal
Kevino: switch to/add flathub repo to get latest version
-
lovetox
flexx, seems you installed a old backup
-
lovetox
you need to go to the fingerprint dialog of every contact where you see that issue, and click delete on all fingerprints
-
lovetox
this resets the session with the different devices of your contact
-
crumpet
Hi gajim settings are complaining that I don't have dependecies like gsound and gspell installed even though they are installed. i'm running on an arch system if that helps
-
hannibal
crumpet : Does `pacman -Qi gajim` also show that these dependencies are installed?
-
crumpet
stragely no?
-
crumpet
even though pacman -Q gsound says it's installed
-
crumpet
should I upload the output of pacman -Qi to a paste?
-
intelfx
crumpet, do you have gajim installed as an arch package?
-
crumpet
yes
-
intelfx
hmm, reading the code gspell needs at least one spell checking dictionary available -- do you have those, e. g. aspell-en?
-
crumpet
i did not
-
intelfx
gsound initialization should write something to the log -- for that, try running gajim from a terminal
-
crumpet
nothing about gsound popped up on the terminal when it launched
-
intelfx
but the settings still complain?
-
crumpet
yeah
-
crumpet
https://macaw.me:5443/upload/0fe30aae57b99ddeee16c8ea4ea01fb1172a3fa6/Sye7HRRjO4NbNeuT2CGw9cat12Vewg6gQgSuMe64/16be71c7-6870-43d2-b655-a7bd996be9a5.png
-
intelfx
hmm try starting python in terminal and see if this code works: ``` import gi gi.require_version('GSound', '1.0') from gi.repository import GSound GSound.Context().init() ```✎ -
intelfx
hmm try starting python in terminal and see if this code works: import gi gi.require_version('GSound', '1.0') from gi.repository import GSound GSound.Context().init() ✏
-
intelfx
the last line should return True (i. e. you should see it in REPL after typing that line and pressing Enter)
-
crumpet
the second line returned > ValueError: Namespace GSound not available
-
intelfx
try reinstalling gsound
-
intelfx
other than that, don't know, something must be broken in your installation with regards to gobject-introspection and/or gsound and/or their dependencies
-
flexx
lovetox: Can I decrypt messages that show up encrypted because now everything past 20 days look encrypted
-
intelfx
crumpet: ensure also that you have these packages installed: `gobject-introspection libgirepository`✎ -
intelfx
crumpet: ensure also that you have these packages installed: `gobject-introspection gobject-introspection-runtime libgirepository` ✏
-
intelfx
+ check that this file is present: `/usr/share/gir-1.0/GSound-1.0.gir`
-
lovetox
flexx, so how old was this backup?
-
lovetox
everything between the date of the backup and the moment you used it, is lost
-
flexx
lovetox: like a month?
-
flexx
Damnn
-
flexx
I also dont see the omemo plugin in the pluginlist
-
flexx
Which leads me to think that I dont have the packages installed for it to work
-
flexx
Im on arch linux what packages do I install
-
lovetox
0✎ -
lovetox
https://archlinux.org/packages/extra/any/gajim/ ✏
-
lovetox
with 1.8.x you dont need any plugins
-
Kevino
> Kevino: switch to/add flathub repo to get latest version https://bosh.zp1.net:5281/upload/_3P3_eTHIqbcPuIzAREhTyYw/zb2rhhRsYGnF2XGZptGG2pgVxRuaRaYn768nkAzJAFgyU7kAK.jpg ↺
-
Kevino
Its already enabled
-
Kevino
Oh , i think it shows up the option now in gajim page to change the software repository
-
Kevino
Thanks 👍
-
Kevino
I think i need to remove fedora version first though
-
crumpet
> + check that this file is present: `/usr/share/gir-1.0/GSound-1.0.gir` It seems to not be there how would I replace it?
-
flexx
lovetox: I cleared all devices on the fingerprint lisr
-
flexx
Still not working
-
crumpet
intelfx, after a bit of reinstalling packages it works! thank you for the help!
-
intelfx
np
-
intelfx
what was the issue?
-
lovetox
flexx, what do you mean by not working exactly
-
crumpet
> what was the issue? I needed the hunspell dictionary + gsound was not installed apparently
-
flexx
lovetox: Im still getting that omemo not encrypted message
-
lovetox
as said past message between your backup and now are lost
-
lovetox
or are you talking about new messages?
-
flexx
New messages
-
lovetox
you need to write a message from Gajim
-
flexx
My fingerprint shows as inactive too
-
flexx
To other users
-
flexx
Yes I know i do it from gajim
-
lovetox
and? it arrives and is decryptable on the other device?
-
flexx
Yes
-
lovetox
and what is your other device?
-
flexx
A phone
-
flexx
Android
-
lovetox
maybe restart the application there
-
lovetox
seems like a problem on that device
-
flexx
restarted still not working
-
lovetox
no idea, write a contact of yours
-
lovetox
and test it with them
-
lovetox
could be a problem on your phone
-
lovetox
you can take a look under XML Console -> Log✎ -
lovetox
you can take a look under View -> XML Console -> Log ✏
-
lovetox
if there are any errors printed
-
flexx
I sent you an OMEMO encrypted message but your client doesn’t seem to support that. Find more information on https://conversations.im/omemo
-
flexx
How do I reinstall the omemo plugin?
-
r00tobo
flexx, you can't do that since 1.8.x no plugin for OMEMO it's integrated
-
flexx
Anyway to reset it than?
-
r00tobo
first it's better to check the log in xml console there might be some hints about the issue there, but to answer your question about the reset I think the only way to regenerate a new key in Gajim is by deleting the account there and sign in fresh ? I remember someone talking about this here before
-
r00tobo
not tried not tested by me so do it at your own risk
-
flexx
There isnt like a button where you can regenerate a key??
-
flexx
I relogged in
-
flexx
I think it works because I sent a message from my phone and read it on gajim it wouldn't work but now it does work I have to wait till some people come online and try it out
-
flexx
nevermind
-
flexx
its glitched out again
-
r00tobo
you can check the omemo key fingerprint if its changed then the readding of the account did it
-
Fiona
I'd try resetting the OMEMO session. In the dialog where you verify a contact's keys you can also delete them (save the fingerprints first, so you can easily verify them again after!). You might need to restart Gajim after, sessions getting out of sync hasn't happened to me in a while. But then when you next try to send a message it should fetch the contact's keys again (here you need the saved fingerprints to verify) and set up a fresh OMEMO session.
-
flexx
Im also getting this error ``` Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/gajim/common/dbus/logind.py", line 139, in _on_logind_appeared self._obtain_delay_inhibitor(connection) File "/usr/lib/python3.11/site-packages/gajim/common/dbus/logind.py", line 111, in _obtain_delay_inhibitor self._inhibit_fd = ret_fdlist.get(ret.unpack()[0]) ^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get' ```
-
Kevino
> There isnt like a button where you can regenerate a key?? Delete the keys from omemo folder of gajim , it should create new one theb ↺
-
Kevino
Then*
-
flexx
I removed the omemo keys in the gajim folder for my account and it seems like its working
-
flexx
Thank you guys
-
lovetox
flexx, do you see still that error in the log dialog?
-
lovetox
as in, everytime you start Gajim new
-
fjklp
I'd really like to disambiguate the labels in the group chat details so that they are explicit about configuring the client versus configuring the room
-
fjklp
any ideas?
-
fjklp
I know we don't want to confuse people or overly complicate things but I think it's a bit confusing as it is and I'd like to fix that
-
fjklp
For example, 'Settings' could be 'Client Settings'
-
fjklp
'Configuration' should probably be 'Room Configuration', or whatever canonical term is recommended for room
-
fjklp
The main point here is that I think it should be obvious to the user whether a group of settings pertains to their client or to the server
-
fjklp
Is 'client' too esoteric for an average user? We could make it 'Gajim Settings'.
-
lovetox
i think its enough to prefix it with Room
-
lovetox
this is almost the only place where you can change something that is not local to your client
-
flexx
> flexx, do you see still that error in the log dialog? yes
-
cal0pteryx
We don't have 'room' anywhere though, and I unified all of these different terms once used in Gajim to 'group chat' or 'chat'
-
flexx
> as in, everytime you start Gajim new yes
-
cal0pteryx
And then again, why do we need to differentiate?
-
fjklp
Differentiate what?
-
cal0pteryx
Between server and client settings
-
fjklp
For me at least, I like to have a mental context of knowing what I'm dealing with. I like to be able to look at the labels and know what to expect in that section. It feels bad when you have to click on stuff to find out.
-
fjklp
it feels sloppy
-
fjklp
For illustration, imagine if the labels were simply letters like A, B, C, D. You would have to click on them to know what's there, and I suspect that most people would agree that that is a very bad solution. This is half way to being like that.
-
fjklp
I think the goal of good UI is that a user never have to click and find out, but rather understands what to expect by UI elements.
-
fjklp
Maybe not always achievable, but a good goal.
-
lovetox
i can imagine that there are users at least wondering what the difference is between settings and configuration in the same dialog
-
lovetox
Group Chat Configuration is for my taste to long
-
lovetox
We could try "Admin Settings"
-
lovetox
then it would be clear that it has to do something with the role the user has
-
lovetox
and because of that its unlikely that they think it is something local to their client
-
fjklp
I'm curious why group chat was favored over room. Room is a concept that is both common to almost all humans and has a history established in instant messaging. Seems kind of ideal.
-
fjklp
Maybe group chat seems somehow less ambiguous.✎ -
fjklp
Maybe group chat seems somehow less ambiguous, more direct. ✏
-
fjklp
> i can imagine that there are users at least wondering what the difference is between settings and configuration in the same dialog I do this every time I open the group chat details window, so I imagine it's very common.
-
cal0pteryx
https://docs.modernxmpp.org/terminology/
-
fjklp
understood
-
fjklp
>To reduce user confusion when switching between clients, it is good to use only recommended terms. I strongly agree with this idea
-
fjklp
but I guess I do have mixed feelings sometimes
-
fjklp
like, who gets to decide? and what if we settle on something that's not optimal and want to change it later. It's a bit messy.
-
cal0pteryx
fjklp: there has been plenty of discussion and this was the outcome
-
lovetox
fjklp, Group Chat is in my opinion much clearer then Room
-
fjklp
group chat is less abstract, so I can see that
-
lovetox
though we also have the "Manage" tab
-
lovetox
which also has group chat configuration options
-
lovetox
the idea was to place the most important ones there
-
lovetox
the Configuration Tab is actually for expert users only
-
lovetox
because it displays the raw form the server sends
-
fjklp
Is there no way to set image perviews per each group chat?
-
lovetox
no
-
lovetox
why would you enable this in a public chat?
-
fjklp
some chats will be more likely to have spam. Different chats will have different relevance to me.
-
lovetox
i would find it better if there would be a button to make a preview of a link
-
lovetox
like with GIFs a play button for example
-
fjklp
wait, we do have that and I didn't notice
-
fjklp
the download button
-
fjklp
not for links but for images
-
lovetox
the problem we have here with xmpp is, that on major social networks, previews are serverd by the server, not the actual server where the link or file is
-
fjklp
what is the term for file uploads? do we call it an http upload?
-
lovetox
file sharing?
-
fjklp
it sucks not even being able to talk about something for lack of a common language
-
cal0pteryx
Communication is hard?
-
fjklp
Clear communication is hard, yes.
-
fjklp
I'm not sure if that was a rhetorical question
-
cal0pteryx
It's not always easy to carry the intended meaning through written messages, is what I wanted to say ;)
-
fjklp
true