Contact sync doesn't work (Bug #879)


Added by Simon Busch over 2 years ago. Updated over 2 years ago.


Status:Closed Start date:03/25/2015
Priority:Normal Due date:
Assignee:Achim Königs % Done:

100%

Category:System Services
Target version:Bombon

Description

After adding a new Google Account and pressing the Sync button in the C+Dav app this appears in the journal and contacts are never synced

Mar 25 03:18:37 mako ls-hubd[772]: MojoService: no activity passed in, creating sync_1
Mar 25 03:18:37 mako ls-hubd[772]: deferring command until adopt completes
Mar 25 03:18:37 mako ls-hubd[772]: MojoService: started new activity: sync_1
Mar 25 03:18:37 mako ls-hubd[772]: **************************START SERVICEASSISTANT 0.3.25 *****************************
Mar 25 03:18:37 mako ls-hubd[772]: ------------------->accountId: 0
Mar 25 03:18:37 mako ls-hubd[772]: ------------------->launchConfig: {"name":"sync","assistant":"SyncAssistant","public":true}
Mar 25 03:18:37 mako ls-hubd[772]: ------------------->launchArgs: {"accountId":"JH4v3IIpyOg"}
Mar 25 03:18:37 mako ls-hubd[772]: Starting sync for account JH4v3IIpyOg from activity  with capacity
Mar 25 03:18:37 mako ls-hubd[772]: Setting general kinds...
Mar 25 03:18:37 mako ls-hubd[772]: Activity event start
Mar 25 03:18:37 mako ls-hubd[772]: iCal initialized
Mar 25 03:18:37 mako ls-hubd[772]: vCard initialized
Mar 25 03:18:37 mako ls-hubd[772]: Getting credentials.
Mar 25 03:18:37 mako ls-hubd[773]: SERVICE_PATH is /usr/palm/services/com.palm.keymanager
Mar 25 03:18:38 mako LunaSysMgr[1413]: Unknown keyword: optional
Mar 25 03:18:38 mako LunaWebAppManager[2611]: DEBUG: 03:18:38.399: void luna::PalmSystemExtension::removeBannerMessage(int)
Mar 25 03:18:38 mako ls-hubd[773]: Starting to load libraries
Mar 25 03:18:38 mako ls-hubd[773]: --------->Loaded Libraries OK1
Mar 25 03:18:38 mako ls-hubd[773]: Private Bus Access: undefined
Mar 25 03:18:38 mako LunaSysMgr[1413]: json_object_from_file: error reading file /var/luna/data/.passcode: No such file or directory
Mar 25 03:18:38 mako ls-hubd[773]: Sending on private bus
Mar 25 03:18:38 mako ls-hubd[773]: >>>Running ServiceAssistant setup
Mar 25 03:18:38 mako ls-hubd[773]: setup finished 1427267918690
Mar 25 03:18:38 mako ls-hubd[773]: _dispatchCommand
Mar 25 03:18:38 mako ls-hubd[773]: MojoService: no activity passed in, creating initialize_0
Mar 25 03:18:38 mako ls-hubd[773]: _dispatchCommand
Mar 25 03:18:38 mako ls-hubd[773]: MojoService: no activity passed in, creating fetchKey_1
Mar 25 03:18:38 mako ls-hubd[773]: Read key with length 256 from file.
Mar 25 03:18:38 mako ls-hubd[773]: MojoService: started new activity: initialize_0
Mar 25 03:18:38 mako ls-hubd[773]: Activity event start
Mar 25 03:18:38 mako ls-hubd[773]: MojoService: started new activity: fetchKey_1
Mar 25 03:18:38 mako ls-hubd[773]: Activity event start
Mar 25 03:18:38 mako ls-hubd[773]: deferring command until adopt completes
Mar 25 03:18:38 mako ls-hubd[773]: completing/unsubscribing activity initialize_0
Mar 25 03:18:38 mako ls-hubd[773]: deferring command until adopt completes
Mar 25 03:18:38 mako ls-hubd[773]: AppId  org.webosports.cdav.service  from    &&  org.webosports.cdav.service
Mar 25 03:18:38 mako ls-hubd[773]: completing/unsubscribing activity fetchKey_1
Mar 25 03:18:38 mako ls-hubd[772]: Error: palm://com.palm.keymanager/fetchKey {"keyname":"Skg0djNJSXB5T2c="}: Key not found.; innerError: "[object Object]" 
Mar 25 03:18:38 mako ls-hubd[772]: at Error (<anonymous>)
Mar 25 03:18:38 mako ls-hubd[772]: at Object.exports.Err.create (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:1365)
Mar 25 03:18:38 mako ls-hubd[772]: at /usr/palm/frameworks/foundations/version/1.0/node_module.js:1:35436
Mar 25 03:18:38 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11037)
Mar 25 03:18:38 mako ls-hubd[772]: at d [as _onTimeout] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:16017)
Mar 25 03:18:38 mako ls-hubd[772]: at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Mar 25 03:18:38 mako ls-hubd[772]: ------------->Got Key
Mar 25 03:18:38 mako ls-hubd[772]: AUTH CHECK STARTING.
Mar 25 03:18:38 mako ls-hubd[772]: TypeError: Cannot read property 'oauth' of undefined
Mar 25 03:18:38 mako ls-hubd[772]: at Object.AuthManager.checkAuth (/usr/palm/services/org.webosports.cdav.service/javascript/utils/AuthManager.js:121:16)
Mar 25 03:18:38 mako ls-hubd[772]: at c.getKeyCB (javascript/assistants/serviceassistant.js:155:20)
Mar 25 03:18:38 mako ls-hubd[772]: at Future._maybeDispatch (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11948)
Mar 25 03:18:38 mako ls-hubd[772]: at Future.exports.Control.Future [as exception] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:13374)
Mar 25 03:18:38 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11679)
Mar 25 03:18:38 mako ls-hubd[772]: at Future._maybeDispatch (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11948)
Mar 25 03:18:38 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11284)
Mar 25 03:18:38 mako ls-hubd[772]: at d [as _onTimeout] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:16017)
Mar 25 03:18:38 mako ls-hubd[772]: at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Mar 25 03:18:38 mako ls-hubd[772]: state __uninitialized -> event sync
Mar 25 03:18:38 mako ls-hubd[772]: state __uninitialized -> event __any
Mar 25 03:18:38 mako ls-hubd[772]: Q:  normal sync
Mar 25 03:18:38 mako ls-hubd[772]: state __uninitialized -> change to -> __start
Mar 25 03:18:38 mako ls-hubd[772]: state __start -> change to -> restart
Mar 25 03:18:38 mako ls-hubd[772]: state restart -> event gotReply
Mar 25 03:18:38 mako ls-hubd[772]: state restart -> change to -> unauthorized
Mar 25 03:18:38 mako ls-hubd[772]: UQ sync
Mar 25 03:18:38 mako ls-hubd[772]: state unauthorized -> event sync
Mar 25 03:18:38 mako ls-hubd[772]: Q:  normal sync
Mar 25 03:18:38 mako ls-hubd[772]: state unauthorized -> change to -> authorized
Mar 25 03:18:38 mako ls-hubd[772]: UQ sync
Mar 25 03:18:38 mako ls-hubd[772]: state authorized -> event sync
Mar 25 03:18:38 mako ls-hubd[772]: state authorized -> change to -> waitForComplete
Mar 25 03:18:38 mako ls-hubd[772]: _dispatchCommand
Mar 25 03:18:38 mako ls-hubd[772]: MojoService: no activity passed in, creating getAccountInfo_22
Mar 25 03:18:38 mako ls-hubd[772]: deferring command until adopt completes
Mar 25 03:18:38 mako ls-hubd[772]: MojoService: started new activity: getAccountInfo_22
Mar 25 03:18:38 mako ls-hubd[772]: Activity event start
Mar 25 03:18:38 mako ls-hubd[772]: completing/unsubscribing activity getAccountInfo_22
Mar 25 03:18:38 mako ls-hubd[772]: _dispatchCommand
Mar 25 03:18:38 mako ls-hubd[772]: MojoService: no activity passed in, creating sync_2
Mar 25 03:18:38 mako ls-hubd[772]: deferring command until adopt completes
Mar 25 03:18:38 mako ls-hubd[772]: MojoService: started new activity: sync_2
Mar 25 03:18:38 mako ls-hubd[772]: **************************START SERVICEASSISTANT 0.3.25 *****************************
Mar 25 03:18:38 mako ls-hubd[772]: ------------------->accountId: 0
Mar 25 03:18:38 mako ls-hubd[772]: ------------------->launchConfig: {"name":"sync","assistant":"SyncAssistant","public":true}
Mar 25 03:18:38 mako ls-hubd[772]: ------------------->launchArgs: {"accountId":"JH4v3IIpyOg","capability":"CONTACTS"}
Mar 25 03:18:38 mako ls-hubd[772]: Starting sync for account JH4v3IIpyOg from activity  with capacity CONTACTS
Mar 25 03:18:38 mako ls-hubd[772]: Setting Kinds to Contacts
Mar 25 03:18:38 mako ls-hubd[772]: Activity event start
Mar 25 03:18:38 mako ls-hubd[772]: iCal initialized
Mar 25 03:18:38 mako ls-hubd[772]: vCard initialized
Mar 25 03:18:38 mako ls-hubd[772]: Getting credentials.
Mar 25 03:18:38 mako ls-hubd[773]: _dispatchCommand
Mar 25 03:18:38 mako ls-hubd[773]: MojoService: no activity passed in, creating fetchKey_2
Mar 25 03:18:38 mako ls-hubd[773]: deferring command until adopt completes
Mar 25 03:18:38 mako ls-hubd[773]: MojoService: started new activity: fetchKey_2
Mar 25 03:18:38 mako ls-hubd[773]: AppId  org.webosports.cdav.service  from    &&  org.webosports.cdav.service
Mar 25 03:18:38 mako ls-hubd[773]: Activity event start
Mar 25 03:18:38 mako ls-hubd[773]: completing/unsubscribing activity fetchKey_2
Mar 25 03:18:38 mako ls-hubd[772]: Error: palm://com.palm.keymanager/fetchKey {"keyname":"Skg0djNJSXB5T2c="}: Key not found.; innerError: "[object Object]" 
Mar 25 03:18:38 mako ls-hubd[772]: at Error (<anonymous>)
Mar 25 03:18:38 mako ls-hubd[772]: at Object.exports.Err.create (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:1365)
Mar 25 03:18:38 mako ls-hubd[772]: at /usr/palm/frameworks/foundations/version/1.0/node_module.js:1:35436
Mar 25 03:18:38 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11037)
Mar 25 03:18:38 mako ls-hubd[772]: at d [as _onTimeout] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:16017)
Mar 25 03:18:38 mako ls-hubd[772]: at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Mar 25 03:18:38 mako ls-hubd[772]: ------------->Got Key
Mar 25 03:18:38 mako ls-hubd[772]: AUTH CHECK STARTING.
Mar 25 03:18:38 mako ls-hubd[772]: TypeError: Cannot read property 'oauth' of undefined
Mar 25 03:18:38 mako ls-hubd[772]: at Object.AuthManager.checkAuth (/usr/palm/services/org.webosports.cdav.service/javascript/utils/AuthManager.js:121:16)
Mar 25 03:18:38 mako ls-hubd[772]: at c.getKeyCB (javascript/assistants/serviceassistant.js:155:20)
Mar 25 03:18:38 mako ls-hubd[772]: at Future._maybeDispatch (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11948)
Mar 25 03:18:38 mako ls-hubd[772]: at Future.exports.Control.Future [as exception] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:13374)
Mar 25 03:18:38 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11679)
Mar 25 03:18:38 mako ls-hubd[772]: at Future._maybeDispatch (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11948)
Mar 25 03:18:38 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11284)
Mar 25 03:18:38 mako ls-hubd[772]: at d [as _onTimeout] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:16017)
Mar 25 03:18:38 mako ls-hubd[772]: at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Mar 25 03:18:38 mako ls-hubd[772]: state __uninitialized -> event sync
Mar 25 03:18:38 mako ls-hubd[772]: state __uninitialized -> event __any
Mar 25 03:18:38 mako ls-hubd[772]: Q:  normal sync
Mar 25 03:18:38 mako ls-hubd[772]: state __uninitialized -> change to -> __start
Mar 25 03:18:38 mako ls-hubd[772]: state __start -> change to -> restart
Mar 25 03:18:38 mako ls-hubd[772]: state restart -> event gotReply
Mar 25 03:18:38 mako ls-hubd[772]: state restart -> change to -> unauthorized
Mar 25 03:18:38 mako ls-hubd[772]: UQ sync
Mar 25 03:18:38 mako ls-hubd[772]: state unauthorized -> event sync
Mar 25 03:18:38 mako ls-hubd[772]: Q:  normal sync
Mar 25 03:18:38 mako ls-hubd[772]: state unauthorized -> change to -> authorized
Mar 25 03:18:38 mako ls-hubd[772]: UQ sync
Mar 25 03:18:38 mako ls-hubd[772]: state authorized -> event sync
Mar 25 03:18:38 mako ls-hubd[772]: state authorized -> change to -> waitForComplete
Mar 25 03:18:38 mako ls-hubd[772]: Error fetching capabilityProviderId from client
Mar 25 03:18:38 mako ls-hubd[772]: CapabilityId is empty, allowing sync to continue
Mar 25 03:18:38 mako ls-hubd[772]: state __uninitialized -> change to -> __start
Mar 25 03:18:38 mako ls-hubd[772]: >>> clearSyncStatus(): manager not fully configured; not clearing state
Mar 25 03:18:38 mako ls-hubd[772]: >>> setSyncStatus(): manager not fully configured; not setting state
Mar 25 03:18:38 mako ls-hubd[772]: state __start -> event gotReply
Mar 25 03:18:38 mako ls-hubd[772]: state __start -> change to -> getFirstRemoteChanges
Mar 25 03:18:38 mako ls-hubd[772]: >>> kindName=contactset
Mar 25 03:18:38 mako ls-hubd[772]: >>> kind="org.webosports.cdav.contactset:1" 
Mar 25 03:18:38 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:38 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:38 mako ls-hubd[772]: state getFirstRemoteChanges -> change to -> getMoreRemoteChanges
Mar 25 03:18:38 mako ls-hubd[772]: getMoreRemoteChanges
Mar 25 03:18:38 mako ls-hubd[772]: **************************SyncAssistant:getRemoteChanges*****************************
Mar 25 03:18:38 mako ls-hubd[772]: No userAuth information. Something wrong with keystore. Can't authenticate with server.
Mar 25 03:18:38 mako ls-hubd[772]: state getMoreRemoteChanges -> event gotReply
Mar 25 03:18:38 mako ls-hubd[772]: state getMoreRemoteChanges -> change to -> getLocalMatches
Mar 25 03:18:38 mako ls-hubd[772]: getLocalMatches
Mar 25 03:18:38 mako ls-hubd[772]: state getLocalMatches -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state getLocalMatches -> change to -> mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: state mergeRemoteChanges -> change to -> preSaveModifyStep
Mar 25 03:18:39 mako ls-hubd[772]: preSaveModify
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> change to -> writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: >>>>>putObjects, count=0
Mar 25 03:18:39 mako ls-hubd[772]: return from reserveIds()
Mar 25 03:18:39 mako ls-hubd[772]: return from del()
Mar 25 03:18:39 mako ls-hubd[772]: return from put()
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> change to -> nextType
Mar 25 03:18:39 mako ls-hubd[772]: nextType
Mar 25 03:18:39 mako ls-hubd[772]: >>> this._kindIndex = 0, this._kinds.syncOrder.length-1=1
Mar 25 03:18:39 mako ls-hubd[772]: state nextType -> change to -> getFirstRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: >>> kindName=contact
Mar 25 03:18:39 mako ls-hubd[772]: >>> kind="org.webosports.cdav.contact:1" 
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant:_getObjectTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant:_getObjectTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: ==========================> allowUpsync: false for contact
Mar 25 03:18:39 mako ls-hubd[772]: state getFirstRemoteChanges -> change to -> getMoreRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: getMoreRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant:getRemoteChanges*****************************
Mar 25 03:18:39 mako ls-hubd[772]: No userAuth information. Something wrong with keystore. Can't authenticate with server.
Mar 25 03:18:39 mako ls-hubd[772]: state getMoreRemoteChanges -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state getMoreRemoteChanges -> change to -> getLocalMatches
Mar 25 03:18:39 mako ls-hubd[772]: getLocalMatches
Mar 25 03:18:39 mako ls-hubd[772]: state getLocalMatches -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state getLocalMatches -> change to -> mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: state mergeRemoteChanges -> change to -> preSaveModifyStep
Mar 25 03:18:39 mako ls-hubd[772]: preSaveModify
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> change to -> writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: >>>>>putObjects, count=0
Mar 25 03:18:39 mako ls-hubd[772]: return from reserveIds()
Mar 25 03:18:39 mako ls-hubd[772]: return from del()
Mar 25 03:18:39 mako ls-hubd[772]: return from put()
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> change to -> nextType
Mar 25 03:18:39 mako ls-hubd[772]: nextType
Mar 25 03:18:39 mako ls-hubd[772]: >>> this._kindIndex = 1, this._kinds.syncOrder.length-1=1
Mar 25 03:18:39 mako ls-hubd[772]: state nextType -> change to -> updateAccount
Mar 25 03:18:39 mako ls-hubd[772]: updateAccount
Mar 25 03:18:39 mako ls-hubd[772]: state updateAccount -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state updateAccount -> change to -> success
Mar 25 03:18:39 mako ls-hubd[772]: success
Mar 25 03:18:39 mako ls-hubd[772]: >>> clearSyncStatus(): manager not fully configured; not clearing state
Mar 25 03:18:39 mako ls-hubd[772]: synccommand(success): __enter
Mar 25 03:18:39 mako ls-hubd[772]: Sync came back: {}
Mar 25 03:18:39 mako ls-hubd[772]: client:commandComplete 1
Mar 25 03:18:39 mako ls-hubd[772]: completing command
Mar 25 03:18:39 mako ls-hubd[772]: state waitForComplete -> event __commandComplete
Mar 25 03:18:39 mako ls-hubd[772]: authsyncclient waitForComplete command:
Mar 25 03:18:39 mako ls-hubd[772]: state waitForComplete -> change to -> authorized
Mar 25 03:18:39 mako ls-hubd[772]: UQ <none>
Mar 25 03:18:39 mako ls-hubd[772]: client.commandComplete: calling command.controller.cleanup() after 1 second
Mar 25 03:18:39 mako ls-hubd[772]: CDav-Completing activity sync_2
Mar 25 03:18:39 mako ls-hubd[772]: No upsync for contactset, no SyncOnEdit activity
Mar 25 03:18:39 mako ls-hubd[772]: No upsync for contact, no SyncOnEdit activity
Mar 25 03:18:39 mako ls-hubd[772]: All sync on edit creation came back.
Mar 25 03:18:39 mako ls-hubd[772]: CDav-complete(): skipping creating of sync activities
Mar 25 03:18:39 mako ls-hubd[772]: Complete came back.
Mar 25 03:18:39 mako ls-hubd[772]: Sync came back:{"returnValue":true}
Mar 25 03:18:39 mako ls-hubd[772]: _dispatchCommand
Mar 25 03:18:39 mako ls-hubd[772]: MojoService: no activity passed in, creating sync_3
Mar 25 03:18:39 mako ls-hubd[772]: deferring command until adopt completes
Mar 25 03:18:39 mako ls-hubd[772]: MojoService: started new activity: sync_3
Mar 25 03:18:39 mako ls-hubd[772]: **************************START SERVICEASSISTANT 0.3.25 *****************************
Mar 25 03:18:39 mako ls-hubd[772]: ------------------->accountId: 0
Mar 25 03:18:39 mako ls-hubd[772]: ------------------->launchConfig: {"name":"sync","assistant":"SyncAssistant","public":true}
Mar 25 03:18:39 mako ls-hubd[772]: ------------------->launchArgs: {"accountId":"JH4v3IIpyOg","capability":"CALENDAR"}
Mar 25 03:18:39 mako ls-hubd[772]: Starting sync for account JH4v3IIpyOg from activity  with capacity CALENDAR
Mar 25 03:18:39 mako ls-hubd[772]: Setting Kinds to Calendar.
Mar 25 03:18:39 mako ls-hubd[772]: Activity event start
Mar 25 03:18:39 mako ls-hubd[772]: iCal initialized
Mar 25 03:18:39 mako ls-hubd[772]: vCard initialized
Mar 25 03:18:39 mako ls-hubd[772]: Getting credentials.
Mar 25 03:18:39 mako ls-hubd[772]: Error: palm://com.palm.keymanager/fetchKey {"keyname":"Skg0djNJSXB5T2c="}: Key not found.; innerError: "[object Object]" 
Mar 25 03:18:39 mako ls-hubd[772]: at Error (<anonymous>)
Mar 25 03:18:39 mako ls-hubd[772]: at Object.exports.Err.create (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:1365)
Mar 25 03:18:39 mako ls-hubd[772]: at /usr/palm/frameworks/foundations/version/1.0/node_module.js:1:35436
Mar 25 03:18:39 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11037)
Mar 25 03:18:39 mako ls-hubd[772]: at d [as _onTimeout] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:16017)
Mar 25 03:18:39 mako ls-hubd[772]: at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Mar 25 03:18:39 mako ls-hubd[772]: ------------->Got Key
Mar 25 03:18:39 mako ls-hubd[772]: AUTH CHECK STARTING.
Mar 25 03:18:39 mako ls-hubd[773]: _dispatchCommand
Mar 25 03:18:39 mako ls-hubd[773]: MojoService: no activity passed in, creating fetchKey_3
Mar 25 03:18:39 mako ls-hubd[773]: deferring command until adopt completes
Mar 25 03:18:39 mako ls-hubd[773]: MojoService: started new activity: fetchKey_3
Mar 25 03:18:39 mako ls-hubd[773]: AppId  org.webosports.cdav.service  from    &&  org.webosports.cdav.service
Mar 25 03:18:39 mako ls-hubd[773]: Activity event start
Mar 25 03:18:39 mako ls-hubd[773]: completing/unsubscribing activity fetchKey_3
Mar 25 03:18:39 mako ls-hubd[772]: TypeError: Cannot read property 'oauth' of undefined
Mar 25 03:18:39 mako ls-hubd[772]: at Object.AuthManager.checkAuth (/usr/palm/services/org.webosports.cdav.service/javascript/utils/AuthManager.js:121:16)
Mar 25 03:18:39 mako ls-hubd[772]: at c.getKeyCB (javascript/assistants/serviceassistant.js:155:20)
Mar 25 03:18:39 mako ls-hubd[772]: at Future._maybeDispatch (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11948)
Mar 25 03:18:39 mako ls-hubd[772]: at Future.exports.Control.Future [as exception] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:13374)
Mar 25 03:18:39 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11679)
Mar 25 03:18:39 mako ls-hubd[772]: at Future._maybeDispatch (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11948)
Mar 25 03:18:39 mako ls-hubd[772]: at Future.<anonymous> (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:11284)
Mar 25 03:18:39 mako ls-hubd[772]: at d [as _onTimeout] (/usr/palm/frameworks/foundations/version/1.0/node_module.js:1:16017)
Mar 25 03:18:39 mako ls-hubd[772]: at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
Mar 25 03:18:39 mako ls-hubd[772]: state __uninitialized -> event sync
Mar 25 03:18:39 mako ls-hubd[772]: state __uninitialized -> event __any
Mar 25 03:18:39 mako ls-hubd[772]: Q:  normal sync
Mar 25 03:18:39 mako ls-hubd[772]: state __uninitialized -> change to -> __start
Mar 25 03:18:39 mako ls-hubd[772]: state __start -> change to -> restart
Mar 25 03:18:39 mako ls-hubd[772]: state restart -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state restart -> change to -> unauthorized
Mar 25 03:18:39 mako ls-hubd[772]: UQ sync
Mar 25 03:18:39 mako ls-hubd[772]: state unauthorized -> event sync
Mar 25 03:18:39 mako ls-hubd[772]: Q:  normal sync
Mar 25 03:18:39 mako ls-hubd[772]: state unauthorized -> change to -> authorized
Mar 25 03:18:39 mako ls-hubd[772]: UQ sync
Mar 25 03:18:39 mako ls-hubd[772]: state authorized -> event sync
Mar 25 03:18:39 mako ls-hubd[772]: state authorized -> change to -> waitForComplete
Mar 25 03:18:39 mako ls-hubd[772]: Error fetching capabilityProviderId from client
Mar 25 03:18:39 mako ls-hubd[772]: CapabilityId is empty, allowing sync to continue
Mar 25 03:18:39 mako ls-hubd[772]: state __uninitialized -> change to -> __start
Mar 25 03:18:39 mako ls-hubd[772]: >>> clearSyncStatus(): manager not fully configured; not clearing state
Mar 25 03:18:39 mako ls-hubd[772]: >>> setSyncStatus(): manager not fully configured; not setting state
Mar 25 03:18:39 mako ls-hubd[772]: state __start -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state __start -> change to -> getFirstRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: >>> kindName=calendar
Mar 25 03:18:39 mako ls-hubd[772]: >>> kind="org.webosports.cdav.calendar:1" 
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: state getFirstRemoteChanges -> change to -> getMoreRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: getMoreRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant:getRemoteChanges*****************************
Mar 25 03:18:39 mako ls-hubd[772]: No userAuth information. Something wrong with keystore. Can't authenticate with server.
Mar 25 03:18:39 mako ls-hubd[772]: state getMoreRemoteChanges -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state getMoreRemoteChanges -> change to -> getLocalMatches
Mar 25 03:18:39 mako ls-hubd[772]: getLocalMatches
Mar 25 03:18:39 mako ls-hubd[772]: state getLocalMatches -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state getLocalMatches -> change to -> mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: state mergeRemoteChanges -> change to -> preSaveModifyStep
Mar 25 03:18:39 mako ls-hubd[772]: preSaveModify
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> change to -> writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: >>>>>putObjects, count=0
Mar 25 03:18:39 mako ls-hubd[772]: return from reserveIds()
Mar 25 03:18:39 mako ls-hubd[772]: return from del()
Mar 25 03:18:39 mako ls-hubd[772]: return from put()
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> change to -> nextType
Mar 25 03:18:39 mako ls-hubd[772]: nextType
Mar 25 03:18:39 mako ls-hubd[772]: >>> this._kindIndex = 0, this._kinds.syncOrder.length-1=1
Mar 25 03:18:39 mako ls-hubd[772]: state nextType -> change to -> getFirstRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: >>> kindName=calendarevent
Mar 25 03:18:39 mako ls-hubd[772]: >>> kind="org.webosports.cdav.calendarevent:1" 
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant:_getObjectTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant: getTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant:_getObjectTransformer*****************************
Mar 25 03:18:39 mako ls-hubd[772]: ==========================> allowUpsync: false for calendarevent
Mar 25 03:18:39 mako ls-hubd[772]: state getFirstRemoteChanges -> change to -> getMoreRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: getMoreRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: **************************SyncAssistant:getRemoteChanges*****************************
Mar 25 03:18:39 mako ls-hubd[772]: No userAuth information. Something wrong with keystore. Can't authenticate with server.
Mar 25 03:18:39 mako ls-hubd[772]: state getMoreRemoteChanges -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state getMoreRemoteChanges -> change to -> getLocalMatches
Mar 25 03:18:39 mako ls-hubd[772]: getLocalMatches
Mar 25 03:18:39 mako ls-hubd[772]: state getLocalMatches -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state getLocalMatches -> change to -> mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: mergeRemoteChanges
Mar 25 03:18:39 mako ls-hubd[772]: state mergeRemoteChanges -> change to -> preSaveModifyStep
Mar 25 03:18:39 mako ls-hubd[772]: preSaveModify
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state preSaveModifyStep -> change to -> writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: writeLocalChanges
Mar 25 03:18:39 mako ls-hubd[772]: >>>>>putObjects, count=0
Mar 25 03:18:39 mako ls-hubd[772]: return from reserveIds()
Mar 25 03:18:39 mako ls-hubd[772]: return from del()
Mar 25 03:18:39 mako ls-hubd[772]: return from put()
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state writeLocalChanges -> change to -> nextType
Mar 25 03:18:39 mako ls-hubd[772]: nextType
Mar 25 03:18:39 mako ls-hubd[772]: >>> this._kindIndex = 1, this._kinds.syncOrder.length-1=1
Mar 25 03:18:39 mako ls-hubd[772]: state nextType -> change to -> updateAccount
Mar 25 03:18:39 mako ls-hubd[772]: updateAccount
Mar 25 03:18:39 mako ls-hubd[772]: state updateAccount -> event gotReply
Mar 25 03:18:39 mako ls-hubd[772]: state updateAccount -> change to -> success
Mar 25 03:18:39 mako ls-hubd[772]: success
Mar 25 03:18:39 mako ls-hubd[772]: >>> clearSyncStatus(): manager not fully configured; not clearing state
Mar 25 03:18:39 mako ls-hubd[772]: synccommand(success): __enter
Mar 25 03:18:39 mako ls-hubd[772]: Sync came back: {}
Mar 25 03:18:39 mako ls-hubd[772]: client:commandComplete 1
Mar 25 03:18:39 mako ls-hubd[772]: completing command
Mar 25 03:18:39 mako ls-hubd[772]: state waitForComplete -> event __commandComplete
Mar 25 03:18:39 mako ls-hubd[772]: authsyncclient waitForComplete command:
Mar 25 03:18:39 mako ls-hubd[772]: state waitForComplete -> change to -> authorized
Mar 25 03:18:39 mako ls-hubd[772]: UQ <none>
Mar 25 03:18:39 mako ls-hubd[772]: client.commandComplete: calling command.controller.cleanup() after 1 second
Mar 25 03:18:39 mako ls-hubd[772]: CDav-Completing activity sync_3
Mar 25 03:18:39 mako ls-hubd[772]: No upsync for calendar, no SyncOnEdit activity
Mar 25 03:18:39 mako ls-hubd[772]: No upsync for calendarevent, no SyncOnEdit activity
Mar 25 03:18:39 mako ls-hubd[772]: All sync on edit creation came back.
Mar 25 03:18:39 mako ls-hubd[772]: CDav-complete(): skipping creating of sync activities
Mar 25 03:18:39 mako ls-hubd[772]: Complete came back.
Mar 25 03:18:39 mako ls-hubd[772]: Sync came back:{"returnValue":true}
Mar 25 03:18:39 mako ls-hubd[772]: Processing capabilities done.
Mar 25 03:18:39 mako ls-hubd[772]: All syncs done, returning.
Mar 25 03:18:39 mako ls-hubd[772]: client:commandComplete 1
Mar 25 03:18:39 mako ls-hubd[772]: completing command
Mar 25 03:18:39 mako ls-hubd[772]: state waitForComplete -> event __commandComplete
Mar 25 03:18:39 mako ls-hubd[772]: authsyncclient waitForComplete command:
Mar 25 03:18:39 mako ls-hubd[772]: state waitForComplete -> change to -> authorized
Mar 25 03:18:39 mako ls-hubd[772]: UQ <none>
Mar 25 03:18:39 mako ls-hubd[772]: client.commandComplete: calling command.controller.cleanup() after 1 second
Mar 25 03:18:39 mako ls-hubd[772]: CDav-Completing activity sync_1
Mar 25 03:18:39 mako ls-hubd[772]: Not creating sync-on-edit activities, because no capability in args: {"accountId":"JH4v3IIpyOg"}
Mar 25 03:18:39 mako ls-hubd[772]: Not periodic sync. Completing activity
Mar 25 03:18:39 mako ls-hubd[772]: Complete succeeded, result = {"returnValue":true}

History

Updated by Simon Busch over 2 years ago

  • Target version changed from Bombon to Au lait

Updated by Herman van Hazendonk over 2 years ago

I can confirm I see this on my N4 as well with Google account. No contacts are being synced.

Updated by Herman van Hazendonk over 2 years ago

  • Target version changed from Au lait to Bombon

Updated by Achim Königs over 2 years ago

This was happening because of the missing template and I obviously did break something in the workaround in the custom validator for that... we should get the original bug fixed some day. :-/

Anyway, workaround repaired with https://github.com/webOS-ports/org.webosports.service.contacts.carddav/pull/71

Updated by Achim Königs over 2 years ago

  • Status changed from New to Resolved

Updated by Herman van Hazendonk over 2 years ago

Can confirm it's working again now on N4, therefore closing :)

  • % Done changed from 0 to 100
  • Status changed from Resolved to Closed

Also available in: Atom PDF