Package: libsyncml2
Version: 0.5.4-2
Severity: normal

osynctool works for syncing my Nokia 5230 to the filesystem, but attempts
to sync in the other direction fail.

1. sync 5230
2. create a new contact card in the filesytem
3. re sync:

$ osynctool --sync "Flo's Nokia" 
Synchronizing group "Flo's Nokia" 
contact sink of member 1 of type file-sync just connected
Main sink of member 1 of type file-sync just connected
Main sink of member 2 of type syncml-obex-client just connected
contact sink of member 2 of type syncml-obex-client just connected
All clients connected or error
Received an entry 2 (xmlformat-contact) from member 1 (file-sync). Changetype 
ADDED
contact sink of member 1 of type file-sync just sent all changes
Main sink of member 1 of type file-sync just sent all changes
Main sink of member 2 of type syncml-obex-client just sent all changes
contact sink of member 2 of type syncml-obex-client just sent all changes
All clients sent changes or error
All changes got mapped
All conflicts have been reported
All changes got multiplied
All changes got prepared for write

Synchronization Forecast Summary:

ObjType: contact
        Member 1: Adding(0) Modifying(0) Deleting(0)
        Member 2: Adding(1) Modifying(0) Deleting(0)

Do you want to continue the synchronization? (N/y): y

OK! Completing synchronization!
contact sink of member 1 of type file-sync committed all changes.
Main sink of member 1 of type file-sync committed all changes.
Main sink of member 2 of type syncml-obex-client committed all changes.
/build/mbanck-libsyncml_0.5.4-2-i386-tKDRHq/libsyncml-0.5.4/libsyncml/data_sync_api/data_sync_callbacks.c:653:E:smlDataSyncMappingCallback:
 Assertion "datastore->dsObject->mappingCallback" failed
Aborted

Here's the config:

Member 1 - file sync

<?xml version="1.0"?>
<config version="1.0">
  <Resources>
    <Resource>
      <Enabled>1</Enabled>
      <Formats>
        <Format>
          <Name>file</Name>
        </Format>
      </Formats>
      <ObjType>contact</ObjType>
      <Path>/home/john/Phones/Flo's Nokia/contacts</Path>
    </Resource>
  </Resources>
</config>


Member 2 - syncml-obex-client

<?xml version="1.0"?>
<config version="1.0">
  <AdvancedOptions>
    <AdvancedOption>
      <DisplayName>WBXML compression</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>WBXML</Name>
      <Type>bool</Type>
      <Value>1</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>SyncML Version</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>SANVersion</Name>
      <Type>string</Type>
      <ValEnum>1.2</ValEnum>
      <ValEnum>1.1</ValEnum>
      <ValEnum>1.0</ValEnum>
      <Value>1.1</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>AT Command</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>ATCommand</Name>
      <Type>string</Type>
      <Value></Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>Identifier</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>Identifier</Name>
      <Type>string</Type>
      <Value>PC Suite</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>AT Manufacturer</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>ATManufacturer</Name>
      <Type>string</Type>
      <Value></Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>AT Model</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>ATModel</Name>
      <Type>string</Type>
      <Value></Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>Only Replace (never send ADD command)</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>OnlyReplace</Name>
      <Type>bool</Type>
      <Value>0</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>Use local time</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>UseLocaltime</Name>
      <Type>bool</Type>
      <Value>0</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>Use String Tables</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>UseStringTable</Name>
      <Type>bool</Type>
      <Value>1</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>Max Message Size (SyncML: MaxMsgSize)</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>MaxMsgSize</Name>
      <Type>uint</Type>
      <Value>0</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>Max Object Size (SyncML: MaxObjSize)</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>MaxObjSize</Name>
      <Type>uint</Type>
      <Value>0</Value>
    </AdvancedOption>
    <AdvancedOption>
      <DisplayName>Use Timestamp Anchor</DisplayName>
      <MaxOccurs>2147483647</MaxOccurs>
      <Max>2147483647</Max>
      <Name>UseTimeAnchor</Name>
      <Type>bool</Type>
      <Value>1</Value>
    </AdvancedOption>
  </AdvancedOptions>
  <Authentication>
    <Username></Username>
    <Password></Password>
  </Authentication>
  <Connection>
    <ActiveConnection>Bluetooth</ActiveConnection>
    <Bluetooth>
      <MAC>C8:DF:7C:22:75:E7</MAC>
      <RFCommChannel>4</RFCommChannel>
      <SDPUUID>00000002-0000-1000-8000-0002ee000002</SDPUUID>
    </Bluetooth>
    <USB>
      <VendorID>1234</VendorID>
      <ProductID>5678</ProductID>
      <Interface>2</Interface>
    </USB>
  </Connection>
  <Resources>
    <Resource>
      <Enabled>1</Enabled>
      <Formats>
        <Format>
          <Name>vcard21</Name>
        </Format>
      </Formats>
      <Name>Contacts</Name>
      <ObjType>contact</ObjType>
    </Resource>
  </Resources>
</config>


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates'), (500, 'unstable'), 
(1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsyncml2 depends on:
ii  libbluetooth3               4.66-3       Library to use the BlueZ Linux Blu
ii  libc6                       2.11.2-10    Embedded GNU C Library: Shared lib
ii  libglib2.0-0                2.24.2-1     The GLib library of C routines
ii  libopenobex1                1.5-2        OBEX protocol library
ii  libsoup2.4-1                2.30.2-1     an HTTP library implementation in 
ii  libwbxml2-0                 0.10.7-1     WBXML parsing and encoding library
ii  libxml2                     2.7.8.dfsg-2 GNOME XML library

libsyncml2 recommends no packages.

libsyncml2 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to