Hello Patrick,

finally I did manage to sync between the default calendar and
addressbook (Personal) from Evolution client to my HTC and vice
versa! :-) Very nice, thanks to your help!

Because it is not possible to add more than one addressbooks to the
mobile phone (if I log in with another user, the already existing
addressbook is completely replaced by the new sync one, correct?) I have
created a new addressbook in my Evolution where I want to prepare with
Evolution the data for the mobile phone i.e. merge the contacts and
events from the different calendars in Evolution. When I then start the
sync with my HTC with this merged addressbook and calendar, I should
have all contacts and events on my phone, correct? Or is there another,
more elegant way to deal with more than one addressbook?

Unfortunately this third calendar and addressbook always comes up the
following error message:
[INFO] mobile: starting first time sync, two-way
[INFO] calmobile: starting first time sync, two-way
[INFO] mobile: first time sync done unsuccessfully
[ERROR] mobile: local, status 10415
[INFO] calmobile: first time sync done unsuccessfully
[ERROR] calmobile: local, status 10415
[ERROR] error code from Synthesis engine local, status 10415
[INFO] creating complete data backup after sync (enabled with dumpData
and needed for printChanges)

Synchronization failed,
see /home/cr/.cache/syncevolution/htc-2012-04-26-23-51/syncevolution-log.html 
for details.

[2012-04-26 23:52:02.759] calmobile: starting first time sync, two-way
  * [2012-04-26 23:52:02.759] =================> Finished processing
    incoming message #1 (final), request=0
  * [2012-04-26 23:52:02.759] MessageEnded finishes : new outgoing
    state='sync', new incoming state='sync', NeedToAnswer
  * [2012-04-26 23:52:02.759] Local Datastore 'mobile':
    State=sync_mode_stable, SLOW sync, two-way
  * [2012-04-26 23:52:02.759] Local Datastore 'calmobile':
    State=sync_mode_stable, SLOW sync, two-way
  * [2012-04-26 23:52:02.759] No common datastore formats -> cannot sync
    (415)
–
[2012-04-26 23:52:02.759] 'DSAbort' - Aborting datastore sync,
abortStatusCode=415, localProblem=yes,
resumable=no [--][++] [->end] [->enclosing]
        –
        [2012-04-26 23:52:02.759] 'SaveSuspendState' - Saving state for
        suspend/resume, datastore=mobile [--][++] [->end] [->enclosing]
                +
                [2012-04-26 23:52:02.759] 'SaveResumeMarks' - let
                implementation save resume info,
                datastore=mobile [--][++] [->end] [->enclosing]
        –[2012-04-26 23:52:02.760] End of
        'SaveSuspendState' [->top] [->enclosing]
      * [2012-04-26 23:52:02.760] *************** Warning: Datastore
        flagged aborted (after 0 sec. request processing, 41 sec. total)
        with LOCAL Status 415
–[2012-04-26 23:52:02.760] End of 'DSAbort' [->top] [->enclosing]
–
[2012-04-26 23:52:02.760] 'SessionAbort' - Aborting Session, Status=415,
ProblemSource=LOCAL [--][++] [->end] [->enclosing]
      * [2012-04-26 23:52:02.760] WARNING: Aborting Session with Reason
        Status 415 (LOCAL problem) ***
      * [2012-04-26 23:52:02.760] --------------- Ignoring all commands
        in this message (after 0 sec. request processing, 41 sec. total)
        with Status 514 (0=none) from here on
        –
        [2012-04-26 23:52:02.760] 'DSAbort' - Aborting datastore sync,
        abortStatusCode=415, localProblem=yes, 

Any idea on this? I tried to change the backend, the syncFormat and so
on, but never succeeded. I did a diff with the config.ini files from
another user where the sync succeedes. Unfortunately I didn't get
through by now.

Kind regards

Max


On Mon, 2012-04-23 at 17:26 +0200, Patrick Ohly wrote:
> On Mon, 2012-04-23 at 14:22 +0200, Roth wrote:
> > Hi Patrick,
> > 
> > > > 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.
> > Thanks for your trust. :-) I am wrong, I guess.
> > 
> > My setup is like this:
> > On the Funambol server I have the following users: admin, cr, ccc.
> > I have also several SyncSources for calendar and contacts on the server:
> > card, card2, card3, card4, scard (I don't know which is for what, but
> > this is not the main issue here!)
> > cal, calccc, caltc, event, scal, stask, task.
> 
> If I remember correctly, a combination of "user + uri" selects the data,
> so that users don't share each others' data - unless you have found a
> way around that.
> 
> > > 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:
> > Okay, I understand. I can't differentiate between users and
> > SyncSources. All users have access to all SyncSources, correct?
> 
> Each SyncML user has access to all uris, with his own data behind it. At
> least that's typically the case for a multi-user server like Funambol.
> SyncEvolution is different.
> 
> > >               username=<user> \
> > >               password=<password> \
> > One of the users (cr, ccc) on the server, just to connect to the server,
> > correct?
> 
> Right.
> 
> > >               calendar2/database=<calendar name> \
> > Which name is this? calccc? The SyncSource on the server and the name of
> > the directory with the config.ini?
> 
> "calendar2" is the name of the local source config. Better stop thinking
> about it as "the name of the local config.ini", that's an implementation
> detail.
> 
> "database" is the property name.
> 
> "<calendar name>" is the local database name, as printed by
> "syncevolution" without parameters, so *not* calccc.
> 
> See http://syncevolution.org/documentation/syncevolution-usage for the
> terminology and the command line syntax.
> 
> > >               calendar2/uri=<second funambol uri for calendar> \
> 
> "calccc" would go here.
> 
> > >               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").
> > Do you mean, that the directory structure in my case is wrong and I have 
> > only 
> > ~/.config/syncevolution/funambol$
> 
> You should have ~/.config/syncevolution/default and beneath it entries
> for shared source definitions and peers, one of them "funambol". The
> example you are giving is out-dated, please don't create config files
> like that. Better start from scratch and let the command line create the
> right files.
> 
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to