[GroupDAV] Partial success in syncing Nokia N70 with OGo, some problems remain
Samuli Seppänen
groupdav@opengroupware.org
Mon, 09 Oct 2006 16:19:29 +0300
Hi!
I've managed to sync (partially) from OpenGroupware.org to Nokia N70
(and other Nokia models). I use Funambol 3.0 stable with GroupDAV plugin
v1.1.1700. My GroupDAV connector settings are shown below:
SyncML Source URI: ./kalenteri
GroupDAV URL: http://172.20.1.12:80/zidestore/
Server Source: /zidestore/dav/%USER%/Calendar
Store Location: /opt/Funambol/ds-server/db/calendar/
-----
The following WORKS:
- Creating an entry in OGo and syncing the entry to the the phone
- Modifying an entry in OGo and syncing the change to the phone
- Deleting an entry in OGo and syncing the change to the phone
- Deleting an entry in the phone and syncing the change to OGo
- In the funambol demo database (pimweb) everything seems to work 100%
both ways (Database="cal")
The following things DO NOT work:
- Creating an entry in the phone and syncing it to OGo
- Modifying an entry in the phone and syncing it to OGo
I had to do a dirty trick to get the Nokia working at all: I had to
replace the "Source URI" of the GroupDAV connector (originally
"kalenteri") with "./kalenteri". For some reason Nokia insisted on
requesting "./kalenteri" instead of "kalenteri".
If anybody has a clue of how I could fix this please let me know.
-----
Here are are the log entries, some of which are clear errors:
* ogo-zidestore-1.4-err.log
Oct 09 14:54:50 ogo-zidestore-1.4 [18599]: |SxUserFolder:johirv| Note:
class does not specify object for new key: 'Calendar65'
Oct 09 14:54:50 ogo-zidestore-1.4 [18599]: |SxUserFolder:johirv|
ERROR(-[SxFolder lookupName:inContext:acquire:]): got no record for key
Calendar65
I've noticed that some others have stumbled upon this error message, but
I could not find any solution for it.
* ogo-zidestore-1.4-out.log
172.16.0.133 - - [09/Oct/2006:14:54:49 GMT] "PROPFIND /zidestore/
HTTP/1.1" 207 4956 0.008 - - 0
172.16.0.133 - - [09/Oct/2006:14:54:50 GMT] "PROPFIND
/zidestore/dav/johirv/Calendar HTTP/1.1" 207 85 0.007 - - 0
172.16.0.133 - - [09/Oct/2006:14:54:50 GMT] "PUT
/zidestore/dav/johirv/Calendar65.ics HTTP/1.1" 404 195 0.002 - - 0
* This is the vcal entry the Nokia N70 sent during this sync, if it's
relevant:
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VEVENT
UID:65
SUMMARY:Appointment
DTSTART:20061012T080000
DTEND:20061012T082500
X-EPOCAGENDAENTRYTYPE:APPOINTMENT
CLASS:PRIVATE
LOCATION:Office
DCREATED:20061009T000000
LAST-MODIFIED:20061009T124200
PRIORITY:0
STATUS:NEEDS ACTION
END:VEVENT
END:VCALENDAR
If I delete entries from the phone's calendar I get (from tcpdump) the
following output:
DELETE /zidestore/dav/johirv/Calendar/190940.ics
DELETE /zidestore/dav/johirv/Calendar/190980.ics
DELETE /zidestore/dav/johirv/Calendar/191020.ics
DELETE /zidestore/dav/johirv/Calendar/191100.ics
DELETE /zidestore/dav/johirv/Calendar/191300.ics
DELETE /zidestore/dav/johirv/Calendar64
Deleting entries works both ways, as mentioned.
Best regards,
Samuli Seppänen