Hi,

In attachment, you have screenshots to understand...

Record state table for: Tasks
  Index  RecordId    Dirty  RecType
-------  ----------  -----  -------
      1  0x3b67edc8    yes     0x02       00000000: 00 00 00
00                                     
      2  0x0340e20e     no     0x02       00000000: 00 00 00
00                                     
      3  0x0340f610     no     0x02       00000000: 00 00 00
00                                     


Then,


SocketZero::RawReceive: Endpoint 0
Received:
    00000000: 07 00 7c 00 40 01 44 02 01 00 c8 ed 67 3b 01
01  ..|....@.d.....g;..
    00000010: 00 01 74 0e 00 02 43 68 72 69 73 20 72 65 70
6f  ..t...Chris repo
    00000020: 72 74 20 00 04 00 09 01 00 00 00 04 00 0a 00 00
rt .............
    00000030: 00 00 04 00 10 69 00 00 00 04 00 06 e4 7d 6d
03  .....i.......}m.
    00000040: 04 00 08 01 00 00 00 04 00 05 e4 7d 6d 03 04
00  ...........}m...
    00000050: 12 01 00 00 00 04 00 0e 02 00 00 00 04 00 0f
b7  ................
    00000060: 7d 6d 03 12 00 0c 01 01 02 00 5c 7e 6d 03 e4
7d  }m........\~m..}
    00000070: 6d 03 00 00 00 00 00 00 01 00 1f 00
m...........

Task entry: 0x3b67edc8 (2)
   Summary: Chris report 
   Start Time: Mon May  4 17:00:00 2009
   Due Time: Mon May  4 17:00:00 2009
   Alarm Time: Mon May  4 16:15:00 2009
   Priority: High
   Status: In Progress
   Alarm Type: Relative
   Recurring: yes
      Every day.
      Interval: 2
      Ends: Mon May  4 17:00:00 2009
    Unknowns:
        Type: 0x12 Data:
    00000000: 01 00 00 00                                      ....
        Type: 0x1f Data:
    00000000: 00                                               .



BulkWrite to endpoint 2:
    00000000: 07 01 07 00 41 00 00                             ....A..

[...]


Store counted 3 records.




Regards,

Nicolas


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 Barry-devel@lists.sourceforge.net 
> > > > 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
> > Barry-devel@lists.sourceforge.net
> > 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
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel

-- 
Nicolas VIVIEN

<<attachment: screen1.png>>

<<attachment: screen2.png>>

------------------------------------------------------------------------------
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
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to