On Mon, 2014-07-14 at 23:03 +0800, Emfox Zhou wrote:
> 
> On Mon, Jul 14, 2014 at 2:56 PM, Patrick Ohly <[email protected]>
> wrote:
>         On Sun, 2014-07-13 at 21:18 +0800, Emfox Zhou wrote:
>         > Hello, I've try to sync google contacts to my debian box.
>         >
>         >
>         > The syncevolution version is 1.4-1.1, I did according to the
>         manual:
>         >
>         >
>         
> first step below: 
>         > emfox@XXXX:~$ syncevolution --configure --template WebDAV
>         > [email protected] password=XXXX
>         > database=https://google.com:443/carddav/v1/principals/XXXX%
>         > 40gmail.com/lists/default/ target-config@webdav
>         > [INFO] addressbook: looking for databases...
>         > [INFO] addressbook: okay
>         
>                                       ~~~ see here 
>         > [INFO] calendar: looking for databases...
>         > [INFO] calendar: no database to synchronize
>         > [INFO] memo: looking for databases...
>         > [INFO] memo: no database to synchronize
>         > [INFO] todo: looking for databases...
>         > [INFO] todo: no database to synchronize
>         
> second step below: 
>         > emfox@XXXX:~$ syncevolution --configure --template
>         > SyncEvolution_Client syncURL=local://@webdav
>         sslverifyserver=0
>         > username= password= webdav addressbook
>         > [INFO] addressbook: looking for databases...
>         > [INFO] addressbook: backend failed: error code from
>         SyncEvolution
>         > authorization failed (remote, status 401): PROPFIND: Neon
>         error code 3
>         > = NE_AUTH, HTTP status 401: Could not authenticate to
>         server: ignored
>         > GoogleLogin challenge
>         > [ERROR] addressbook: backend failed: error code from
>         SyncEvolution
>         > authorization failed (remote, status 401): PROPFIND: Neon
>         error code 3
>         > = NE_AUTH, HTTP status 401: Could not authenticate to
>         server: ignored
>         > GoogleLogin challenge

Thanks for pointing out that these are two different commands. I missed
that.

To me it looks like you accidentally configured "addressbook" in your
@default context to use Google CardDAV. Otherwise the second step would
not attempt to contact any server.

There's no command to remove sources, so if you don't have anything else
configured in the default context, then remove it completely with:
  syncevolution --remove @default

Then run the second command again.


-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



_______________________________________________
SyncEvolution mailing list
[email protected]
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Reply via email to