[bugs] problem with caldav syncing

Hello,

- calcurse 4.2.1, Zimbra Release 8.0.9_GA_6191.RHEL6_64_20141103151557 RHEL6_64 FOSS edition.
- trying to set up caldav sync, never used before
- error output :

a. calcurse-caldav --init=keep-remote
warning: Dry run; nothing is imported/exported. Add "DryRun = No" to the
warning: [General] section in the configuration file to enable synchronization.
Connecting to mail.lauresfamily.fr...
Removing all local calcurse objects...
Importing new object 1850-1850.
Importing new object 1849-1849.
Importing new object 1847-1847.
Importing new object 1848-1848.
Importing new object 1851-1851.
Importing new object 1852-1852.
Saving synchronization database to /home/meme/.calcurse/caldav/sync.db...
0 items imported, 0 items removed locally.
0 items exported, 0 items removed from the server.

Sounds nice.

b. calcurse-caldav --init=keep-remote
Connecting to mail.lauresfamily.fr...
Removing all local calcurse objects...
Importing new object 1850-1850.
Importing new object 1849-1849.
Importing new object 1847-1847.
Importing new object 1848-1848.
Importing new object 1851-1851.
Importing new object 1852-1852.
Pushing new object e920e173d4b6cdfb1fbb37ba455f1e9c138e7fac to the server.
Pushing new object 52598c0fb30ad49fc203262c0becc18a3888a6bb to the server.
Pushing new object 236f48097a77ad409ce651897c098f4131a4f186 to the server.
Pushing new object 4c952e994b137568cd4b7733fd3e6be3e8739a76 to the server.
Pushing new object 84e8936eb6e7135893cb08c102449e58189867d6 to the server.
Removing remote object 1850-1850 (/dav/meme@xxxxxxxxxxxxxxx/Calendar/b68447d9-ac52-4868-b312-3889f753631f.1479361338377.ics).
Removing remote object 1849-1849 (/dav/meme@xxxxxxxxxxxxxxx/Calendar/73e07335-4be8-492f-9b71-68bd028c8029.1479361188672.ics).
Removing remote object 1851-1851 (/dav/meme@xxxxxxxxxxxxxxx/Calendar/d4471577-55dc-4c1b-8025-ed7fdcf54143.ics).
Removing remote object 1848-1848 (/dav/meme@xxxxxxxxxxxxxxx/Calendar/21e14478-0834-46ef-acfa-450290a9e1d0.1479361188298.ics).
Removing remote object 1852-1852 (/dav/meme@xxxxxxxxxxxxxxx/Calendar/bfdc3c4b-3660-45d5-bc57-d7a08b6998a7.ics).
Saving synchronization database to /home/meme/.calcurse/caldav/sync.db...
6 items imported, 0 items removed locally.
5 items exported, 5 items removed from the server.

Here I wonder why it is pushing objects to the server... the db is emtpy. So I only have a few appointments on the caldav server. Shouldn't calcurse only import stuff in this case ?
Apparently the UIds were modified, and the timezone as well. But in appeareance, all is fine on both sides : appointments seem unmodified in zimbra, 

c. calcurse-caldavcalcurse-caldav
Connecting to mail.lauresfamily.fr...
Loading synchronization database from /home/meme/.calcurse/caldav/sync.db...
Traceback (most recent call last):
  File "/home/meme/bin/calcurse-caldav", line 522, in <module>
    local_new, local_del = pull_objects(conn, syncdb, etagdict)
  File "/home/meme/bin/calcurse-caldav", line 306, in pull_objects
    root = etree.fromstring(body)
  File "/usr/lib64/python3.4/xml/etree/ElementTree.py", line 1336, in XML
    return parser.close()
xml.etree.ElementTree.ParseError: no element found: line 3, column 0

If I run the sync again (without --init), without changing anything on both sides, it crashes

d. calcurse-caldav
Connecting to mail.lauresfamily.fr...
Loading synchronization database from /home/meme/.calcurse/caldav/sync.db...
Importing new object 1874-1874.
Pushing new object 3300f6818e4553742c3c4f08393122452be350e5 to the server.
Removing remote object 1874-1874 (/dav/meme@xxxxxxxxxxxxxxx/Calendar/b8755306-32b6-4076-b515-fa41c8977c78.ics).
Saving synchronization database to /home/meme/.calcurse/caldav/sync.db...
1 items imported, 0 items removed locally.
1 items exported, 1 items removed from the server.

If a add an appointment on the server, it works however. but again we see export/remove on the server

Any idea ?

Thanks

Links