emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-caldav: Sync Org with external calendars through CalDAV (Own


From: Stephen Eglen
Subject: Re: [O] org-caldav: Sync Org with external calendars through CalDAV (Owncloud, Google, ...)
Date: Tue, 04 Dec 2012 10:45:40 +0000
User-agent: mu4e 0.9.9.5-dev3; emacs 24.1.1

On Tue, Dec 04 2012, Suvayu Ali wrote:

> Hi David,
>
> On Mon, Dec 03, 2012 at 08:50:35PM +0100, David Engster wrote:
>> 
>> I'm at a loss why this happens, and I could not reproduce it with my
>> account. This problem really has nothing to do with org-caldav, since it
>> is delegating this part to the url package. As I've already written to
>> Bastien, please try
>> 
>>  (url-retrieve-synchronously
>>    "https://www.google.com/calendar/dav/address@hidden/events/";)
>> 
>> If this doesn't ask for your username, then there's your
>> problem. Depending on the Emacs version you're using, you might want to
>> set
>> 
>> (setq auth-source-debug t)
>> 
>> to see whether some .netrc file or similar is setting the username for
>> you (look into the *Messages* buffer).
>> 
>
> I see the same issue, I get only a password prompt.  This is what I get
> on trying your suggestion above.
>
> Contacting host: www.google.com:443
> auth-source-search: found 1 results (max 1) matching (:max 1 :host 
> "www.google.com:443" :port "https")
> auth-source-search: found 1 CACHED results matching (:max 1 :host 
> "www.google.com:443" :port "https")
> #<buffer  *http www.google.com:443*-771021>
>
> I'm not sure from this if my netrc is being used.  My netrc also has the
> password for my Google account, if it is being used should I even get a
> password prompt?
>
> Cheers,

Dear all,
I think it is a problem somewhere with my local setup; if I add the
following to .authinfo (chmod 600) then it uses the right username:

Machine www.google.com login my-gmail-login

I'm now about to see how to setup .authinfo.gpg so that I can also
include my password in that file.

As David has pointed out, try the call to url-retrieve-synchronously
first, as that needs to be working before org-caldav works.

Stephen



reply via email to

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