Hi,
I want to synchronise a local agenda of KDE's Korganizer-kontact with my Nokia N900
native calendar: using the file-backend.
I succeeded in synchronising the N900-calendar with a small test-calendar in a file
called calendar.ics. Hence I know Syncevolution on my desktop system now
communicates fine over BT with the Nokia built-in SyncML server.
When replacing the calendar.ics file with the larger
actual calendar+journal+todo file from kontact, things
stop working, e.g:
First ERROR encountered: calendar: retrieving item:
20080907T221411Z-10975-1000-1-48@freyja-rid
Besides VEVENT-s, the kontact calendar.ics file also contains VTODO and VJOURNAL items.
These seem to be the problem: When I remove these with a plain text-editor, all 707
calendar-events are transferred properly to the N900 and subsequent synchronisation tests
are succesfull enough.
A few things could be wrong:
1) for this calendar with multiple types I need to select another backend than:
type=calendar:text/calendar or type=calendar:text/x-vcalendar
Obviously this backend should ignore VTODOs and VJOURNAL items when
requested.
2) VTODO items are loaded by the backend, but since I am not yet interested
in them (first things first: the calendar) I did not configure to send to
a proper place (in the N900, or some /dev/null for now) thereby also
causing this lethal error.
3) Something else.
Any Solutions?
Furthermor: it took me some carefull searching to find the specific N900 uri-feature:
uri=Calendar (the capital C), are these exact uri's documented somewhere or can they
be retreived from somewhere on the phone itself (e.g. a plain-text config
file, or some Nokia technical document)?
For completeness: Config @ Debian (syncevolution 1.1.1 )
*********
[hansdej@debian]>syncevolution --print-config MyPhone |grep -v ^# |grep -v ^$
syncURL = obex-bt://XX:XX:XX:XX:XX:XX
username = user
password = -
loglevel = 4
remoteIdentifier = PC Suite
PeerIsClient = 1
PeerName = MyPhone
deviceId = syncevolution-some-weird-number
remoteDeviceId = IMEI:XXXXXXXXXXXXXXX
enableWBXML = 1
ConsumerReady = 1
[addressbook]
sync = disabled
type = addressbook
uri = addressbook
[calendar]
sync = two-way
type = file:text/calendar
evolutionsource = file:///home/hansdej/.SyncEvolutionData/
uri = Calendar
[calendar+todo]
sync = disabled
type = virtual:text/calendar
evolutionsource = calendar,todo
uri = calendar+todo
[memo]
sync = disabled
type = memo
uri = memo
[todo]
sync = disabled
type = calendar:text/calendar
evolutionsource = file:///home/hansdej/.SyncEvolutionData/
uri = todo
*******