While I can sync new events from the phone to file-sync just fine:

  lapse:~|master|.gpe% msynctool --sync madduck
  Synchronizing group "madduck"
  Member 2 of type file-sync just connected
  received event dsession
  received contact dsession
  received note dsession
  Member 1 of type syncml-obex-client just connected
  All clients connected or error
  Member 2 of type file-sync just sent all changes
  Received an reply to our Alert
  Received an reply to our Alert
  Received an reply to our Alert
  Going to receive 0 changes
  Going to receive 1 changes
  Going to receive 0 changes
  Received an entry 985 with data of size 4 from member 1 (syncml-obex-client). 
Changetype ADDED
  Member 1 of type syncml-obex-client just sent all changes
  All clients sent changes or error
  All conflicts have been reported
  Sent an entry 985-dupe of size 24 to member 2 (file-sync). Changetype ADDED
  Member 2 of type file-sync committed all changes.
  Member 2 of type file-sync just disconnected
  Received an reply to our sync
  Received an reply to our sync
  Received an reply to our sync
  Member 1 of type syncml-obex-client committed all changes.
  All clients have written
  Member 1 of type syncml-obex-client just disconnected
  All clients have disconnected
  The sync was successful

If I change a record locally, I cannot write it to the remote, but
get an error 415 instead:

  lapse:~|master|.gpe% msynctool --sync madduck
  Synchronizing group "madduck" 
  Member 2 of type file-sync just connected
  received event dsession
  received contact dsession
  received note dsession
  Member 1 of type syncml-obex-client just connected
  All clients connected or error
  Received an entry 1050 with data of size 4 from member 2 (file-sync). 
Changetype MODIFIED
  Member 2 of type file-sync just sent all changes
  Received an reply to our Alert
  Received an reply to our Alert
  Received an reply to our Alert
  Going to receive 0 changes
  Going to receive 0 changes
  Going to receive 0 changes
  Member 1 of type syncml-obex-client just sent all changes
  All clients sent changes or error
  All conflicts have been reported
  Member 2 of type file-sync committed all changes.
  Received an reply to our sync
  Received an reply to our sync
  Received an reply to our sync
  Error writing entry 1050 to member 1 (syncml-obex-client): Unable to commit 
change. Error 415
  Mapping Write Error: Unable to commit change. Error 415
  Member 1 of type syncml-obex-client committed all changes.
  All clients have written
  Member 1 of type syncml-obex-client just disconnected
  Member 2 of type file-sync just disconnected
  All clients have disconnected
  The sync failed: Unable to write one or more objects
  Error while synchronizing: Unable to write one or more objects

The web has not lead me to a solution. One person suggested setting
the maxObjSize to 100000 in the config (see attached), but that
doesn't seem to work either. Neither does 10000, nor setting the
recvLimit to 10000 too. Also, usestringtable has no effect on this
behaviour.

-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
<?xml version="1.0"?>
<config>
  <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is 
selected -->
  <bluetooth_address>00:21:FE:90:AC:31</bluetooth_address>

  <!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` 
to search for the correct channel -->
  <bluetooth_channel>10</bluetooth_channel>

  <!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use 
syncml-obex-client -u (you will need access to the USB raw device) to find it. 
-->
  <interface>0</interface>

  <!-- The string that the plugin will use to identify itself. Some devices 
need a special string here. -->
  <identifier>PC Suite</identifier>

  <!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->
  <version>1</version>

  <!-- if the plugin should use wbxml -->
  <wbxml>1</wbxml>

  <!-- The username to use. Leave empty to not require a username -->
  <username></username>

  <!-- the password for the username -->
  <password></password>

  <!-- sets the connection type to use. 5 means obex over usb, 2 means obex 
over bluetooth -->
  <type>2</type>

  <!-- If wbxml is enabled, defines wether the wbxml should use string tables 
-->
  <usestringtable>0</usestringtable>

  <!-- Never send ADD command, but send REPLACE (not needed normally) -->
  <onlyreplace>0</onlyreplace>

  <!-- Workaround around for mobile phones which only use local timestamps and 
_no_ UTC timestamps! -->
  <onlyLocaltime>0</onlyLocaltime>

  <!-- Sets the maximum allowed size in bytes of incoming messages (some device 
need this option set). Example: 10000 -->
  <recvLimit>0</recvLimit>

  <maxObjSize>100000</maxObjSize>

  <!-- The name of the contacts db. Must be the same as the phones sends -->
  <contact_db>Contacts</contact_db>

  <!-- The name of the calendar db. Must be the same as the phones sends -->
  <calendar_db>Calendar</calendar_db>

  <!-- The name of the note db. Must be the same as the phones sends -->
  <note_db>Notes</note_db>
</config>

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to