Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-15 Thread Patrick Ohly
On Sat, 2017-01-14 at 22:59 -0700, Eric O'Connor wrote:
> Thank you, all. I now have a configuration working.
> 
> My particular style of daftness was not realizing that
> "syncURL=local://@webdav" refers to a different config than any of:
> "zoho-addr", "zoho@webdav", or "target-config@zoho", and so of course
> there was no datastore configured.
> 
> This is all clearly explained in "SYNCHRONIZATION BEYOND SYNCML", line
> 932 of the manual.

Glad to hear that you got it working. I was wondering about how this
should be explained better in the documentation, but I guess it is okay
after all.

-- 
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
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution


Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-14 Thread Eric O'Connor
Thank you, all. I now have a configuration working.

My particular style of daftness was not realizing that
"syncURL=local://@webdav" refers to a different config than any of:
"zoho-addr", "zoho@webdav", or "target-config@zoho", and so of course
there was no datastore configured.

This is all clearly explained in "SYNCHRONIZATION BEYOND SYNCML", line
932 of the manual.

Sorry for the noise,
Eric


-Original Message-

Date: Sat, 14 Jan 2017 20:34:03 +0100
Subject: Re: [SyncEvolution] [INFO] SoupTransport Failure
Cc: syncevolution@syncevolution.org
To: Eric O'Connor <e...@oco.nnor.org>
From: Patrick Ohly <patrick.o...@intel.com>
On Fri, 2017-01-13 at 16:19 -0700, Eric O'Connor wrote:
> > Which documentation did you follow to get started?
> 
> I'm going off of the man page for syncevolution.
> 
> > It takes two commands to set up CardDAV syncing: once for the
> > target
> 
> side (where CardDAV is used as storage) and once for the local side
> (with EDS, Akonadi or plain files as local storage).
> 
> How do you "link" the two?

With syncURL=local://@webdav.


> I now have a carddav config "remote", and an
> evolution config "local", but how do I run the "remote" <-> "local"
> combined config?

Are these "target config" and "sync config" (as described in the man
page under "SYNCHRONIZATION BEYOND SYNCML" or datastore configurations?


> I think I need to do this manually, because I don't see a template
> for
> Evolution mail.
> 
> I don't understand where in the man page it tells me how to do that.

The relevant example is this (from CALDAV AND CARDDAV):

The  following  commands  set up synchronization with a generic
WebDAV server that supports CalDAV, CardDAV and scanning
starting at the root of the server.

  # configure target config
  syncevolution --configure \
   --template webdav \
   syncURL=http://example.com \
   username=123456 \
   "password=!@#ABcd1234" \
   target-config@webdav

  # configure sync config
  syncevolution --configure \
--template SyncEvolution_Client \
syncURL=local://@webdav \
username= \
password= \
webdav \
calendar addressbook

  # initial slow sync
  syncevolution --sync slow webdav

In your case, you seem to be only interested in CardDAV, so let's focus
on just contacts. The commands in your case should be something like
this:

# set up access to zoho.com
syncevolution --configure \
  --template webdav \
  syncURL=https://contacts.zoho.com/carddav/e...@oco.nnor.o
rg/default/ \
  username='e...@oco.nnor.org password='' \
  target-config@zoho

# double-check access
syncevolution --print-items target-config@zoho addressbook

# configure sync config, enabling only addressbook
syncevolution --configure \
  --template SyncEvolution_Client \
  syncURL=local://@webdav \
  username= \
  password= \
  zoho \
  addressbook

# double-check local access
syncevolution --print-items zoho addressbook

# Now "zoho addressbook" is matched with "target-config@zoho
addressbook"
# and we can sync the two:
syncevolution --sync slow zoho

# All following syncs are incremental:
syncevolution zoho


> I now am getting:
> 
> ➤ syncevolution --run ev-local-addr
> ...
> [INFO] @default/addressbook: using configured database=zoho-backend
> [ERROR] sending message to child failed:
> org.syncevolution.gdbuscxx.Exception: 1483751134.3343.16@tara/address
> bo
> ok: datastore not configured
> ...

I'm not sure what you configured to get to this point. As your local
~/.config/syncevolution might be in an unclean state now, it might be
worthwhile to throw it away (you don't have any other configs, do you?)
with "rm -rf ~/.config/syncevolution" before running the commands
above.
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-14 Thread Patrick Ohly
On Fri, 2017-01-13 at 16:19 -0700, Eric O'Connor wrote:
> > Which documentation did you follow to get started?
> 
> I'm going off of the man page for syncevolution.
> 
> > It takes two commands to set up CardDAV syncing: once for the target
> side (where CardDAV is used as storage) and once for the local side
> (with EDS, Akonadi or plain files as local storage).
> 
> How do you "link" the two?

With syncURL=local://@webdav.


> I now have a carddav config "remote", and an
> evolution config "local", but how do I run the "remote" <-> "local"
> combined config?

Are these "target config" and "sync config" (as described in the man
page under "SYNCHRONIZATION BEYOND SYNCML" or datastore configurations?


> I think I need to do this manually, because I don't see a template for
> Evolution mail.
> 
> I don't understand where in the man page it tells me how to do that.

The relevant example is this (from CALDAV AND CARDDAV):

The  following  commands  set up synchronization with a generic
WebDAV server that supports CalDAV, CardDAV and scanning
starting at the root of the server.

  # configure target config
  syncevolution --configure \
   --template webdav \
   syncURL=http://example.com \
   username=123456 \
   "password=!@#ABcd1234" \
   target-config@webdav

  # configure sync config
  syncevolution --configure \
--template SyncEvolution_Client \
syncURL=local://@webdav \
username= \
password= \
webdav \
calendar addressbook

  # initial slow sync
  syncevolution --sync slow webdav

In your case, you seem to be only interested in CardDAV, so let's focus
on just contacts. The commands in your case should be something like
this:

# set up access to zoho.com
syncevolution --configure \
  --template webdav \
  
syncURL=https://contacts.zoho.com/carddav/e...@oco.nnor.org/default/ \
  username='e...@oco.nnor.org password='' \
  target-config@zoho

# double-check access
syncevolution --print-items target-config@zoho addressbook

# configure sync config, enabling only addressbook
syncevolution --configure \
  --template SyncEvolution_Client \
  syncURL=local://@webdav \
  username= \
  password= \
  zoho \
  addressbook

# double-check local access
syncevolution --print-items zoho addressbook

# Now "zoho addressbook" is matched with "target-config@zoho addressbook"
# and we can sync the two:
syncevolution --sync slow zoho

# All following syncs are incremental:
syncevolution zoho


> I now am getting:
> 
> ➤ syncevolution --run ev-local-addr
> ...
> [INFO] @default/addressbook: using configured database=zoho-backend
> [ERROR] sending message to child failed:
> org.syncevolution.gdbuscxx.Exception: 1483751134.3343.16@tara/addressbo
> ok: datastore not configured
> ...

I'm not sure what you configured to get to this point. As your local
~/.config/syncevolution might be in an unclean state now, it might be
worthwhile to throw it away (you don't have any other configs, do you?)
with "rm -rf ~/.config/syncevolution" before running the commands above.

-- 
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
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-14 Thread Graham Cobb
On 14/01/17 09:01, deloptes wrote:
> I think your config is not good, but I have not idea how a carddav/caldav
> setup should look like. sorry. I think you have to wait for someone more
> experienced to assist, or go through the syncevolution guide again.

Here is an example of my script for syncing between local files and
Owncloud (using carddav/caldav). Although this is not using Evolution,
it may help.

By the way, I don't claim this is the only way, or that it is optimal or
that every parameter is required -- my scripts have evolved over time!
But the script below does work.

Note: in that second command, that password= is empty (it is not that I
removed a password). I don't remember if the empty password is needed or
not.

And, as deloptes says, if you are having problems and want to get more
logs, replace the loglevel=1 with loglevel=4 below, and run the sync
with SYNCEVOLUTION_DEBUG=1 (I also specify --daemon=no but that may be
bacause I sometimes need to use gdb on the plugin). Look for logs in
~/.cache/syncevolution/

syncevolution --remove @Test_Files

syncevolution --configure password= syncUrl=local://@Test_OC
peerIsClient=1 loglevel=1 Test_OC@Test_Files

syncevolution --configure sync=two-way uri=contacts loglevel=1
Test_OC@Test_Files contacts

syncevolution --configure sync=two-way uri=business loglevel=1
Test_OC@Test_Files business

syncevolution --configure sync=two-way uri=personal loglevel=1
Test_OC@Test_Files personal

syncevolution --configure sync=two-way uri=calendar loglevel=1
Test_OC@Test_Files calendar

syncevolution --configure --template none backend=file
database=file:///home/cobb/SyncEvoData/contacts/
databaseformat=text/vcard @Test_Files contacts

syncevolution --configure --template none backend=file
database=file:///home/cobb/SyncEvoData/business/
databaseformat=text/vcard @Test_Files business

syncevolution --configure --template none backend=file
database=file:///home/cobb/SyncEvoData/personal/
databaseformat=text/vcard @Test_Files personal

syncevolution --configure --template none backend=file
database=file:///home/cobb/SyncEvoData/calendar/
databaseformat=text/calendar @Test_Files calendar

syncevolution --remove @Test_OC

syncevolution --configure --template none username= printChanges=1
dumpData=1 loglevel=1 target-config@Test_OC

syncevolution --configure password= syncUrl=workround.gnome.keyring
loglevel=1 target-config@Test_OC

syncevolution --configure sync=two-way uri=contacts loglevel=1
target-config@Test_OC contacts

syncevolution --configure sync=two-way uri=business loglevel=1
target-config@Test_OC business

syncevolution --configure sync=two-way uri=personal loglevel=1
target-config@Test_OC personal

syncevolution --configure sync=two-way uri=calendar loglevel=1
target-config@Test_OC calendar

syncevolution --configure --template none backend=carddav
database=https://x.y.net/owncloud/remote.php/carddav/addressbooks//contacts/
@Test_OC contacts

syncevolution --configure --template none backend=carddav
database=https://x.y.net/owncloud/remote.php/carddav/addressbooks//business/
@Test_OC business

syncevolution --configure --template none backend=carddav
database=https://x.y.net/owncloud/remote.php/carddav/addressbooks//personal/
@Test_OC personal

syncevolution --configure --template none backend=caldav
database=https://x.y.net/owncloud/remote.php/caldav/calendars//defaultcalendar/
@Test_OC calendar

syncevolution Test_OC@Test_Files

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution


Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-14 Thread deloptes
Eric O'Connor wrote:

> ➤ syncevolution --sync two-way zoho-backend addressbook
> [INFO] calendar: inactive
> [INFO] memo: inactive
> [INFO] todo: inactive
> [INFO] Server sending SAN
> [ERROR syncevo-dbus-server] child process quit because of signal 11
> [ERROR] The connection is closed

SAN is server access notification
https://en.wikipedia.org/wiki/SyncML

I think your config is not good, but I have not idea how a carddav/caldav
setup should look like. sorry. I think you have to wait for someone more
experienced to assist, or go through the syncevolution guide again.

One is for sure, if you have a problem enable debugging. I run the syncs
usually so:
SYCNEVOLUTION_DEBUG=3 syncevolution -r loglevel=4 nokia_N9 addressbook
calendar+todo memo

Again big thanks to Patrik.

You can then find the logs in ~/.cache/syncevolution/

regards


___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-13 Thread Eric O'Connor
Thanks!

I played with this a bit more, and now I have a new error. Progress!
What is SAN? 

I looked in https://tools.ietf.org/html/rfc6352 , and https://dbus.free
desktop.org/doc/dbus-specification.html for any references to SAN and Idon't 
find anything. 


syncevolution --configure \
addressbook/backend=evolution-contacts \
addressbook/database="1483751134.3343.16@tara" \
addressbook/databaseFormat="text/vcard" \
   @default addressbook
syncevolution --configure \
  peerIsClient=1 \
  backend=carddav \
  username='e...@oco.nnor.org' \
  password='x' \
  syncURL='https://contacts.zoho.com' \
  zoho-backend addressbook



➤ syncevolution --sync two-way zoho-backend addressbook
[INFO] calendar: inactive
[INFO] memo: inactive
[INFO] todo: inactive
[INFO] Server sending SAN
[ERROR syncevo-dbus-server] child process quit because of signal 11
[ERROR] The connection is closed


Eric


-Original Message-

Date: Sat, 14 Jan 2017 00:46:55 +0100
Subject: Re: [SyncEvolution] [INFO] SoupTransport Failure
To: syncevolution@syncevolution.org
Reply-to: delop...@gmail.com
From: deloptes <delop...@gmail.com>
Eric O'Connor wrote:

> > Which documentation did you follow to get started?
> 
> I'm going off of the man page for syncevolution.
> 
> > It takes two commands to set up CardDAV syncing: once for the
> > target
> 
> side (where CardDAV is used as storage) and once for the local side
> (with EDS, Akonadi or plain files as local storage).
> 
> How do you "link" the two? I now have a carddav config "remote", and
> an
> evolution config "local", but how do I run the "remote" <-> "local"
> combined config?
> 
> I think I need to do this manually, because I don't see a template
> for
> Evolution mail.
> 
> I don't understand where in the man page it tells me how to do that.
> 
> I now am getting:
> 
> ➤ syncevolution --run ev-local-addr
> ...
> [INFO] @default/addressbook: using configured database=zoho-backend
> [ERROR] sending message to child failed:
> org.syncevolution.gdbuscxx.Exception: 1483751134.3343.16@tara/address
> bo
> ok: datastore not configured
> ...
> 
> with the configurations:
> 
> ➤ syncevolution --configure backend=carddav
> username='e...@oco.nnor.org' password='' syncURL='https://con
> ta
> cts.zoho.com' zoho-backend addressbook
> ➤ syncevolution --configure syncURL='local://1483751134.3343.16@tara'
> database=zoho-backend peerIsClient=1 ev-local-addr addressbook
> 
> I don't understand why I would be getting this message, because I
> configure the evolution addressbook in the second line.
> 
> Thanks,
> Eric
> 
> 
> -Original Message-
> 
> Date: Mon, 09 Jan 2017 16:20:34 +0100
> Subject: Re: [SyncEvolution] [INFO] SoupTransport Failure
> Cc: syncevolution@syncevolution.org
> To: Eric O'Connor <e...@oco.nnor.org>
> From: Patrick Ohly <patrick.o...@intel.com>
> On Fri, 2017-01-06 at 19:30 -0700, Eric O'Connor wrote:
> > I'm using the same username/password as I use successfully on my
> > iPhone, and I can run the --print-items and get a list of vcf
> > items.
> > 
> > 
> > $ syncevolution --configure syncURL='https://contacts.zoho.com/card
> > da
> > v/
> > e...@oco.nnor.org/default/' backend=carddav username='e...@oco.nnor
> > .o
> > rg
> > ' password='' sync=slow database='1483751134.3343.16@tara'
> > eric-contacts9 addressbook
> > 
> > $ syncevolution --run eric-contacts9
> > ...
> > [INFO] SoupTransport Failure: https://contacts.zoho.com/carddav/eri
> > c@
> > oc
> > o.nnor.org/default/ via libsoup: Unauthorized
> > [INFO] Transport giving up after 0 retries and 0:00min
> 
> It takes two commands to set up CardDAV syncing: once for the target
> side (where CardDAV is used as storage) and once for the local side
> (with EDS, Akonadi or plain files as local storage).
> 
> > Perhaps one issue is that I don't really understand how
> > syncevolution
> > works. I think I want to sync between my webdav "backend", and my
> > local
> > evolution "datastore", using the carddav "backend".
> 
> You need two datastores for that and thus two backends, not just one.
> 
> > I guess when I do --print-databases, I refer to them using the
> > thing
> > in
> > between parenthesis?
> > 
> > What is SyncML? I just want to sync Caldav/Carddav. Do I need to
> > learn
> > about SyncML?
> 
> Not really - how SyncML works is an implementation detail. It's just
> the
> general concept (configure two sid

Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-13 Thread deloptes
Eric O'Connor wrote:

>> Which documentation did you follow to get started?
> 
> I'm going off of the man page for syncevolution.
> 
>> It takes two commands to set up CardDAV syncing: once for the target
> side (where CardDAV is used as storage) and once for the local side
> (with EDS, Akonadi or plain files as local storage).
> 
> How do you "link" the two? I now have a carddav config "remote", and an
> evolution config "local", but how do I run the "remote" <-> "local"
> combined config?
> 
> I think I need to do this manually, because I don't see a template for
> Evolution mail.
> 
> I don't understand where in the man page it tells me how to do that.
> 
> I now am getting:
> 
> ➤ syncevolution --run ev-local-addr
> ...
> [INFO] @default/addressbook: using configured database=zoho-backend
> [ERROR] sending message to child failed:
> org.syncevolution.gdbuscxx.Exception: 1483751134.3343.16@tara/addressbo
> ok: datastore not configured
> ...
> 
> with the configurations:
> 
> ➤ syncevolution --configure backend=carddav
> username='e...@oco.nnor.org' password='' syncURL='https://conta
> cts.zoho.com' zoho-backend addressbook
> ➤ syncevolution --configure syncURL='local://1483751134.3343.16@tara'
> database=zoho-backend peerIsClient=1 ev-local-addr addressbook
> 
> I don't understand why I would be getting this message, because I
> configure the evolution addressbook in the second line.
> 
> Thanks,
> Eric
> 
> 
> -Original Message-
> 
> Date: Mon, 09 Jan 2017 16:20:34 +0100
> Subject: Re: [SyncEvolution] [INFO] SoupTransport Failure
> Cc: syncevolution@syncevolution.org
> To: Eric O'Connor <e...@oco.nnor.org>
> From: Patrick Ohly <patrick.o...@intel.com>
> On Fri, 2017-01-06 at 19:30 -0700, Eric O'Connor wrote:
>> I'm using the same username/password as I use successfully on my
>> iPhone, and I can run the --print-items and get a list of vcf items.
>> 
>> 
>> $ syncevolution --configure syncURL='https://contacts.zoho.com/cardda
>> v/
>> e...@oco.nnor.org/default/' backend=carddav username='e...@oco.nnor.o
>> rg
>> ' password='' sync=slow database='1483751134.3343.16@tara'
>> eric-contacts9 addressbook
>> 
>> $ syncevolution --run eric-contacts9
>> ...
>> [INFO] SoupTransport Failure: https://contacts.zoho.com/carddav/eric@
>> oc
>> o.nnor.org/default/ via libsoup: Unauthorized
>> [INFO] Transport giving up after 0 retries and 0:00min
> 
> It takes two commands to set up CardDAV syncing: once for the target
> side (where CardDAV is used as storage) and once for the local side
> (with EDS, Akonadi or plain files as local storage).
> 
>> Perhaps one issue is that I don't really understand how syncevolution
>> works. I think I want to sync between my webdav "backend", and my
>> local
>> evolution "datastore", using the carddav "backend".
> 
> You need two datastores for that and thus two backends, not just one.
> 
>> I guess when I do --print-databases, I refer to them using the thing
>> in
>> between parenthesis?
>> 
>> What is SyncML? I just want to sync Caldav/Carddav. Do I need to
>> learn
>> about SyncML?
> 
> Not really - how SyncML works is an implementation detail. It's just
> the
> general concept (configure two sides, hook them up) which needs to be
> understood.
> 
> Which documentation did you follow to get started?
> 
> The README.rst explains the general concept in the "Synchronization
> beyond SyncML" section and "CalDAV and CardDAV" how to use that for
> CardDAV.
> 
> The same content is also on syncevolution.org together with specific
> HOWTO articles about other setups. Unfortunately the rendering there
> got
> broken in several places when moving to a new Drupal version. I'm not
> sure yet what to do about that - abandon Drupal, fix its setup (a bit
> out of my league), or fix each broken page - all not very attractive :-
> /
> 

I write this in the hope I can help, as it took me also a while to get a
working configuration with remote and local part. Luckilly Patrik Ohly was
so kind to help me out and for me it looks like following

echo "configure local source"
syncevolution --configure \
addressbook/backend=tdepim-contacts \
addressbook/database="xnCa15vsal" \
addressbook/databaseFormat="text/vcard" \
calendar/backend=tdepim-calendar \
calendar/database="kOBU23vG42" \
calendar/databaseFormat="text/calendar&quo

Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-13 Thread Eric O'Connor
> Which documentation did you follow to get started?

I'm going off of the man page for syncevolution.

> It takes two commands to set up CardDAV syncing: once for the target
side (where CardDAV is used as storage) and once for the local side
(with EDS, Akonadi or plain files as local storage).

How do you "link" the two? I now have a carddav config "remote", and an
evolution config "local", but how do I run the "remote" <-> "local"
combined config?

I think I need to do this manually, because I don't see a template for
Evolution mail.

I don't understand where in the man page it tells me how to do that.

I now am getting:

➤ syncevolution --run ev-local-addr
...
[INFO] @default/addressbook: using configured database=zoho-backend
[ERROR] sending message to child failed:
org.syncevolution.gdbuscxx.Exception: 1483751134.3343.16@tara/addressbo
ok: datastore not configured
...

with the configurations:

➤ syncevolution --configure backend=carddav
username='e...@oco.nnor.org' password='' syncURL='https://conta
cts.zoho.com' zoho-backend addressbook
➤ syncevolution --configure syncURL='local://1483751134.3343.16@tara'
database=zoho-backend peerIsClient=1 ev-local-addr addressbook

I don't understand why I would be getting this message, because I
configure the evolution addressbook in the second line. 

Thanks,
Eric


-Original Message-

Date: Mon, 09 Jan 2017 16:20:34 +0100
Subject: Re: [SyncEvolution] [INFO] SoupTransport Failure
Cc: syncevolution@syncevolution.org
To: Eric O'Connor <e...@oco.nnor.org>
From: Patrick Ohly <patrick.o...@intel.com>
On Fri, 2017-01-06 at 19:30 -0700, Eric O'Connor wrote:
> I'm using the same username/password as I use successfully on my
> iPhone, and I can run the --print-items and get a list of vcf items.
> 
> 
> $ syncevolution --configure syncURL='https://contacts.zoho.com/cardda
> v/
> e...@oco.nnor.org/default/' backend=carddav username='e...@oco.nnor.o
> rg
> ' password='' sync=slow database='1483751134.3343.16@tara'
> eric-contacts9 addressbook
> 
> $ syncevolution --run eric-contacts9
> ...
> [INFO] SoupTransport Failure: https://contacts.zoho.com/carddav/eric@
> oc
> o.nnor.org/default/ via libsoup: Unauthorized
> [INFO] Transport giving up after 0 retries and 0:00min

It takes two commands to set up CardDAV syncing: once for the target
side (where CardDAV is used as storage) and once for the local side
(with EDS, Akonadi or plain files as local storage).

> Perhaps one issue is that I don't really understand how syncevolution
> works. I think I want to sync between my webdav "backend", and my
> local
> evolution "datastore", using the carddav "backend".

You need two datastores for that and thus two backends, not just one.

> I guess when I do --print-databases, I refer to them using the thing
> in
> between parenthesis?
> 
> What is SyncML? I just want to sync Caldav/Carddav. Do I need to
> learn
> about SyncML? 

Not really - how SyncML works is an implementation detail. It's just
the
general concept (configure two sides, hook them up) which needs to be
understood.

Which documentation did you follow to get started?

The README.rst explains the general concept in the "Synchronization
beyond SyncML" section and "CalDAV and CardDAV" how to use that for
CardDAV.

The same content is also on syncevolution.org together with specific
HOWTO articles about other setups. Unfortunately the rendering there
got
broken in several places when moving to a new Drupal version. I'm not
sure yet what to do about that - abandon Drupal, fix its setup (a bit
out of my league), or fix each broken page - all not very attractive :-
/


___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution

Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-09 Thread Patrick Ohly
On Fri, 2017-01-06 at 19:30 -0700, Eric O'Connor wrote:
> I'm using the same username/password as I use successfully on my
> iPhone, and I can run the --print-items and get a list of vcf items.
> 
> 
> $ syncevolution --configure syncURL='https://contacts.zoho.com/carddav/
> e...@oco.nnor.org/default/' backend=carddav username='e...@oco.nnor.org
> ' password='' sync=slow database='1483751134.3343.16@tara'
> eric-contacts9 addressbook
> 
> $ syncevolution --run eric-contacts9
> ...
> [INFO] SoupTransport Failure: https://contacts.zoho.com/carddav/eric@oc
> o.nnor.org/default/ via libsoup: Unauthorized
> [INFO] Transport giving up after 0 retries and 0:00min

It takes two commands to set up CardDAV syncing: once for the target
side (where CardDAV is used as storage) and once for the local side
(with EDS, Akonadi or plain files as local storage).

> Perhaps one issue is that I don't really understand how syncevolution
> works. I think I want to sync between my webdav "backend", and my local
> evolution "datastore", using the carddav "backend".

You need two datastores for that and thus two backends, not just one.

> I guess when I do --print-databases, I refer to them using the thing in
> between parenthesis?
> 
> What is SyncML? I just want to sync Caldav/Carddav. Do I need to learn
> about SyncML? 

Not really - how SyncML works is an implementation detail. It's just the
general concept (configure two sides, hook them up) which needs to be
understood.

Which documentation did you follow to get started?

The README.rst explains the general concept in the "Synchronization
beyond SyncML" section and "CalDAV and CardDAV" how to use that for
CardDAV.

The same content is also on syncevolution.org together with specific
HOWTO articles about other setups. Unfortunately the rendering there got
broken in several places when moving to a new Drupal version. I'm not
sure yet what to do about that - abandon Drupal, fix its setup (a bit
out of my league), or fix each broken page - all not very attractive :-/

-- 
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
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution


Re: [SyncEvolution] [INFO] SoupTransport Failure

2017-01-06 Thread Eric O'Connor
Also, when I drop the database= property using templates, I get:

[INFO] operation temporarily (?) failed, going to retry in 5.0s before
giving up in 289.6s: PROPFIND: Neon error code 2, no HTTP status: Could
not resolve hostname `': No address associated with hostname


Is there a hostname configuration that I'm not supplying?

syncevolution --configure --template webdav syncURL='https://contacts.z
oho.com/' backend=carddav username='e...@oco.nnor.org'
password='xxx' eric-contacts11@webdav addressbook


-Original Message-

Date: Fri, 06 Jan 2017 19:30:04 -0700
Subject: [INFO] SoupTransport Failure
To: syncevolution@syncevolution.org
From: Eric O'Connor 
Hello,

I'm having some issues setting up syncevolution:

: https://contacts.zoho.com/carddav/e...@oco.nnor.org/default/ via
libsoup: Unauthorized

I'm using the same username/password as I use successfully on my
iPhone, and I can run the --print-items and get a list of vcf items.


$ syncevolution --configure syncURL='https://contacts.zoho.com/carddav/
e...@oco.nnor.org/default/' backend=carddav username='e...@oco.nnor.org
' password='' sync=slow database='1483751134.3343.16@tara'
eric-contacts9 addressbook

$ syncevolution --run eric-contacts9
...
[INFO] SoupTransport Failure: https://contacts.zoho.com/carddav/eric@oc
o.nnor.org/default/ via libsoup: Unauthorized
[INFO] Transport giving up after 0 retries and 0:00min
[

Perhaps one issue is that I don't really understand how syncevolution
works. I think I want to sync between my webdav "backend", and my local
evolution "datastore", using the carddav "backend". 

I guess when I do --print-databases, I refer to them using the thing in
between parenthesis?

What is SyncML? I just want to sync Caldav/Carddav. Do I need to learn
about SyncML? 

I get the same thing when I use the template setup:

$ syncevolution --configure --template webdav syncURL='https://contacts
.zoho.com/carddav/e...@oco.nnor.org/default/' backend=carddav username=
'e...@oco.nnor.org' password='xx' sync=slow
database='1483751134.3343.16@tara' eric-contacts10@webdav addressbook

Thanks for any help,
Eric

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution

[SyncEvolution] [INFO] SoupTransport Failure

2017-01-06 Thread Eric O'Connor
Hello,

I'm having some issues setting up syncevolution:

: https://contacts.zoho.com/carddav/e...@oco.nnor.org/default/ via
libsoup: Unauthorized

I'm using the same username/password as I use successfully on my
iPhone, and I can run the --print-items and get a list of vcf items.


$ syncevolution --configure syncURL='https://contacts.zoho.com/carddav/
e...@oco.nnor.org/default/' backend=carddav username='e...@oco.nnor.org
' password='' sync=slow database='1483751134.3343.16@tara'
eric-contacts9 addressbook

$ syncevolution --run eric-contacts9
...
[INFO] SoupTransport Failure: https://contacts.zoho.com/carddav/eric@oc
o.nnor.org/default/ via libsoup: Unauthorized
[INFO] Transport giving up after 0 retries and 0:00min
[

Perhaps one issue is that I don't really understand how syncevolution
works. I think I want to sync between my webdav "backend", and my local
evolution "datastore", using the carddav "backend". 

I guess when I do --print-databases, I refer to them using the thing in
between parenthesis?

What is SyncML? I just want to sync Caldav/Carddav. Do I need to learn
about SyncML? 

I get the same thing when I use the template setup:

$ syncevolution --configure --template webdav syncURL='https://contacts
.zoho.com/carddav/e...@oco.nnor.org/default/' backend=carddav username=
'e...@oco.nnor.org' password='xx' sync=slow
database='1483751134.3343.16@tara' eric-contacts10@webdav addressbook

Thanks for any help,
Eric

___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution