From: Stian J. <li...@jo...> - 2006-04-21 20:02:06
|
Hi, I've tried a little Calendar syncing with syncml and evo2-plugins... One huge problem, and one small problem. 1: When I create a calendar entry on the phone and sync it to Evolution, evolution-data-server crashes. And msynctool nevere finishes, so I don't get any traces :( This is the output: Synchronizing group "test2" received event dsession Member 1 of type syncml-http-server just connected Member 2 of type evo2-sync just connected All clients connected or error Member 2 of type evo2-sync just sent all changes Received an reply to our Alert Going to receive 0 changes Received a entry 1180 with data of size 286 from member 1. Changetype ADDED Member 1 of type syncml-http-server just sent all changes All clients sent changes or error All conflicts have been reported Received an reply to our sync Member 1 of type syncml-http-server committed all changes. connection with device has ended Error writing entry 1180 to member 2: Timeout while waiting for a reply to message "COMMIT_CHANGE" Mapping Write Error: Timeout while waiting for a reply to message "COMMIT_CHANGE" Member 1 of type syncml-http-server had an error while disconnecting: Timeout while waiting for a reply to message "DISCONNECT" How do I get a trace, so you can find out what happened? 2: I see that you've added a --addUTC to syncml-obex-client. I think I need that option for the syncml-http-server as well, since the contacts I sync from the Evo to the phone is two hours off... Other than that, just nitpicks which I'll save for later! Really great work! -Stian |
From: Armin B. <arm...@de...> - 2006-04-22 17:20:05
|
> Hi, > > I've tried a little Calendar syncing with syncml and evo2-plugins... On= e > huge problem, and one small problem. > > 1: > When I create a calendar entry on the phone and sync it to Evolution, > evolution-data-server crashes. And msynctool nevere finishes, so I don'= t > get any traces :( This is the output: > > Synchronizing group "test2" > received event dsession > Member 1 of type syncml-http-server just connected > Member 2 of type evo2-sync just connected > All clients connected or error > Member 2 of type evo2-sync just sent all changes > Received an reply to our Alert > Going to receive 0 changes > Received a entry 1180 with data of size 286 from member 1. Changetype > ADDED > Member 1 of type syncml-http-server just sent all changes > All clients sent changes or error > All conflicts have been reported > Received an reply to our sync > Member 1 of type syncml-http-server committed all changes. > connection with device has ended > Error writing entry 1180 to member 2: Timeout while waiting for a reply= to > message "COMMIT_CHANGE" > Mapping Write Error: Timeout while waiting for a reply to message > "COMMIT_CHANGE" > Member 1 of type syncml-http-server had an error while disconnecting: > Timeout while waiting for a reply to message "DISCONNECT" > > How do I get a trace, so you can find out what happened? A syncml trace will always work even if it crashes. Just type: export SYNCML_TRACE=3D/path/to/log/dir export OSYNC_TRACE=3D/path/to/log/dir then run msynctool from the same shell. the directory you specified then contains the trace files > > 2: > I see that you've added a --addUTC to syncml-obex-client. I think I nee= d > that option for the syncml-http-server as well, since the contacts I > sync from the Evo to the phone is two hours off... actually, you dont need it. trust me :) this option will get completely removed the next days anyways. Was there = a different problem then the crashing evo-data-server? Armin > > Other than that, just nitpicks which I'll save for later! > > Really great work! > > -Stian > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Opensync-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensync-users > > |
From: Stian J. <li...@jo...> - 2006-04-22 18:21:23
|
l=C3=B8r, 22,.04.2006 kl. 19.19 +0200, skrev Armin Bauer: > A syncml trace will always work even if it crashes. Just type: >=20 > export SYNCML_TRACE=3D/path/to/log/dir > export OSYNC_TRACE=3D/path/to/log/dir >=20 > then run msynctool from the same shell. the directory you specified then > contains the trace files As you've probably seen now, I found out my own stupidness (I had exported the variables in another shell :P), and sent it to the list. I'm sorry I have twice sent mails that are too big. Sorry. Tell me if you need something else. > > 2: > > I see that you've added a --addUTC to syncml-obex-client. I think I nee= d > > that option for the syncml-http-server as well, since the contacts I > > sync from the Evo to the phone is two hours off... >=20 > actually, you dont need it. trust me :) Hmm. Ok :) But multisync had an option called "Interpret UTC as local time (Symbian devices)". Which I needed then. If I create a calendar entry in Evolution from 10:00 to 11:00 it ends up in my phone from 8:00 to 10:00.=20 Sorry for flooding you and the mailinglist lately.=20 Best regards, Stian |
From: Stian J. <li...@jo...> - 2006-04-21 21:47:19
Attachments:
crash.tar.bz2
|
fre, 21,.04.2006 kl. 22.01 +0200, skrev Stian Jordet: > 1: > When I create a calendar entry on the phone and sync it to Evolution, > evolution-data-server crashes. And msynctool nevere finishes, so I don't > get any traces :( This is the output: I'm just stupid. Attached is trace from a sync which crashes e-d-s. -Stian |
From: Armin B. <arm...@de...> - 2006-04-23 15:10:47
Attachments:
signature.asc
test.ics
|
Stian Jordet wrote: > lør, 22,.04.2006 kl. 19.19 +0200, skrev Armin Bauer: >> A syncml trace will always work even if it crashes. Just type: >> >> export SYNCML_TRACE=/path/to/log/dir >> export OSYNC_TRACE=/path/to/log/dir >> >> then run msynctool from the same shell. the directory you specified then >> contains the trace files > > As you've probably seen now, I found out my own stupidness (I had > exported the variables in another shell :P), and sent it to the list. > I'm sorry I have twice sent mails that are too big. Sorry. > > Tell me if you need something else. yes, i would need a gdb backtrace as well. from the trace i can see that it crashes in the function where it tries to add the event to evo. Attached you will find the event. can you please manually import it to evo2 (its a icalendar) and see if it crashes then as well? > >>> 2: >>> I see that you've added a --addUTC to syncml-obex-client. I think I need >>> that option for the syncml-http-server as well, since the contacts I >>> sync from the Evo to the phone is two hours off... >> actually, you dont need it. trust me :) > > Hmm. Ok :) But multisync had an option called "Interpret UTC as local > time (Symbian devices)". Which I needed then. If I create a calendar > entry in Evolution from 10:00 to 11:00 it ends up in my phone from 8:00 > to 10:00. oh ok. i will put this on my todo. but the addUTC option did not do this anyways. > > Sorry for flooding you and the mailinglist lately. No problem (at least to me) :) Armin > > Best regards, > Stian > |
From: Stian J. <li...@jo...> - 2006-04-23 20:51:40
|
s=C3=B8n, 23,.04.2006 kl. 17.10 +0200, skrev Armin Bauer: > yes, i would need a gdb backtrace as well. from the trace i can see that > it crashes in the function where it tries to add the event to evo. I've had a hard time reproducing that crash again. Yesterday it happened _every_ time I tried, which was maybe ten times. Anyway, I had it crash once more (but wasn't running it trought gdb then): But after the crash it wanted to slow-sync, and said I had two duplicates (I only had two entries in the calendar at the time), but then it wouldn't complete. Output from that syncing here: ------------------- stianj@chevrolet:~$ msynctool --sync test2 --wait Synchronizing group "test2" The previous synchronization was unclean. Slow-syncing received event dsession Member 1 of type syncml-http-server just connected Member 2 of type evo2-sync just connected All clients connected or error Received a entry 20060423T202751Z-7298-1000-1-86@chevrolet with data of siz= e 4 from member 2. Changetype ADDED Received a entry 20060423T203029Z-4442-1000-1-71@chevrolet with data of siz= e 4 from member 2. Changetype ADDED Member 2 of type evo2-sync just sent all changes Received an reply to our Alert Going to receive 0 changes Received a entry 1194 with data of size 286 from member 1. Changetype MODIF= IED Received a entry 1195 with data of size 286 from member 1. Changetype MODIF= IED Member 1 of type syncml-http-server just sent all changes All clients sent changes or error Conflict for Mapping 0x8095230: Entry 1: UID: 1195 BEGIN:VCALENDAR VERSION:1.0 BEGIN:VEVENT UID:1195 SUMMARY:Test DTSTART:20060420T090000Z DTEND:20060420T100000Z X-EPOCAGENDAENTRYTYPE:APPOINTMENT CLASS:PUBLIC DCREATED:20060422T220000Z LAST-MODIFIED:20060423T202600Z PRIORITY:0 STATUS:NEEDS ACTION END:VEVENT END:VCALENDAR Entry 2: UID: 20060423T202751Z-7298-1000-1-86@chevrolet <?xml version=3D"1.0"?> <vcal> <Method> <Content>PUBLISH</Content> </Method> <Event> <Summary> <Content>Test</Content> </Summary> <DateStarted> <Content>20060420T100000Z</Content> </DateStarted> <DateEnd> <Content>20060420T110000Z</Content> </DateEnd> <Class> <Content>PRIVATE</Content> </Class> <DateCreated> <Content>20060423T202751</Content> </DateCreated> <LastModified> <Content>20060423T202833</Content> </LastModified> <Priority> <Content>0</Content> </Priority> <DateCalendarCreated> <Content>20060423T202751Z</Content> </DateCalendarCreated> <Transparency> <Content>OPAQUE</Content> </Transparency> <Sequence> <Content>1</Content> </Sequence> </Event> </vcal> Which entry do you want to use? [1-9] To select a side, [D]uplicate, [I]gno= re, Keep [N]ewer: n Newest entry used Conflict not resolved: No revision function set Conflict for Mapping 0x8095ab8: Entry 1: UID: 1194 BEGIN:VCALENDAR VERSION:1.0 BEGIN:VEVENT UID:1194 SUMMARY:Test DTSTART:20060423T210000Z DTEND:20060423T220000Z X-EPOCAGENDAENTRYTYPE:APPOINTMENT CLASS:PUBLIC DCREATED:20060422T220000Z LAST-MODIFIED:20060423T201900Z PRIORITY:0 STATUS:NEEDS ACTION END:VEVENT END:VCALENDAR Entry 2: UID: 20060423T203029Z-4442-1000-1-71@chevrolet <?xml version=3D"1.0"?> <vcal> <Method> <Content>PUBLISH</Content> </Method> <Event> <Summary> <Content>Test</Content> </Summary> <DateStarted> <Content>20060423T210000Z</Content> </DateStarted> <DateEnd> <Content>20060423T220000Z</Content> </DateEnd> <Class> <Content>PUBLIC</Content> </Class> <DateCreated> <Content>20060423T203029</Content> </DateCreated> <LastModified> <Content>20060423T203029</Content> </LastModified> <Priority> <Content>0</Content> </Priority> <DateCalendarCreated> <Content>20060423T203029Z</Content> </DateCalendarCreated> </Event> </vcal> Which entry do you want to use? [1-9] To select a side, [D]uplicate, [I]gno= re, Keep [N]ewer: n Newest entry used Conflict not resolved: No revision function set All conflicts have been reported ------------------- If you need trace output, I have that as well (but for once, I don't want to send them to list so the message will be moderated again..) > Attached you will find the event. can you please manually import it to > evo2 (its a icalendar) and see if it crashes then as well? This worked fine. I've been syncing a bit both ways now, and except for that one crash, it seems to work fine :) Two small things though: * Every appointment is two hours off... * When syncing all day events from Evo to the phone, they are created as normal appointments spanning all day. Other way around is fine. Best regards, Stian |