-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Only three accounts supported #1187
Comments
Thanks for the report! Tuba securely saves and reads accounts from the secret-service. Sometimes distros and setups have configured it wrong. You can try and see if they are saved correctly using Passwords & Keys (seahorse) and check if there's any errors when running tuba with I'll try VanillaOS in a vm and attempt to re-produce it but from Tuba's side there's no hard-limits and will add as many accounts as the secret-service returns. |
Hi @GeopJr, I just found one entry for Tuba in the secret store: secret-tool search --all --unlock app_id dev.geopjr.Tuba
[/15]
label =
5�****more binary stuff***
created = 2024-10-30 06:27:53
modified = 2024-10-30 06:27:53
schema = org.freedesktop.Secret.Generic
attribute.app_id = dev.geopjr.Tuba and no account information at all. The console log showed some warnings: tom@Vanilla ~ $ flatpak run dev.geopjr.Tuba
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `GeeMap'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `GType'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `gpointer'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `gpointer'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `GType'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `gpointer'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `gpointer'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `GeeSet'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `GeeCollection'
(dev.geopjr.Tuba:2): Json-WARNING **: 09:48:00.748: Unsupported type `GeeSet' |
I'm having the same issue, but I'm actually limited to only one account. :( |
Someone on Mastodon helped me debug this further, I just haven't gotten back into FOSS from the holidays :P If the accounts have the same name, try changing the display name of one you are adding temporarily until you add it and then change it back |
No rush at all. Feel free to answer whenever you can. |
It was mostly a one off message so nothing to really check out. Uhmm, I don't know.
Other than that, I'm out of ideas. We do have some hacks around some issues with some setups (we unlock the whole keyring when we shouldn't have to and we don't on GNOME and KDE at least), but I don't think that has anything to do with it since at least one was saved. From Tuba's side, all it does is ask libsecret to save the account to the keyring, but if that failed there would be at least 2-3 warnings shown ://// I wish I could reproduce it |
Just encountered what seems to be the same issue: When I tried adding the new account (as the third account) to Tuba it wouldn't persist across app restarts. So, apparently, nothing's wrong with my keyring and it seems likely that the duplicate account and/or display name was the issue. [edit] forgot to add app info: |
Still can't reproduce it on my end with duplicate account names etc. FWIW, I'll list all I have on it in case anyone passing by can help target it down. Credentials are saved in the host's keyring. These keyrings have their own unique issues and sometimes need workarounds (e.g. the version of Tuba and other gnome apps use Tuba's secret entries have two attributes, When adding an account, Tuba generates the secret body, which is a json string that includes some account secrets and info, fills in the attributes and asks libsecret to save it. https://github.com/GeopJr/Tuba/blob/main/src/Services/Accounts/SecretAccountStore.vala#L217-L235 So far nobody that has experienced this issue has reported any logged errors. If it doesn't succeed it both logs an error in terminal but also displays a dialog with it. If it succeeds, and Tuba is running with That only leads me to believe that from Tuba's side everything is done correctly and the problem is on the keyrings. However if the |
Thanks for the debugging directions. |
Can you try this build? https://github.com/GeopJr/Tuba/actions/runs/12963051619/artifacts/2484703740 - it includes some more logs (unzip it and install it with Run it with |
I tried but it cannot be launched. Error is:
|
Stupid not to consider this: the test flatpak you're providing is for x86_64, of course, but I've used Tuba exclusively on mobile (aarch64 via postmarketos) so far. Got so used to the fact that this is the mobile client for mastodon that I completely forgot that that's not the only platform to run it on, sorry 🤦 Anyway, I know installed your flatpak on desktop (fedora 42) and it runs just fine. Problem now is that this is a different system than before and I'm not sure whether I'm observing exactly the same issue as before. To recap: Now on the desktop I just freshly added a2 (the unrelated account) as the first account, then wanted to add a1, and already that didn't work! The output from that failed attempt looks completely harmless though:
The error at the end happens when closing the Tuba window, and seems unrelated here. I then deleted a1 again and added a2 as the first account, then added a1 again, and then tried a3 - and that just worked. Is that standard output what you're looking for @GeopJr or do you need the complete debug logs? |
Sorry to disappoint, but mobile is an afterthought from my side as I don't have access to a linux mobile device and qemu is painful to use. It goes without saying that I'll fix and prioritize mobile linux issues (like the PureOS one), but unless users raise them I won't be aware they exist at all. However, the CI builds for aarch64 too, but I only linked the x86_64, my bad! (Though at the time it was failing due to an issue with gcc that has been fixed now on main) Thanks for the logs! It seems really helpful. I added some more logs, could you try this again with this build (when it finishes building) https://github.com/GeopJr/Tuba/actions/runs/13207402665 - make sure you are running this one after you install it and not the previous one or the release one. I'd like logs when adding the accounts and logs after you run tuba again and see that the last account is missing. I had started re-writing the account management system in hopes of fixing it there but your logs above show me that none of my speculations are true... The accounts were saved to the keyring as well according to libsecret :/ If that doesn't match the actual state of the keyring, and the logs from the linked build don't show anything out of the ordinary then all I can guess is that it's not something from my side but somewhere else in the platform. It'll be difficult to target it down if I can't reproduce it myself however (and believe me, I tried, I have ~10 accounts added). |
Describe the bug
I'm using Tuba 0.8.4 from Flathub on VanillaOS 2.
I think I spotted a bug:
I can add more then three accounts, but after every restart only the first three accounts are available.
Steps To Reproduce
Only the first three accounts are available.
Logs and/or Screenshots
No response
Instance Backend
Mastodon
Operating System
VanillaOS 2
Package
Flatpak
Troubleshooting information
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: