**** BEGIN LOGGING AT Tue Nov 23 02:59:57 2021 Nov 23 07:04:06 Morning! Nov 23 07:16:38 Morning! Nov 23 07:39:04 Herrie: so the symbol issue is fixed ? I didn't follow closely what you did with JaMa Nov 23 07:51:50 Tofe: Yeah it's fixed! Nov 23 07:51:55 Email syncs after a reboot Nov 23 07:52:06 It doesn't do it immediately somehow, but we had that before already Nov 23 07:52:19 It's probably something with an activity that doesn't run properly somehow Nov 23 07:52:42 I'll try debugging that by running am-monitor and ls-monitor while adding an account to see if it gives something Nov 23 07:52:43 great :) Nov 23 07:54:56 I have something like this in logs: 2021-11-22T15:29:15.082044Z [627.468113818] daemon.info ls-hubd[996] [2021-11-22 16:29:15:081] [0x7f035e925b80] [critical] [com.palm.mail.powermanager]: error occurred when managing power activity: required prop not found: 'event' (MojErr -986) -- /usr/src/debug/mojomail-common/2.0.0-99+gitAUTOINC+49358ac287-r0/git/common/src/activity/Activity.cpp:307 Nov 23 07:54:56 (type: 0) Nov 23 07:54:59 So that's a lead Nov 23 07:56:26 Yes, could be Nov 23 07:57:23 And I previously saw something about an activity it couldn't find. So it could be the one created somehow doesn't comply with changed activitymanager API in OSE Nov 23 15:20:48 Tofe: This looks pretty decent... Spec wise the OnePlus 6 should be a lot quicker. I'm surprised the difference is not that big actually. https://twitter.com/calebccff/status/1463085980047622150?s=20 Nov 23 15:58:44 Tofe: Got a bit further with the issues on email sync. Seems the calls to activitymanager need some updates due to changed schema. Adding some debugging now to Mojomail to see what currently gets put inside the calls and will try to adjust accordingly. Hopefully that will solve the issue with Email and Calendar that were there after OSE migration for ActivityManager Nov 23 15:59:09 I also rebased ActivityManager and Configurator with OSE commits (except for enhanced ACG) Nov 23 15:59:18 Let's see what that gives Nov 23 16:09:21 Looks like good ideas, let's hope this works out Nov 23 16:42:21 Tofe: How do I get JSON string to print properly in logs? Nov 23 16:43:07 I now added something like: MojLogError(m_log, "Herrie CreateDefaultFoldersCommand::SetupOutboxWatchActivity payload %s", payload); Nov 23 16:43:13 But it will show my payload funny ;) Nov 23 16:43:17 I have waydroid working :p Nov 23 16:43:32 ah, you mean pretty print json in C ? Nov 23 16:43:55 Tofe: yeah, I get something like "Ђ$КmV" now in my log for "payload" Nov 23 16:43:58 Tofe: Ooooh NICE! Nov 23 16:44:57 ah probably because the payload is the container object, not the string itself Nov 23 16:45:11 let me see, where in the source code is it ? Nov 23 16:54:53 Tofe: https://github.com/webOS-ports/mojomail/commit/94c4f7dd95eec13fc53469a21b2135658d610809 Nov 23 16:56:37 Herrie: AsJsonString(payload) Nov 23 16:56:46 instead of payload Nov 23 16:57:05 ah, wait, not exactly Nov 23 16:57:09 AsJsonString(payload).c_str() Nov 23 16:57:23 ^this is what you want Nov 23 16:57:44 https://github.com/webOS-ports/mojomail/blob/94c4f7dd95eec13fc53469a21b2135658d610809/common/src/activity/Activity.cpp#L255 see here for an example Nov 23 17:01:18 OK Nov 23 17:01:21 Let me try that Nov 23 17:13:07 Tofe: Yeah that seems to give the desired output in logs Nov 23 17:15:40 ok good Nov 23 17:28:58 Herrie: I updated https://github.com/Tofee/meta-webos-ports/commits/tofe/waydroid ; notice the usage help I introduced in https://github.com/Tofee/meta-webos-ports/commit/b862dcc902890adae7874561102bd2da49465380 just to remember :) Nov 23 17:29:59 of course, all this is experimental, I'm not sure how this could be properly packaged Nov 23 17:34:32 Tofe: I fixed the deletion of email accounts, just needed to add the additional parameters to the list command for activitymanager call. Easy enough. Still trying to figure out what the other issues are Nov 23 17:35:46 good :) Nov 23 18:12:01 Tofe: This should be the fix, but it needs to be applied in another place: https://github.com/webOS-ports/mojomail/commit/6d743361e135816963e4d87eee149060416853d1 Nov 23 18:12:16 I tested IMAP, but for POP3 the call is the same, so should work Nov 23 18:13:17 It would need to be added here as well: https://github.com/webOS-ports/mojomail/blob/herrie/fix-deletion/pop/src/commands/PopAccountDisableCommand.cpp#L195 Nov 23 18:13:27 Just not sure how to add it to MojObject() Nov 23 18:17:53 Tofe: For waydroid we could add it to qemux86-64 as well right? Nov 23 19:43:50 Tofe: Seems that some of the changes I made previously with regards to the internetRequired and internetConfidence might be part of the cause... Nov 23 19:50:58 Seems it's all quite tangled in various C-bits and JS bits... https://github.com/webOS-ports/mojoservice-frameworks/commit/9d725d8cf390b1771644b73f3ededbedb48cb22b and https://github.com/webOS-ports/mojomail/commit/77572e8ede86d077ce6fd8e2e1576b3777b5cbaa and https://github.com/webOS-ports/mojomail/commit/eba4cbe780b0c85fc38735d79155189cf4bf2644 Nov 23 20:25:50 I mean I'm gettings things like: Nov 23 12:52:02 qemux86-64 activitymanager[675]: [] [pmlog] ActivityManager RM_REQ_NOT_FOUND {"Activity":109,"Requirement":"internet"} not found while trying to remove by name Nov 23 21:17:54 I'll have a further look into that **** ENDING LOGGING AT Wed Nov 24 02:59:56 2021