You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 1337F00D 6.12.6-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 19 21:06:34 UTC 2024 x86_64 GNU/Linux
Python version (python --version; python3 --version)
3.13.1
--version of your executable
tw_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:
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: