Thanks for all the information.

Patrick Ohly wrote:

> That confirms my theory: I bet your register_func object linked into
> both shared modules, and then each module registers both kinds of data.
> 
> You need two registration files, one per module, and only register data
> provided by that module in the file.

I attached the two functions/objects - to me it looks different, so the
issue would be in the way of building and linking the .so libraries.

I will double check this - perhaps some inheritance in the variables.
thanks!

Could you also help with configuration? I wanted to try TDE
contacts/calendar with local file and from the documentation I tried to
configure like this, but it did not work

# configure target config
syncevolution --configure \
             --template none \
             addressbook/backend=file \
             addressbook/database=file:///tmp/testabc \
             calendar/backend=file \
             calendar/database=file:///tmp/testcal \
             target-config@file

# configure sync config
syncevolution --configure \
              --template SyncEvolution_Client \
              syncURL=local://@file \
              username= \
              password= \
             addressbook/backend=tdepim-contacts \
             calendar/backend=tdepim-calendar \
             file \
             calendar addressbook

last I tried this

# configure target config
syncevolution --configure \
             --template none \
              username= \
              password= \
             addressbook/backend=file \
             addressbook/database=file:///tmp/testabc \
             addressbook/syncFormat=text/vcard \
             calendar/backend=file \
             calendar/database=file:///tmp/testcal \
             calendar/syncFormat=text/calendar \
             test1@file

# configure sync config
syncevolution --configure \
              --template none \
              peerIsClient=1 \
              syncURL=local://@file \
              username= \
              password= \
             addressbook/backend=tdepim-contacts \
             addressbook/database=kxXrRFzP9c \
             calendar/backend=tdepim-calendar \
             calendar/database=ZsPZokpoTg \
             file \
             calendar addressbook

and executed with --sync slow

but it fails saying no DB was active for the target-config. I'm reading the
docs to get proper understanding what how works and how it should be
configured, and perhaps I need to look forward for debuggin - though in the
attached relevant logs I see the objects are created in my plugin, so I'm
not sure which DB - perhaps the file one ... or am I missing something?

regards


Attachment: file-2016-02-05-14-54.tar.gz
Description: application/gzip

Attachment: target_+config.tar.gz
Description: application/gzip

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

Reply via email to