etesync-dav icon indicating copy to clipboard operation
etesync-dav copied to clipboard

Failed to add calender entry (got an unexpected keyword argument 'path')

Open omgold opened this issue 9 months ago • 2 comments

When I try to add calendar entries from Thunderbird, I get the following message (and the entry will not become visible on other devices)

Mai 16 09:41:11 radicale[380420]: [380420/Thread-1440 (process_request_thread)] [INFO] Successful login: '<REDACTED>' (htpasswd)
Mai 16 09:41:11 radicale[380420]: [380420/Thread-1440 (process_request_thread)] [INFO] PUT request for '/<REDACTED>/Z3bps4UpfB8nCtcnvUgKNt1-9g0L2R4s/5482d0ed-464d-4d01-aadc-390558b171d7.ics' received from 127.0.0.1 using 'Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Thunderbird/138.0'
Mai 16 09:41:11 uwsm_sway.desktop[3737079]: console.warn: Calendar: "[calCachedCalendar] Unable to perform playback action add to the server, will try again next time (f4383b58-2b7f-4c4b-af70-edc8c3278ad4,Server Replied with 500)"
Mai 16 09:41:11 uwsm_sway.desktop[3737079]: console.error: Calendar: "[calCachedCalendar] Could not perform playback operation add for item <REDACTED>: Server Replied with 500"
Mai 16 09:41:11 radicale[380420]: [380420/Thread-1439 (process_request_thread)] [ERROR] An exception occurred during PUT request on '/<REDACTED>/Z3bps4UpfB8nCtcnvUgKNt1-9g0L2R4s/f4383b58-2b7f-4c4b-af70-edc8c3278ad4.ics': Storage.acquire_lock() got an unexpected keyword argument 'path'

omgold avatar May 16 '25 07:05 omgold

Looks like a newer feature of radicale to me.

Might be okay to just accept the argument and ignore it:

+++ storage.py	2025-05-16 11:00:53.270375069 +0200
@@ -605,7 +605,7 @@
         raise NotImplementedError
 
     @contextmanager
-    def acquire_lock(self, mode, user=None):
+    def acquire_lock(self, mode, user=None, path=None):
         """Set a context manager to lock the whole storage.
 
         ``mode`` must either be "r" for shared access or "w" for exclusive

omgold avatar May 16 '25 09:05 omgold

I'm having the same issue. This seems to be the fateful commit: https://github.com/Kozea/Radicale/commit/fb986ea02e27a9b142b5c45674396731592e6e5a

Downgrading Radicale to 3.5.0 fixes the issue for me.

suurt8ll avatar Sep 01 '25 06:09 suurt8ll