Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Trouble syncing with Radicale : error 207 #86
Hi, and thanks for putting org-caldav up!
I’m trying to sync org-caldav with my Radicale server. The server already works fine with two other clients (Davdroid and Lightning).
Then if I call
Meanwhile, the radicale server says the following. First attempt:
And for the second attempt:
No actual errors as far as I see.
I also tried many other combinations of "vic" and "test" amongst the
If i try with a calendar id which doesn’t yet exist, like
I’m running Emacs 22.214.171.124 on Debian testing with org 20160328 and org-caldav 20160306.637.
Update : I just realized that despite the error, my test entry in appointments.org is correctly written to the radicale server. It is written to a file without the .ics extension (a new file if it didn’t exist already). I can then see it on my mobile phone with DavDroid etc.
So the problem seems really org-caldav not suceeding in reading from the server. No change is synced from the server to org. I gets a 207 error in the minibuffer. From the Messages buffer:
The org-caldav debug buffer doesn’t mention the 207 error however, only a 201 one (see paste in my initial comment). How can I further debug this 207 error?
I'm having this issue as well, and have done some digging. I haven't got it working, but I've made some progress. The trouble appears to be in url-dav.el, not necessarily org-caldav. It looks like Radicale is returning an XML response where the main node name is 'multistatus, not 'DAV:multistatus. The function `url-dav-process-response' only checks for 'DAV:multistatus (url-dav.el:410), and everything goes wrong from there.
I tried monkey-patching so that it checked against 'multistatus instead, and also renamed `url-dav-process-DAV:multistatus' accordingly. That didn't quite work, it was still trying to select a deleted buffer at some point, but I do hope that something in here will be helpful!