emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-caldav for Google or Zimbra?


From: Jason Riedy
Subject: Re: [O] org-caldav for Google or Zimbra?
Date: Thu, 26 Sep 2013 09:51:49 -0400
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

And Eric S. Fraga writes:
> Can you expand on this?  I am not sure what you mean by
> endpoint.  I use org-caldav-sync several times a day and it
> generally works very well with Google's calendar service.

Google has deprecated the URL in org-caldav, and that old URL
does not work for me.  The new one is documented at
  
https://developers.google.com/google-apps/calendar/caldav/v2/guide#new_endpoint

Fiddling with the regexp in org-caldav-events-url triggers an
error apparently in the authentication code:

> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
>   url-http-handle-authentication(nil)
>   url-http-parse-headers()
>   url-http-chunked-encoding-after-change-function(415 440 25)
>   url-http-wait-for-headers-change-function(1 453 452)
>   url-http-generic-filter(#<process apidata.googleusercontent.com> "HTTP/1.1 
> 401 Unauthorized\nWWW-Authenticate: Bearer 
> realm=\"https://www.google.com/accounts/AuthSubRequest\"\nContent-Type: 
> text/html; charset=UTF-8\nDate: Thu, 26 Sep 2013 13:48:37 GMT\nExpires: Thu, 
> 26 Sep 2013 13:48:37 GMT\nCache-Control: private, 
> max-age=0\nX-Content-Type-Options: nosniff\nX-Frame-Options: 
> SAMEORIGIN\nX-XSS-Protection: 1; mode=block\nServer: GSE\nAlternate-Protocol: 
> 443:quic\nTransfer-Encoding: chunked\n\ne\nLogin Required\n0\n\n")
>   accept-process-output(#<process apidata.googleusercontent.com>)
>   #[0 "address@hidden)\207" [(#<process apidata.googleusercontent.com>) 
> inhibit-quit nil accept-process-output] 2 "\n\n(fn)"]()
>   funcall(#[0 "address@hidden)\207" [(#<process 
> apidata.googleusercontent.com>) inhibit-quit nil accept-process-output] 2 
> "\n\n(fn)"])
>   
> url-retrieve-synchronously("https://apidata.googleusercontent.com/caldav/v2/jason.riedy/events/";)
>   
> url-http-options("https://apidata.googleusercontent.com/caldav/v2/jason.riedy/events/";)
>   
> url-dav-supported-p("https://apidata.googleusercontent.com/caldav/v2/jason.riedy/events/";)
>   (if (url-dav-supported-p (org-caldav-events-url)) nil (error "The URL %s 
> does not seem to accept DAV requests" (org-caldav-events-url)))
>   org-caldav-sync()
>   eval((org-caldav-sync) nil)
>   eval-last-sexp-1(nil)
>   eval-last-sexp(nil)
>   call-interactively(eval-last-sexp nil nil)

Someone on github reported the same issue.
-- 
Jason




reply via email to

[Prev in Thread] Current Thread [Next in Thread]