On Mon, 2012-04-23 at 13:03 +0200, Roth wrote:
> Hi Patrick,
> 
> thank you for you quick reply!
> 
> Yes, I have one user with several uri on the server like:
> 
> card, card2, card4
> cal, calccc, caltc
> 
> I wanted to keep the calendars separately on the server. Because my
> Android HTC is not supporting several calendars and addressbooks (I
> guess), my idea was to sync changes from with my android to a specific
> user on the Funambol server. And when I sync with Evolution with the
> same user, I'll see the changes in the right calendar. Of am I wrong?

So you have the same database in Funambol shared between multiple
different users? I don't know how to configure Funambol like that, but
I'll take your word for it.

The key point is that for SyncEvolution, a single username/password will
grant access to all databases. That means that the SyncEvolution config
can be simplified to this:

syncevolution --configure \
              syncURL=http://<your host>/sync \
              username=<user> \
              password=<password> \
              calendar2/database=<calendar name> \
              calendar2/uri=<second funambol uri for calendar> \
              calendar2/syncFormat=text/calendar \
              calendar2/forceSyncFormat=1 \
              addressbook2/database=<address book name> \
              addressbook2/uri=<second funambol uri for addressbook> \
              funambol calendar addressbook calendar2 addressbook2

Then sync all sources ("syncevolution funambol") or just the one you
want ("syncevolution funambol calendar2").

> Now, I can sync the default calendar and addressbook. But I couldn't
> manage it to sync the second addressbook, called in Evolution 'CCC' and
> on the server 'calccc'.
> 
> I have the following structure for the ccc/CCC user/calendar:
> 
> ~/.config/syncevolution/ccc/peers/ccc$
> # config.ini #
> syncURL = http://192.168.0.50/funambol/ds
> username = ccc
> password = strong
> 
> ~/.config/syncevolution/ccc/peers/ccc/sources/addressbook$
> # config.ini #
> sync = two-way
> uri = card2
> syncFormat = text/vcard
> 
> ~/.config/syncevolution/ccc/peers/ccc/sources/calendar$
> # config.ini #
> sync = two-way
> uri = calccc
> syncFormat = text/calendar
> 
> When I do a:
> syncevolution --sync refresh-from-client ccc
> 
> I get the following error message:
> [INFO] todo: inactive
> [INFO] memo: inactive
> [INFO] SoupTransport Failure: http://192.168.0.50/funambol/ds via
> libsoup: Not Found

Why "/funambol/ds"? At least my.funambol.com uses just "/sync". In any
case, is this the same URL as for the default databases?

This looks like a "host not found" error, and not so much like a "uri
not found". The latter would show up later in the sync.

-- 
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]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to