-
-
Notifications
You must be signed in to change notification settings - Fork 52
[BUG] caldav radicale compatibility / caldav priority issues #142
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
Comments
I use radicale to sync my Kontact/Korganizer tasks across devices. My main goal was just to import into tw and I was able to achieve that, so thanks! I was planning on managing future tasks across both tw and the apps, but that doesn't look possible ATM. I will double down on learning tw for the foreseeable future and here is some additional datapoints in case it helps future troubleshooting:
sysinfo: PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Linux optiplex 6.12.10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.10-1 (2025-01-18) x86_64 GNU/Linux |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Setting up the tool with a radicale server results in errors about inserting items.
To Reproduce
Jan 16 16:12:27 1337F00D uvx[2765511]: 16:12:27.35 | ERROR | [caldav Insert an item using the given side helper] Operation failed.
Expected Behavior
Tasks are successfully added to radicale
📸 Screenshots
Versions
OS Version (
cat /etc/*-release; uname -a
)Python version (
python --version; python3 --version
)3.13.1
--version
of your executabletw_caldav_sync, version 1.8.8
Additional context
Edit
Just cloned the project and ran it with python 3.8.20 - same error.
Edit2
Looks like it has something to do with priority of an item being emtpy, not sure.
Edit3
Yes, def. something with priority, if I set it to 5 in the
add_item
function it works. I have not used priority, maybe thats the problem.Edit4
Hm, now sync has stopped working, not with an error, just no output at all.
Edit5
Ok, yeah, once I add a priority to all my tasks sync works. The script makes the assumption that every user has priorities set up and that those priorities are not empty.
Edit6
Additional bug? Items are duplicated on the server, then duplicated locally, because fetching does not care about priorities at all and inserts them without any. Each sync the items are duplicated.
Since priorities are not a default in taskwarrior I would recommend ignoring it or using
X-SYNCALL-PRIORITY
instead of the priority field. I do not feel confident enough in the codebase to provide a PR at this point.The text was updated successfully, but these errors were encountered: