**** BEGIN LOGGING AT Tue Jun 25 03:00:38 2019 Jun 25 06:19:22 Morning! Jun 25 06:23:33 Morning! Jun 25 06:25:07 Tofe: I found this in OSE WAM for creating activities: https://github.com/webosose/wam/blob/f4496425cf361eec638cdc21bc4a56cf33ce3ddc/src/webos/ServiceSenderLuna.cpp#L26 Jun 25 06:25:39 Which should be the equivalent of what we do in https://github.com/webOS-ports/luna-webappmanager/blob/c4f72bab46d9785af147cf1d4f6af0df0e4bab66/src/activity.cpp#L65 I guess Jun 25 07:38:04 Tofe: You OK to merge: https://github.com/webOS-ports/filecache/pull/4 ? Jun 25 07:51:11 yes, I forgot about it :) Jun 25 07:53:03 OK Jun 25 07:54:37 I squashed them and reworked commit message a bit in meanwhile Jun 25 09:26:51 Tofe: For the Calendar Reminder thing: I have an idea that might work... Not sure you tried this already? Jun 25 09:27:54 1: Migrate service.calendar.reminders to ACG and then have it at a security group that will allow the activitymanger/monitor Jun 25 09:28:26 nope, I didn't try Jun 25 09:30:21 Let me try that Jun 25 09:30:25 Seems that might work Jun 25 09:30:32 Since it complains about the security group Jun 25 09:30:52 We nee to have ACG to be able to use the security groups, so need to migrate it from legacy LS2 first Jun 25 09:31:01 Worth a try at least Jun 25 09:31:27 right Jun 25 09:31:45 Suspect it might kill 2 birds with 1 stone in the end ;) Jun 25 14:02:34 Tofe: It doesn't seem to be a full solution yet, but seems to do at least some progress Jun 25 14:02:48 In terms of understandable error messages ;) Jun 25 14:10:50 Things like: {"DEST_APP_ID":"com.palm.service.calendar.reminders","SRC_APP_ID":"com.palm.db","EXE":"/usr/sbin/mojodb-luna","PID":520} "com.palm.db" does not have sufficient outbound permissions to comm Jun 25 14:10:51 2019-06-25T14:05:09.105667Z [33] user.warning mojodb-luna [] DB8 MOJ_SERVICE_WARNING Jun 25 14:49:06 ah good, improvement :) Jun 25 15:21:16 Oh seems I have contacts now :D Jun 25 15:21:30 Still some permission errors in legs, but well ;) Jun 25 15:21:36 With regards to filecache ;) Jun 25 15:22:42 But that's fixable Jun 25 15:22:50 No calendar still but well Jun 25 15:22:53 1 step at a time Jun 25 15:32:06 OK filecache also sorted Jun 25 15:32:10 Let me try a clean build now ;) Jun 25 15:32:19 Without all my manual tinkering on file system :P Jun 25 16:27:42 Ok that works, let me send some PR's :) Jun 25 16:27:53 Let me double check the logs last time before PR-ing Jun 25 16:37:04 \o/ Jun 25 16:38:11 Still no Calendar though Jun 25 16:38:14 Let me verify email Jun 25 16:38:22 But Contacts is 1/3 at least Jun 25 16:38:37 Still need to fix this issue though: ls-hubd LSHUB_NOT_LSTED {"SERVICE_NAME":"com.palm.image","EXE":"/usr/bin/node","APP_ID":"(null)","PID":1027} Service not listed in service files (cmdline: com.palm.service.contacts.linker) Jun 25 16:38:42 But that's minor ;) Jun 25 16:40:31 I think we should get rid of these numerous logs in LunaWebAppManager by default Jun 25 16:40:56 (but should still be easily activable) Jun 25 16:40:59 Yes Jun 25 16:45:42 I'm getting these which might be the issue for the Calendar, but not sure: 2019-06-25T16:39:02.871478Z [11] user.err service.calendar.reminders [] legacy-log Error: palm://com.palm.activitymanager/complete {"activityId":31,"restart":true,"schedule":{"start":"2019-09-24 02:30:00Z"},"callback":{"method":"palm://com.palm.service.calendar.reminders/onWake","params":{"showTime":1569292200000}}}: Jun 25 16:45:42 Invalid transition: unsatisfied Jun 25 16:45:55 Invalid transition comes from ActivityManger Jun 25 16:46:05 It could be that some state was deprecated and we're still using it Jun 25 16:46:11 Didn't have much chance to check that yet Jun 25 16:50:18 I don't even know what's a transition in this context :p Jun 25 16:50:24 but your analysis seems to make sense Jun 25 16:52:08 Or that our initial state doesn't get populated/updated so it transitions incorrectly Jun 25 16:52:12 That's another option Jun 25 16:54:47 where are transitions defined? Jun 25 16:56:21 That's a good question Jun 25 16:56:44 OK 3 PR's in. app-services recipe will need some tweaking too. Will do that with SRCREV bumps once merged Jun 25 16:57:18 I just received 2 PRs Jun 25 16:57:30 (db and app-services) Jun 25 17:00:30 filecache should also be there Jun 25 17:00:54 also, I had a little look, and it seems that https://github.com/webOS-ports/luna-webappmanager/blob/c4f72bab46d9785af147cf1d4f6af0df0e4bab66/src/activity.cpp#L65 should look more like https://github.com/webosose/wam/blob/master/src/webos/WebAppManagerServiceLuna.h#L82 Jun 25 17:01:14 (for the service nameĆ  Jun 25 17:01:16 ) Jun 25 17:01:43 but it'll obviously break some permissions if we change "" to "org.webosports.luna-webappmanager" Jun 25 17:05:13 Yeah but those should be easy enough to spot normally in the lost Jun 25 17:07:32 ok, all merged Jun 25 17:10:46 Thnx, let me PR SRCREV and recipe changes Jun 25 17:12:54 Tofe: I guess we could remove the upstart stuff here? https://github.com/webOS-ports/meta-webos-ports/blob/warrior/meta-luneos/recipes-webos/app-services/app-services.bb#L78 Jun 25 17:14:52 yes, it should be useless now Jun 25 17:22:24 ok PR merged, let's test :) Jun 25 17:24:50 app-services-3.0.1-5+gitAUTOINC+ff73894433-r0 do_fetch: Fetcher failure: Unable to find revision ff73894433ba71cb7bf9ce195c67c6fee9524378 in branch webOS-ports/webOS-OSE even from upstream Jun 25 17:25:39 should be a30370783e771ecf7a09a216cae31c84279b9bbb Jun 25 17:26:22 I'll fix it Jun 25 17:26:44 Ah I guess I copied it frm my local recipe and forgot to update Jun 25 17:28:08 fixe Jun 25 17:28:09 d Jun 25 17:29:07 Thnx Jun 25 17:29:15 Well that's one out of 3 issues out of the way ;) Jun 25 17:29:27 I guess I could also make a migration tracker for ACG for all our legacy bits Jun 25 17:29:30 It are quite some Jun 25 17:29:58 calendar icon, contact syncing => 2 out of 3, isn't it ? Jun 25 17:30:24 Calendar syncs but doesn't display anything Jun 25 17:30:33 Email syncs, displays headers, but no bodies after a reboot Jun 25 17:30:42 Without reboot it doesn't show anything Jun 25 17:30:54 mmh ok Jun 25 17:33:31 I'll double check in previous release image, but pretty sure both worked there Jun 25 17:34:19 Calendar did Jun 25 17:34:25 Email was broken there Jun 25 17:37:56 I got my calendars, but not the events themselves Jun 25 17:38:05 on previous release I don't remember Jun 25 17:41:40 Tofe: Yeah same here Jun 25 17:41:46 No events displaying Jun 25 17:42:04 I checked previous VBOX from release and there it worked Jun 25 21:00:05 Tofe: For Calendar, seems that somehow we end up with corrupt data in db8 kind Jun 25 21:00:24 luna-send -n 1 luna://com.palm.db/find '{"query":{"from":"com.palm.calendarevent:1"}' Jun 25 21:00:25 {"errorCode":-1988,"errorText":"json: error parsing value separator at 1:45","returnValue":false} Jun 25 21:00:50 So that might explain why it doesn't display anything... Question is why we end up with such data and even how to see the data Jun 25 21:05:33 I guess it would be a good idea to manually try to create a meeting instead of getting a bunch of things from Google right away ;) Jun 25 21:10:08 Ehm I'm missing a } there ;) Jun 25 21:10:16 I guess I should clal it a day :P **** ENDING LOGGING AT Wed Jun 26 02:59:57 2019