From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Riedy Subject: Re: org-caldav for Google or Zimbra? Date: Thu, 26 Sep 2013 09:51:49 -0400 Message-ID: <87pprvr8qy.fsf@qNaN.sparse.dyndns.org> References: <871u4dsyfr.fsf@qNaN.sparse.dyndns.org> <87r4ccrp9s.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPBzK-0005kp-Ad for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 09:52:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPBzE-0001Ix-FV for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 09:52:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:42232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPBzE-0001Ir-7d for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 09:52:08 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPBz9-0005FX-Co for emacs-orgmode@gnu.org; Thu, 26 Sep 2013 15:52:03 +0200 Received: from lawn-128-61-56-129.lawn.gatech.edu ([128.61.56.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Sep 2013 15:52:03 +0200 Received: from jason by lawn-128-61-56-129.lawn.gatech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Sep 2013 15:52:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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(# "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(#) > #[0 "\302\303\300@!)\207" [(#) inhibit-quit nil accept-process-output] 2 "\n\n(fn)"]() > funcall(#[0 "\302\303\300@!)\207" [(#) 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