GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
574 stars 61 forks source link

[Bug]: Only three accounts supported #1187

Open tomirgang opened 3 weeks ago

tomirgang commented 3 weeks ago

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

  1. Install Tuba 0.8.4 form Flathub
  2. Add more then three Mastodon accounts
  3. Close the app and reopen it. 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

GeopJr commented 3 weeks ago

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 flatpak run dev.geopjr.Tuba but other than that there's not much I can do.

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.

tomirgang commented 3 weeks ago

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'