Skip to content

Can not sync because fails to obtain password (I think) #433

@niklaswimmer

Description

@niklaswimmer

When I start errands from my terminal I get the following output:

-------------------------------------------------
Starting Errands 46.2.10 at "2026 18 Februar 19:50:15"
-------------------------------------------------

[DEBUG] Application: Startup
[DEBUG] Data: Initialize
[DEBUG] Data: Read data
[DEBUG] GSettings: Initialize
[DEBUG] Application: Checking autostart
[DEBUG] Main Window: Load
[DEBUG] Today Page: Load
[DEBUG] Today Page: Update UI
[DEBUG] Trash Page: Load
[DEBUG] Sidebar: Load Task Lists
[DEBUG] Application: Activate
[INFO] Sync: Initialize sync provider
[INFO] Sync: Initialize 'CalDAV' sync provider
[DEBUG] Sync: Checking credentials
[DEBUG] Sync: Checking URL
[DEBUG] Sync: URL is set to REDACTED
[DEBUG] Sync: Attempting connection
Exception in thread Thread-1 (sync):
Traceback (most recent call last):
  File "/usr/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
    self._context.run(self.run)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.14/threading.py", line 1024, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/errands/errands/lib/sync/sync.py", line 43, in sync
    self.init()
    ~~~~~~~~~^^
  File "/usr/share/errands/errands/lib/sync/sync.py", line 30, in init
    self.provider = SyncProviderCalDAV(testing=testing)
                    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/share/errands/errands/lib/sync/providers/caldav.py", line 53, in __init__
    self._connect()
    ~~~~~~~~~~~~~^^
  File "/usr/share/errands/errands/lib/sync/providers/caldav.py", line 85, in _connect
    with DAVClient(
         ~~~~~~~~~^
        url=self.url,
        ^^^^^^^^^^^^^
        username=self.username,
        ^^^^^^^^^^^^^^^^^^^^^^^
        password=self.password,
        ^^^^^^^^^^^^^^^^^^^^^^^
    ) as client:
    ^
  File "/usr/lib/python3.14/site-packages/caldav/davclient.py", line 655, in __init__
    password = unquote(self.url.password)
  File "/usr/lib/python3.14/urllib/parse.py", line 728, in unquote
    if '%' not in string:
       ^^^^^^^^^^^^^^^^^

My task list is not synced (does not show up in UI, the spinner spins for ever, or at least for quite some time).

I checked using the passwords application and the correct password is placed in "Errands account credentials for CalDAV" with account being set to "CalDAV" (which I think looks right)?

Not sure when this started happening. I know it worked a few months ago and now it does no longer. I do use gnome-unstable on this device, so I am on glib version 2.87.2 and gtk version 4.21.5 among other things. That may be relevant.

Let me know if you need more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions