|
From: deloptes <del...@ya...> - 2010-09-27 18:27:19
|
Hi, here is the next challenge. Could you look below (and if necessary I can send you the threads logs). I think this is a good progress, but still somehow unusable. Why is it failing at xml transformation? The problem as I see it, below, is that the calendar is reporting also the todos and the notes(vjournal). Can someone confirm? I didn't have time to have a closer look, but wanted to put it rather for discussion. What would be best to do here in our akonadi case? thanks and regards developer@lisa:~/kde-testdir$ osynctool --sync test2 Synchronizing group "test2" The previous synchronization was unclean. Slow-syncing akonadi_opensync(19670) AkonadiSink::initialize: akonadi_opensync(19670) SinkBase::wrapSink: akonadi_opensync(19670) SinkBase::wrapSink: >> m_canConnect: true akonadi_opensync(19670) SinkBase::wrapSink: >> m_canGetChanges: false akonadi_opensync(19670) akonadi_initialize: ### "event" akonadi_opensync(19670) DataSink::DataSink: Create obj: 0 akonadi_opensync(19670) DataSink::initialize: initializing event akonadi_opensync(19670) DataSink::initialize: TYPE 0 akonadi_opensync(19670) SinkBase::wrapSink: akonadi_opensync(19670) SinkBase::wrapSink: >> m_canConnect: false akonadi_opensync(19670) SinkBase::wrapSink: >> m_canGetChanges: true akonadi_opensync(19670) DataSink::initialize: >> NO hashtable for objtype: event akonadi_opensync(19670) akonadi_initialize: ### "contact" akonadi_opensync(19670) DataSink::DataSink: Create obj: 1 akonadi_opensync(19670) DataSink::initialize: initializing contact akonadi_opensync(19670) DataSink::initialize: TYPE 1 akonadi_opensync(19670) SinkBase::wrapSink: akonadi_opensync(19670) SinkBase::wrapSink: >> m_canConnect: false akonadi_opensync(19670) SinkBase::wrapSink: >> m_canGetChanges: true akonadi_opensync(19670) DataSink::initialize: Has objformat vcard30 akonadi_opensync(19670) DataSink::initialize: >> NO hashtable for objtype: contact Main sink of member 2 of type akonadi-sync just connected event sink of member 2 of type akonadi-sync just connected contact sink of member 2 of type akonadi-sync just connected Main sink of member 1 of type evo2-sync just connected event sink of member 1 of type evo2-sync just connected contact sink of member 1 of type evo2-sync just connected All clients connected or error akonadi_opensync(19670) DataSink::getChanges: DataSink::getChanges() called Received an entry 20100910T224822Z-11504-1010-1-2@lisa (xmlformat-event) from member 1 (evo2-sync). Changetype ADDED event sink of member 1 of type evo2-sync just sent all changes Received an entry pas-id-4C8AB59300000000 (xmlformat-contact) from member 1 (evo2-sync). Changetype ADDED contact sink of member 1 of type evo2-sync just sent all changes Main sink of member 1 of type evo2-sync just sent all changes akonadi_opensync(19670) DataSink::getChanges: Fetched FullPayload [akonadiserver] Database "akonadi" opened using driver "QMYSQL" akonadi_opensync(19670) DataSink::slotItemsReceived: retrieved 2 items akonadi_opensync(19670) DataSink::slotItemsReceived: "BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 BEGIN:VTODO DTSTAMP:20100927T175235Z ORGANIZER;CN="Deloptes":MAILTO:developer@lisa CREATED:20100917T231809Z UID:libkcal-1407423793.37 LAST-MODIFIED:20100917T231809Z SUMMARY:Finsh the pluging PRIORITY:5 DUE;VALUE=DATE:20100925 PERCENT-COMPLETE:0 END:VTODO END:VCALENDAR" akonadi_opensync(19670) DataSink::reportChange: 5 DATA: BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 BEGIN:VTODO DTSTAMP:20100927T175235Z ORGANIZER;CN="Deloptes":MAILTO:developer@lisa CREATED:20100917T231809Z UID:libkcal-1407423793.37 LAST-MODIFIED:20100917T231809Z SUMMARY:Finsh the pluging PRIORITY:5 DUE;VALUE=DATE:20100925 PERCENT-COMPLETE:0 END:VTODO END:VCALENDAR ORIG: BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 BEGIN:VTODO DTSTAMP:20100927T175235Z ORGANIZER;CN="Deloptes":MAILTO:developer@lisa CREATED:20100917T231809Z UID:libkcal-1407423793.37 LAST-MODIFIED:20100917T231809Z SUMMARY:Finsh the pluging PRIORITY:5 DUE;VALUE=DATE:20100925 PERCENT-COMPLETE:0 END:VTODO END:VCALENDAR akonadi_opensync(19670) DataSink::reportChange: changeid: 5 itemid: 5 revision: 1 changetype: 1 hash: objtype: event objform: vevent20 sinkname: event akonadi_opensync(19670) DataSink::slotItemsReceived: "BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 BEGIN:VJOURNAL DTSTAMP:20100927T175235Z ORGANIZER;CN="Deloptes":MAILTO:developer@lisa CREATED:20100919T021640Z UID:libkcal-1785285018.544 LAST-MODIFIED:20100919T021640Z DESCRIPTION:asdfasdf SUMMARY:test DTSTART;TZID=Europe/Vienna:20100916T041600 END:VJOURNAL END:VCALENDAR" akonadi_opensync(19670) DataSink::reportChange: 6 DATA: BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 BEGIN:VJOURNAL DTSTAMP:20100927T175235Z ORGANIZER;CN="Deloptes":MAILTO:developer@lisa CREATED:20100919T021640Z UID:libkcal-1785285018.544 LAST-MODIFIED:20100919T021640Z DESCRIPTION:asdfasdf SUMMARY:test DTSTART;TZID=Europe/Vienna:20100916T041600 END:VJOURNAL END:VCALENDAR ORIG: BEGIN:VCALENDAR PRODID:-//K Desktop Environment//NONSGML libkcal 3.2//EN VERSION:2.0 BEGIN:VJOURNAL DTSTAMP:20100927T175235Z ORGANIZER;CN="Deloptes":MAILTO:developer@lisa CREATED:20100919T021640Z UID:libkcal-1785285018.544 LAST-MODIFIED:20100919T021640Z DESCRIPTION:asdfasdf SUMMARY:test DTSTART;TZID=Europe/Vienna:20100916T041600 END:VJOURNAL END:VCALENDAR akonadi_opensync(19670) DataSink::reportChange: changeid: 6 itemid: 6 revision: 1 changetype: 1 hash: objtype: event objform: vevent20 sinkname: event akonadi_opensync(19670) DataSink::slotGetChangesFinished: got all changes.. akonadi_opensync(19670) SinkBase::success: akonadi_opensync(19670) SinkBase::success: /home/yoki/opensync/libopensync/opensync/plugin/opensync_context.c:138:E:osync_context_report_success: Assertion "context" failed element event: Schemas validity error : Element 'event': Missing child element(s). Expected is one of ( AlarmAudio, AlarmDisplay, AlarmEmail, AlarmProcedure, Attach, Attendee, CalendarScale, Categories, Class, Comment ). 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. element event: Schemas validity error : Element 'event': Missing child element(s). Expected is one of ( AlarmAudio, AlarmDisplay, AlarmEmail, AlarmProcedure, Attach, Attendee, CalendarScale, Categories, Class, Comment ). 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. event sink of member 2 of type akonadi-sync just sent all changes ERROR: Broken Pipe ERROR: Broken Pipe contact sink of member 2 of type akonadi-sync had an error: Broken Pipe ERROR: Fewer sink_engines reported get_changes than connected ERROR: Broken Pipe Main sink of member 2 of type akonadi-sync had an error: Broken Pipe ERROR: At least one object engine failed while getting changes. Aborting ERROR: At least one object engine failed while getting changes. Aborting The sync failed: At least one object engine failed while getting changes. Aborting ERROR: Engine aborting due to an error: At least one object engine failed while getting changes. Aborting ERROR: Trying to send to a queue thats not connected ERROR: Broken Pipe ERROR: Broken Pipe event sink of member 2 of type akonadi-sync had an error: Broken Pipe ERROR: Broken Pipe contact sink of member 2 of type akonadi-sync had an error: Broken Pipe ERROR: Broken Pipe ERROR: Disconnect. ERROR: Disconnect. Main sink of member 2 of type akonadi-sync had an error: Disconnect. event sink of member 1 of type evo2-sync just disconnected ERROR: Fewer sink_engines disconnected than connected contact sink of member 1 of type evo2-sync just disconnected ERROR: Fewer sink_engines disconnected than connected Main sink of member 1 of type evo2-sync just disconnected All clients have disconnected ERROR: error while synchronizing: NEXT ERROR: "Disconnect." NEXT ERROR: "At least one object engine failed while getting changes. Aborting" NEXT ERROR: "Broken Pipe" ROOT CAUSE: "Broken Pipe" EXIT_ERROR: osync_engine_synchronize_and_block: Disconnect. ERROR: Disconnect. ERROR: Disconnect. EXIT_ERROR: _osync_client_proxy_fin_handler: (null) |