mrvladus / Errands

Todo application for those who prefer simplicity.
MIT License
304 stars 66 forks source link

Stuck at checking credentials on Librem5 #342

Open jonathanknez opened 1 week ago

jonathanknez commented 1 week ago

I installed Errands from Flathub onto my arm-based Librem5 phone. I got Errands version 46.2.5 dated 2024-10-04. flatpak install flathub io.github.mrvladus.List

I then launched the app, went to preferences, and setup a sync connection to my nextcloud server. If I hit the "Test" button nothing ever happens. Whether I hit test or not, back on the main page the sync never completes. The logs stop at

[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'Nextcloud' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Notifications: Check (periodically repeats)

I then installed the application on my x86 desktop, ran through the same procedure, and was able to get Errands to sync to Nextlcoud quickly and without issue. Thus I believe my settings are all correct.

I notice that on my desktop, ~/.var/app/io.github.mrvladus.List/data/keyrings contains default.keyring. While on my Librem5 phone, this directory is empty. I then copied the keyring file from my desktop to my phone, relaunched Errands on my phone, but there was no change in behavior. It was worth a shot.

I installed seahorse on my Librem5 phone and confirmed the gnome keyring service is running and has other credentials stored. At this point I believe the issue Errands is experiencing is credential related but I am not sure where to go from here.

Any suggestions?

I do believe Errands has worked on the Librem5 before due the submittal of this issue by @sim6. This is my first experience with Errands, on the Librem5 or otherwise. Any tips are appreciated. I am looking forward to using this great app. Thanks.

mrvladus commented 1 week ago

Is libsecret installed?

jonathanknez commented 1 week ago

Thank you for the response. Yes libsecret is installed.

sudo apt search libsecret
Sorting... Done
Full Text Search... Done
gir1.2-secret-1/byzantium,now 0.20.4-2 arm64 [installed,automatic]
  Secret store (GObject-Introspection)

libsecret-1-0/byzantium,now 0.20.4-2 arm64 [installed,automatic]
  Secret store

libsecret-1-dev/byzantium 0.20.4-2 arm64
  Secret store (development files)

libsecret-common/byzantium,now 0.20.4-2 all [installed,automatic]
  Secret store (common files)

libsecret-tools/byzantium 0.20.4-2 arm64
  tool for storing and retrieving GObject passwords