From: Jason G. <exp...@lo...> - 2009-11-03 10:01:34
|
Hello again, I'm using version 0.39 (full list at [1] below), and am getting an assertion failure shown at [2] every time I try and sync between obex and file. This happens even if I wipe out all previous history; i.e. I follow the sequence below: 1) Manually delete call contacts from my Nokia 6300 2) Delete everything under d:/predefsyncml 3) Reboot the phone 4) Ensure I have one simple contact in my "file" area 5) Run osynctool --sync with my obex/file config. Step (5) fails as shown at [2]. Not sure if this is relevant, but when I look at the trace files, I always see a CmdID of 10000, and the CDATA is empty. Sample shown at [3] below. I can provide a trace if required. Thanks for any tips, Jason. ---------------------------------- [1] versions used libopensync-0.39.tar.bz2 libopensync-plugin-evolution2-0.39.tar.bz2 libopensync-plugin-file-0.39.tar.bz2 libopensync-plugin-syncml-0.39.tar.bz2 libopensync-plugin-vformat-0.39.tar.bz2 libopensync-plugin-xmlformat-0.39.tar.bz2 libsyncml-0.5.4.tar.bz2 libwbxml-0.10.7.tar.bz2 osynctool-0.39.tar.bz2 ---------------------------------- [2] assertion failure ObjType: contact Member 1: Adding(1) Modifying(0) Deleting(0) Member 2: Adding(0) Modifying(0) Deleting(0) Do you want to continue the synchronization? (N/y): y OK! Completing synchronization! Main sink of member 1 of type syncml-obex-client committed all changes. contact sink of member 2 of type file-sync committed all changes. Main sink of member 2 of type file-sync committed all changes. /home/jas/opensync-0.39/libsyncml-0.5.4/libsyncml/data_sync_api/data_sync_callbacks.c:653:E:smlDataSyncMappingCallback: Assertion "datastore->dsObject->mappingCallback" failed Aborted ---------------------------------- [3] extract from trace [1257240682.611916] smlXmlAssemblerRunFull: Message Assembled: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "http://www.syncml.org/docs/syncml_represent_v11_20020213.dtd"><SyncML xmlns="SYNCML:SYNCML1.1"><SyncHdr><VerDTD>1.1</VerDTD><VerProto>SyncML/1.1</VerProto><SessionID>29186</SessionID><MsgID>2</MsgID><Target><LocURI>IMEI:359544018309256</LocURI></Target><Source><LocURI>PC Suite</LocURI></Source><Meta><MaxMsgSize xmlns="syncml:metinf">3584</MaxMsgSize></Meta></SyncHdr> <SyncBody><Status><CmdID>1</CmdID><MsgRef>2</MsgRef><CmdRef>0</CmdRef><Cmd>SyncHdr</Cmd><TargetRef>PC Suite</TargetRef><SourceRef>IMEI:359544018309256</SourceRef><Data>200</Data></Status> <Status><CmdID>8</CmdID><MsgRef>2</MsgRef><CmdRef>4</CmdRef><Cmd>Sync</Cmd><TargetRef>Contacts</TargetRef><SourceRef>/telecom/pb.vcf</SourceRef><Data>200</Data></Status> <Sync><CmdID>9</CmdID><Target><LocURI>/telecom/pb.vcf</LocURI></Target><Source><LocURI>Contacts</LocURI></Source><Meta><MaxObjSize xmlns="syncml:metinf">1024000</MaxObjSize></Meta><NumberOfChanges>1</NumberOfChanges> <Add><CmdID>10000</CmdID><Meta><Type xmlns="syncml:metinf">text/x-vcard</Type><Size xmlns="syncml:metinf">58</Size></Meta><Item><Source><LocURI>320</LocURI></Source><Data><![CDATA[]]></Data><MoreData></MoreData></Item> </Add></Sync><Final></Final></SyncBody></SyncML> |