|
From: deloptes <del...@ya...> - 2010-10-20 20:58:05
|
hi, everybody,
the good news. akonadi-sync improved and few fixes were applied, so now
syncing with contacts and events is almost perfect. However I have two
questions:
1) is note vs. contact a reserved word in <ObjType>contact</ObjType>. I
think I remeber I have read that few objtypes are supported ... but where?
I have event/todo/journal as members of calendar and notes as different type
in kde. This is still the same discussion as before. notes are not journal
notes or are they? I'm a bit lost here
2) I'm not sure why I get often errors while working on todo in the xml part
of opensync. I actually managed to sync once or twice todos, but still
from time to time there are errors as shown below. If some one has
experience it would be highly appreciated to give me advice.
To me it looks like 'AlarmDisplay' is not supported by xsd.
Regards
--------------------------
akonadi_opensync(15906) DataSink::reportChange: Id: 7295
akonadi_opensync(15906) DataSink::reportChange:
RemoteId: "libkcal-533583710.225"
akonadi_opensync(15906) DataSink::reportChange:
Mime: "application/x-vnd.akonadi.calendar.todo"
akonadi_opensync(15906) DataSink::reportChange: Revision: 0
akonadi_opensync(15906) DataSink::reportChange: StorageCollectionId: 22
akonadi_opensync(15906) DataSink::reportChange: Url:
KUrl("akonadi:?item=7295")
akonadi_opensync(15906) DataSink::reportChange: item.payloadData().data()
BEGIN:VCALENDAR
PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN
VERSION:2.0
BEGIN:VTODO
DTSTAMP:20101020T204624Z
ORGANIZER;CN="Deloptes":MAILTO:developer@lisa
CREATED:20101019T235801Z
UID:libkcal-533583710.225
LAST-MODIFIED:20101019T235801Z
DESCRIPTION:asdfasdf
SUMMARY:asdfasd
LOCATION:asdfasdf
PRIORITY:5
DUE;VALUE=DATE:20101027
PERCENT-COMPLETE:0
END:VTODO
END:VCALENDAR
akonadi_opensync(15906) DataSink::slotItemsReceived: slotItemsReceived done
akonadi_opensync(15906) DataSink::slotGetChangesFinished:
akonadi_opensync(15906) SinkBase::success:
akonadi_opensync(15906) DataSink::slotGetChangesFinished: got all changes
success().
Received an entry libkcal-1127466685.636 (xmlformat-todo) from member 2
(akonadi-sync). Changetype ADDED
element AlarmDisplay: Schemas validity error : Element 'AlarmDisplay': This
element is not expected. Expected is one of ( Alarm, Attach, Attendee,
CalendarScale, Categories, Class, Comment, Completed, Contact, Created ).
ERROR: XMLFormat validation failed.
EXIT_ERROR: osync_converter_invoke: XMLFormat validation failed.
EXIT_ERROR: osync_format_env_convert: XMLFormat validation failed.
Main sink of member 2 of type akonadi-sync had an error: XMLFormat
validation failed.
EXIT_ERROR: _osync_engine_receive_change: XMLFormat validation failed.
Received an entry libkcal-533583710.225 (xmlformat-todo) from member 2
(akonadi-sync). Changetype ADDED
todo sink of member 2 of type akonadi-sync just sent all changes
Main sink of member 2 of type akonadi-sync just sent all changes
akonadi_opensync(15912) DataSink::slotItemsReceived:
akonadi_opensync(15912) DataSink::slotItemsReceived: retrieved 9 items
--------------------------
[1287607172.329244]
>>>>>>> osync_xmlfield_sort(0x7f60dc007ab0)
[1287607172.329262]
<<<<<<< osync_xmlfield_sort
[1287607172.329275]
Attribute: "END", Component:"VTODOEND:VCALENDAR"
[1287607172.329287]
<<<<<<< vcalendar_parse_attributes: Done
[1287607172.329304]
>>>>>>> osync_xmlformat_sort(0x7f60dc000ee0)
[1287607172.329321]
<<<<<<< osync_xmlformat_sort
[1287607172.329363]
[SENSITIVE CONTENT HIDDEN]
[1287607172.329384]
<<<<<<< conv_vcalendar_to_xmlformat: TRUE
[1287607172.329399] <<<<<<<
Converter function. output_size: 56, output_data: 0x7f60dc000ee0
[1287607172.329412] >>>>>>>
validate_xmlformat(0x7f60dc000ee0, 56, 0x2231e30, 0x7f60e2aabc30)
[1287607172.329472] ERROR:
XMLFormat validation failed.
[1287607172.329489] <<<<<<<
validate_xmlformat: FALSE
[1287607172.329501] <--- ERROR ---
osync_converter_invoke: XMLFormat validation failed.
[1287607172.329520] <--- ERROR ---
osync_format_env_convert: XMLFormat validation failed.
[1287607172.329537] >>>>>>>
osync_status_update_member(0x213bea0, 0x1fb6650, 3, (null), 0x7f60dc007a60)
[1287607172.329551] >>>>>>>
member_status(0x7f60dc005f90, (nil))
[1287607172.329570] <<<<<<<
member_status
[1287607172.329583] <<<<<<<
osync_status_update_member
[1287607172.329595] <--- ERROR ---
_osync_engine_receive_change: XMLFormat validation failed.
[1287607172.329611] <<<<<<< _osync_client_proxy_message_handler
[1287607172.329625] <<<<<<< _incoming_dispatch: Done dispatching
[1287607172.329881] >>>>>>> _incoming_dispatch(0x2303a00)
|