"evo_cal->uri" is OK
but in the function "osync_sink_state_equal":
old_value = osync_sink_state_get(sinkStateDB, key, error);
old_value isn't OK ! value is empty !
[1241333982.142468] >>>>>>>
osync_objtype_sink_connect(0x80807f8,
0x8080648, 0x81048f0)
[1241333982.142497] >>>>>>>
evo2_ecal_connect(0x80807f8, 0x8080648,
0x81048f0, 0x8084800)
[1241333982.150304] Comparing
source uri
file:///home/nicolas/.evolution/memos/local/system and
file:///home/nicolas/.evolution/memos/local/system
[1241333982.159745] <<<<<<<
evo2_ecal_open_cal
[1241333982.159845] >>>>>>>
osync_sink_state_equal(0x8089428, uri,
file:///home/nicolas/.evolution/memos/local/system, 0xb4800144,
0xb4800148)
[1241333982.159880] >>>>>>>
osync_sink_state_get(0x8089428,
0xb4800148)
[1241333982.159918] >>>>>>>
osync_db_query_single_string(0x80b3150, SELECT value FROM
tbl_sink_states WHERE key='uri' AND objtype='note', 0xb4800148)
[1241333982.160209] <<<<<<<
osync_db_query_single_string: no
result of query
[1241333982.160244] <<<<<<<
osync_sink_state_get:
[1241333982.160272] <<<<<<<
osync_sink_state_equal
[1241333982.160299] >>>>>>>
osync_sink_state_get(0x8089428,
0xb4800148)
[1241333982.160330] >>>>>>>
osync_db_query_single_string(0x80b3150, SELECT value FROM
tbl_sink_states WHERE key='uri' AND objtype='note', 0xb4800148)
[1241333982.160457] <<<<<<<
osync_db_query_single_string: no
result of query
[1241333982.160489] <<<<<<<
osync_sink_state_get:
[1241333982.160516] ECal slow sync, due to
anchor mismatch for
objtype "note"
[1241333982.160543] VIVIEN : uri -
file:///home/nicolas/.evolution/memos/local/system
[1241333982.160570] VIVIEN : old uri -
Only when you sync several objtype
Le samedi 02 mai 2009 à 16:37 -0400, Chris Frey a écrit :
> Hi Nicolas,
>
> I haven't had a chance to run any tests yet, but I suspect that they won't
> want to remove the state check, unless they know why it's failing first.
>
> Above those if statements, is the call:
>
> if (!osync_sink_state_equal(state_db, "uri", evo_cal->uri,
> &state_match, &error)) {
>
> This is correspondingly set in the function evo2_ecal_sync_done().
>
> Can you add some printf's and see why they are different at those two
> places when syncing 3 formats at once?
>
> - Chris
>
>
>
> On Sat, May 02, 2009 at 08:54:09PM +0200, Nicolas wrote:
> > In fact, I think that there is a bug in evolution opensync plugin !
> >
> > Indeed, you can't sync in the same time calendar, memos and tasks !
> >
> > I have applied this patch about evolution opensync plugin :
> >
> > Index: src/evolution2_ecal.c
> > ===================================================================
> > --- src/evolution2_ecal.c (r??vision 5634)
> > +++ src/evolution2_ecal.c (copie de travail)
> > @@ -102,10 +102,10 @@
> > osync_error_set(&error, OSYNC_ERROR_GENERIC, "Anchor comparison
> > failed for objtype \"%s\"", osync_objtype_sink_get_name(sink));
> > goto error_free_cal;
> > }
> > - if (!state_match) {
> > - osync_trace(TRACE_INTERNAL, "ECal slow sync, due to anchor
> > mismatch
> > for objtype \"%s\"", osync_objtype_sink_get_name(sink));
> > - osync_context_report_slowsync(ctx);
> > - }
> > +// if (!state_match) {
> > +// osync_trace(TRACE_INTERNAL, "ECal slow sync, due to anchor
> > mismatch
> > for objtype \"%s\"", osync_objtype_sink_get_name(sink));
> > +// osync_context_report_slowsync(ctx);
> > +// }
> >
> > osync_context_report_success(ctx);
> >
> > Otherwise you get always a slow-sync process.
> >
> >
> > Regards,
> >
> >
> > Le samedi 02 mai 2009 ?? 16:31 +0200, Nicolas a ??crit :
> > > Warning, I think that there is an issue if you enable all feature
> > > (contact, event, memo, task)...
> > >
> > > Regards,
> > >
> > > Le samedi 02 mai 2009 ?? 12:55 +0200, Nicolas a ??crit :
> > > > With the patch, it's better
> > > >
> > > > Le samedi 02 mai 2009 ?? 12:30 +0200, Nicolas a ??crit :
> > > > > Hi,
> > > > >
> > > > > Here a patch to sync task.
> > > > >
> > > > > Warning all BlackBerry fields aren't correctly mapped with Evolution.
> > > > >
> > > > > Sample, Task.StartTime and Task.DueTime are inverted.
> > > > > Moreover, on my BlackBerry Storm, I haven't the field StartTime !
> > > > >
> > > > > Task sync can be completed to add Alarm, recurrence... (I don't know
> > > > > if
> > > > > Evolution is able to manage these features)
> > > > >
> > > > > Regards,
> > > >
> > > > ------------------------------------------------------------------------------
> > > > Register Now & Save for Velocity, the Web Performance & Operations
> > > > Conference from O'Reilly Media. Velocity features a full day of
> > > > expert-led, hands-on workshops and two days of sessions from industry
> > > > leaders in dedicated Performance & Operations tracks. Use code vel09scf
> > > > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> > > > _______________________________________________ Barry-devel mailing
> > > > list [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/barry-devel
> >
> > --
> > Nicolas VIVIEN
> >
> >
> > ------------------------------------------------------------------------------
> > Register Now & Save for Velocity, the Web Performance & Operations
> > Conference from O'Reilly Media. Velocity features a full day of
> > expert-led, hands-on workshops and two days of sessions from industry
> > leaders in dedicated Performance & Operations tracks. Use code vel09scf
> > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> > _______________________________________________
> > Barry-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/barry-devel
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Barry-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/barry-devel
--
Nicolas VIVIEN
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel