From: Guillaume P. <gpo...@gm...> - 2006-02-16 18:39:48
|
> > Ouch. I think it is worth a bug ticket on www.opensync.org. As soon as opensync.org is back online... What's up with this server, it is unreacheable every other day? > > > > Ok, I think I will erase all the contacts from the phone and resync > > from scratch, with debugging enabled so that I might see what is being > > sent to the phone in the first place. > > Good. > So I erased all the contacts from the phone and left only one contact in Kontact so as to make debugging easier. It seems that the phone transforms the VCard it receives. Log pasted below, first part is the initial sync, second part is a subsequent slow-sync. My phone is a SonyEricsson K700i. Can it be a problem with opensync rather than with the phone? Well, I guess it's actually a problem with the phone... And I guess that this is not the only phone that improperly handles VCards (as the K700 is not a low-end phone with poor software). Is there something in the IrMC protocol that permits to choose the contact format? By the way, does anybody have the IrMC specs? I'm not going to pay to dowload them on irda.org... Here comes the logs. g Synchronizing group "g" [OSDB] INFORMATION: Unable create changes table! table tbl_changes already exists Member 1 of type kdepim-sync just connected Member 2 of type irmc-sync just connected All clients connected or error irmc_sync: syncing calendar irmc_sync: fastsync calendar retrieving 'telecom/cal/luid/5.log' irmc_sync: syncing addressbook irmc_sync: slowsync addressbook irmc_sync: syncing notebook irmc_sync: fastsync notebook retrieving 'telecom/nt/luid/0.log' [OSDB] INFORMATION: Unable create log table! table tbl_log already exists [xml-vcard] INFORMATION: Input Vcard is: BEGIN:VCARD FN:Sridhar N:Sridhar;;;; NAME:Sridhar REV:2006-02-06T17:30:36Z TEL;TYPE=3DCELL:+568XXXXXX UID:AMK3cRcTnK VERSION:2.1 END:VCARD [xml-vcard] INFORMATION: Output XML is: <?xml version=3D"1.0"?> <contact> <FullName> <Content>Sridhar</Content> </FullName> <Name> <LastName>Sridhar</LastName> </Name> <UnknownNode> <NodeName>NAME</NodeName> <Content>Sridhar</Content> </UnknownNode> <Revision> <Content>2006-02-06T17:30:36Z</Content> </Revision> <Telephone> <Content>+568XXXXXX</Content> <Type>CELL</Type> </Telephone> <Uid> <Content>AMK3cRcTnK</Content> </Uid> </contact> (hop) [OSYNC] WARNING: Format vcard21 don't have a destroy function. Possible memory leak Received a entry AMK3cRcTnK with data of size 4 from member 1. Changetype A= DDED Member 2 of type irmc-sync just sent all changes reporting notes libkcal-1962870999.521 input is output is Member 1 of type kdepim-sync just sent all changes All clients sent changes or error [OSDB] INFORMATION: Unable create log table! table tbl_log already exists All conflicts have been reported [xml-vcard] INFORMATION: Input XML is: <?xml version=3D"1.0"?> <contact> <FullName> <Content>Sridhar</Content> </FullName> <Name> <LastName>Sridhar</LastName> </Name> <UnknownNode> <NodeName>NAME</NodeName> <Content>Sridhar</Content> </UnknownNode> <Revision> <Content>2006-02-06T17:30:36Z</Content> </Revision> <Telephone> <Content>+568XXXXXX</Content> <Type>CELL</Type> </Telephone> <Uid> <Content>AMK3cRcTnK</Content> </Uid> </contact> [xml-vcard] INFORMATION: vcard output is: BEGIN:VCARD VERSION:2.1 FN:Sridhar N:Sridhar;;;; NAME:Sridhar TEL;CELL:+568XXXXXX END:VCARD [OSYNC] INFORMATION: Searching for sink [OSYNC] INFORMATION: Comparing change vcard21 with sink vcard21 change on object telecom/pb/luid/.vcf [OSYNC] INFORMATION: Sending changes to sink 0x8053a78:vcard30 [OSYNC] INFORMATION: Sending changes to sink 0x8053aa8:vcard21 [OSYNC] INFORMATION: Sending changes to sink 0x8053af8:vevent20 [OSYNC] INFORMATION: Sending changes to sink 0x8053b70:vtodo20 [OSYNC] INFORMATION: Sending changes to sink 0x8053be8:xml-note [OSYNC] INFORMATION: Sending committed all to sink 0x8053a78:vcard30 Member 1 of type kdepim-sync committed all changes. contact added request: resp=3D 00000000001B1 new_luid=3D00000000001B cc=3D1 [OSYNC] INFORMATION: Sending changes to sink 0x8066418:vcard21 [OSYNC] INFORMATION: Sending changes to sink 0x8066a80:vevent10 [OSYNC] INFORMATION: Sending changes to sink 0x8066ee8:vtodo20 [OSYNC] INFORMATION: Sending changes to sink 0x8066f40:vnote11 [OSYNC] INFORMATION: Sending committed all to sink 0x8066418:vcard21 Sent a entry 00000000001B of size 101 to member 2. Changetype ADDED Member 2 of type irmc-sync committed all changes. All clients have written Member 1 of type kdepim-sync just disconnected Member 2 of type irmc-sync just disconnected All clients have disconnected The sync was successful -------------------------------------------------------------------- Synchronizing group "g" [slow sync] [OSDB] INFORMATION: Unable create changes table! table tbl_changes already exists Member 1 of type kdepim-sync just connected Member 2 of type irmc-sync just connected All clients connected or error irmc_sync: syncing calendar irmc_sync: fastsync calendar retrieving 'telecom/cal/luid/10.log' irmc_sync: syncing addressbook irmc_sync: slowsync addressbook irmc_sync: syncing notebook irmc_sync: fastsync notebook retrieving 'telecom/nt/luid/0.log' reporting notes libkcal-1962870999.521 input is output is [OSDB] INFORMATION: Unable create log table! table tbl_log already exists [xml-vcard] INFORMATION: Input Vcard is: BEGIN:VCARD FN:Sridhar N:Sridhar;;;; NAME:Sridhar REV:2006-02-06T17:30:36Z TEL;TYPE=3DCELL:+568XXXXXX UID:AMK3cRcTnK VERSION:2.1 END:VCARD [xml-vcard] INFORMATION: Output XML is: <?xml version=3D"1.0"?> <contact> <FullName> <Content>Sridhar</Content> </FullName> <Name> <LastName>Sridhar</LastName> </Name> <UnknownNode> <NodeName>NAME</NodeName> <Content>Sridhar</Content> </UnknownNode> <Revision> <Content>2006-02-06T17:30:36Z</Content> </Revision> <Telephone> <Content>+568XXXXXX</Content> <Type>CELL</Type> </Telephone> <Uid> <Content>AMK3cRcTnK</Content> </Uid> </contact> (hop) [OSYNC] WARNING: Format vcard21 don't have a destroy function. Possible memory leak Received a entry AMK3cRcTnK with data of size 4 from member 1. Changetype A= DDED [OSDB] INFORMATION: Unable create log table! table tbl_log already exists [xml-vcard] INFORMATION: Input Vcard is: BEGIN:VCARD VERSION:2.1 N:;Sridhar FN:Sridhar TEL;CELL:+568XXXXXX X-IRMC-LUID:00000000001B END:VCARD [xml-vcard] INFORMATION: Output XML is: <?xml version=3D"1.0"?> <contact> <Name> <FirstName>Sridhar</FirstName> </Name> <FullName> <Content>Sridhar</Content> </FullName> <Telephone> <Content>+568XXXXXX</Content> <Type>CELL</Type> </Telephone> <UnknownNode> <NodeName>X-IRMC-LUID</NodeName> <Content>00000000001B</Content> </UnknownNode> </contact> (hop) [OSYNC] WARNING: Format vcard21 don't have a destroy function. Possible memory leak Received a entry 00000000001B with data of size 4 from member 2. Changetype ADDED Member 2 of type irmc-sync just sent all changes Member 1 of type kdepim-sync just sent all changes All clients sent changes or error [OSDB] INFORMATION: Unable create log table! table tbl_log already exists [MAP] INFORMATION: Got conflict for mapping 0x808d428 Conflict for Mapping 0x808d428: Entry 1: UID: 00000000001B <?xml version=3D"1.0"?> <contact> <Name> <FirstName>Sridhar</FirstName> </Name> <FullName> <Content>Sridhar</Content> </FullName> <Telephone> <Content>+568XXXXXX</Content> <Type>CELL</Type> </Telephone> <UnknownNode> <NodeName>X-IRMC-LUID</NodeName> <Content>00000000001B</Content> </UnknownNode> </contact> Entry 2: UID: AMK3cRcTnK <?xml version=3D"1.0"?> <contact> <FullName> <Content>Sridhar</Content> </FullName> <Name> <LastName>Sridhar</LastName> </Name> <UnknownNode> <NodeName>NAME</NodeName> <Content>Sridhar</Content> </UnknownNode> <Revision> <Content>2006-02-06T17:30:36Z</Content> </Revision> <Telephone> <Content>+568XXXXXX</Content> <Type>CELL</Type> </Telephone> <Uid> <Content>AMK3cRcTnK</Content> </Uid> </contact> Which entry do you want to use? [1-9] To select a side, [D]uplicate, [I]gnore, Keep [N]ewer: n Newest entry used Conflict not resolved: Unable to find the revision All conflicts have been reported |