-
Notifications
You must be signed in to change notification settings - Fork 104
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
Trouble syncing with Radicale : error 207 #86
Comments
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! |
I guess this is a bug in Emacs' xml.el. I've opened a bug on the Emacs tracker: 23440. |
That bug is fixed in Emacs master (meaning the upcoming Emacs 26). |
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).
On calling
org-caldav-sync
the first time I’m asked to insert my credentials and get this in the debug buffer:Then if I call
org-caldav-sync
a second time, the output is different:Meanwhile, the radicale server says the following. First attempt:
And for the second attempt:
No actual errors as far as I see.
In my init.el I have this:
I also tried many other combinations of "vic" and "test" amongst the
org-caldav-url
andorg-caldav-calendar-id
. Same result each time. The Radicale collection on the server looks like this:If i try with a calendar id which doesn’t yet exist, like
org-caldav-calendar-id "foo"
, a file foo.props is created on the server. So I feel I’m really close but… after spending a night on it, I still can’t make it work :-/I’m running Emacs 25.1.50.1 on Debian testing with org 20160328 and org-caldav 20160306.637.
The text was updated successfully, but these errors were encountered: