On Wed, 2012-07-11 at 17:52 +0200, vedran alajbegovic wrote:
Hello,
this is config that i set:
------------------------------------------------------------------------------------------------------------------------------------------------
syncevolution --configure \
--template default \
--sync-property syncURL= \
--sync-property peerIsClient=1 \
--sync-property remoteDeviceId=${deviceID} \
--sync-property username=${syncUserName} \
--sync-property password=${syncPassword} \
--source-property uri= \
--source-property sync=none \
${peer}
------------------------------------------------------------------------------------------------------------------------------------------------
syncevolution --configure \
--source-property type=file:text/vcard:3.0 \
--source-property evolutionsource=file://${datapath}/addressbook \
${peer} addressbook
------------------------------------------------------------------------------------------------------------------------------------------------
and this is what i get when i try to connect with device:
------------------------------------------------------------------------------------------------------------------------------------------------
[INFO] syncevo-http: new SyncML session for 31.176.241.1
[INFO] sync: /usr/libexec/syncevo-dbus-server: ready to run
[INFO] sync: matched deviceID DEVICEID against config CONFIG
(/home/USER/.config/syncevolution/default/peers/PEERNAME)
[INFO] sync: todo: inactive
[INFO] sync: memo: inactive
[INFO] sync: addressbook: inactive
[INFO] sync: calendar: inactive
[ERROR] sync: error code from SyncEvolution fatal error (local, status
10500): no sources active, check configuration
That's the problem - the "addressbook" source is not enabled in the
peer. Did you follow the server HOWTO at
https://syncevolution.org/wiki/http-server-howto ?
It shows the following step:
# Enable the sources the client is meant to have access to.
# The real sync mode is chosen by the client; all that matters
# here is that sync != disabled.
syncevolution --configure \
--source-property sync=two-way \
${peer} addressbook calendar todo memo
You seem to have skipped that step.
Since, the official docs are very poor, please explain me what is
going on.
Can you explain what you found poor about the docs and perhaps suggest
improvements?
--
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.