**** BEGIN LOGGING AT Tue Jul 05 02:59:59 2016 Jul 05 06:39:57 Morning! Jul 05 06:40:05 Evening! Jul 05 07:04:35 :) Jul 05 07:47:15 morning Jul 05 09:01:39 Tofe: EricBlade gave me some pointers for ActivityManager. Seems we only have about 1/3 of activities listed compared to a few months ago. Something must have gone wrong somewhere.... Jul 05 09:01:55 Didn't have much time to look into it yet though Jul 05 09:23:17 Herrie|Pre3: ah, ok Jul 05 10:25:03 Tofe: Hmmmz the actual files for the activities in /etc/palm/activities are binary identical, so that's not it... Jul 05 10:25:45 It's either activitymanager breaking early somehow before it scans stuff completely. I guess I need to check a first boot log to see what's up. Jul 05 11:25:41 ok... looks like it'll be tricky to debug this Jul 05 12:09:26 Tofe: Yeah it might be... I'll do a Valgrind first to see if anything odd pops up Jul 05 12:09:29 Who knows... Jul 05 12:09:59 Could also be NodeJS upgrade, but I'm not too familiar with NodeJS. Would need some help from DougReeder or Garfonso there Jul 05 12:14:07 OK I found one of the JSONs to be not passing jsonlint.com validation. It could be that some validation got stricter with NodeJS upgrade. That happened before when they moved to 0.10 I noticed from an earlier commiy Jul 05 12:14:18 s/y/t Jul 05 12:14:25 Won't hurt to fix that at least Jul 05 12:22:47 yes, exactly Jul 05 12:36:58 I guess I'll delete all activities and start adding them back 1 by 1 and reboot after each one Jul 05 12:37:05 There are only a dozen or so Jul 05 12:37:16 So shouldn't take too long Jul 05 12:38:10 And make a log after each boot and compare them Jul 05 12:38:14 To see where stuff breaks Jul 05 13:29:06 Herrie|Pre3: what'd you do to configurator? :-D Jul 05 13:31:05 EricBlade: What you mean? Jul 05 13:31:58 We upgraded a lot of underlying OS bits recently and seems quite some of our activities disappeared from ActivityManager. The json files are still in /etc/palm/activities though. Jul 05 13:32:09 So not sure what's up with all that... Jul 05 13:32:20 You say it's configurator that might cause this? Jul 05 13:32:46 It could very well be a NodeJS upgrade to 4.x that causes issues.... Just I'm not that sure how to test that... Jul 05 13:33:57 so, if the boot process is working as normal, every boot, configurator should run Jul 05 13:34:17 EricBlade: OK. I guess that doesn't happen then? Jul 05 13:34:18 configurator reads all the files in /etc/palm/activities, and passes the contents to com.palm.activitymanager/create Jul 05 13:34:57 there may be some limitations that i'm not aware of to that (ie, does it remember ones that it has already parsed, and skip them? not sure) Jul 05 13:35:54 EricBlade: Hmmmz... I have some interesting bits in log: CONFIGURATOR_ERROR Jul 05 13:36:14 json: unexpected char at 1:451 Jul 05 13:36:33 Doesn't say in which file though :s Jul 05 13:36:54 partial config, 11 OK, 6 failed. Jul 05 13:37:09 Strange thing is nothing changed really for those afaik :s Jul 05 13:37:19 that is strange Jul 05 13:39:48 Herrie|Pre3: do you have the 11 json under hand? Jul 05 13:42:11 sorry, 17 json files :) Jul 05 13:44:13 Tofe: I think my current error might be due to the fact they came from a Windows machine :P Jul 05 13:44:18 Let me get clean image Jul 05 13:57:00 Herrie|Pre3: i got my nexus 4 in the mail this weekend Jul 05 13:57:07 going to put luneos on it today Jul 05 13:57:21 need to figure out how to pull down the latest changes and recompile so i can have the most up to date image Jul 05 13:57:34 also, is that some EricBlade? hot diggity. Jul 05 13:59:13 howdy sir Jul 05 14:00:37 Herrie|Pre3: that may be possible, but you said binary diff was same Jul 05 14:01:47 Herrie|Pre3: i seem to recall some issues with legacy webos's applicationmanager hating windows-format files, but i don't think configurator has had problems like that. Jul 05 14:01:50 i could be wrong though Jul 05 14:05:46 EricBlade: I pulled them from a working and non-working vbox image. Files are identical. As a test I deleted everything in /etc/palm/activities and put it back using a windows tool :P Jul 05 14:06:09 Just now seems that at a second boot I cannot SSH into my clean vbox :s Jul 05 14:16:21 Only real difference in configurator and activitymanager is that they are being build with -fpermissive flag now Jul 05 14:17:03 Due to issues with MojUtil.h and MojUtilInternal.h not being able to build without in Krogoth vs. Fido Jul 05 14:24:20 that sounds.. strange. but ok. Jul 05 14:24:33 i mean not "it's probably ok", it's probably not good Jul 05 14:24:41 but ok i understand Jul 05 14:24:43 I'm not sure that somehow could cause issues.. Jul 05 14:25:07 so, anyway, you want to find one of the failing json files Jul 05 14:25:12 copy it to clipboard Jul 05 14:25:31 do luna-send -n 1 palm://com.palm.activitymanager/create '(paste file)' Jul 05 14:25:35 and see if any errors show up Jul 05 14:30:45 that is assuming you don't get it working just by fixing some format issue in the files Jul 05 14:30:57 Let me try that in a bit Jul 05 14:31:26 1 file had syntax error but it had it before when it was working as well :s Jul 05 15:13:51 Seems manually passing them in works Jul 05 15:19:40 So it might be the configurator acting up Jul 05 15:20:00 Though I don't see anything specific except for some warnings that certain folders cannot be found Jul 05 18:32:27 DougReeder: ping Jul 05 18:36:03 Garfonso: ping Jul 05 19:38:02 EricBlade: You around? Jul 05 19:39:37 Manually passing the activities to ActivityManager seems to go OK for all. Jul 05 19:39:46 So the issue is likely the configurator then? Jul 05 21:18:39 EricBlade: I'm really a bit lost now :S Jul 05 21:19:04 When I do: luna-send -n 1 palm://com.palm.configurator/run '{"types":["activities"]}' Jul 05 21:19:15 I get {"configured":16,"returnValue":true} Jul 05 21:19:18 Which seems fine Jul 05 21:19:46 Since I have 16 files Jul 05 21:20:45 However when I then check luna-send -i -f luna://com.palm.activitymanager/list '{"details": true, "subscribers": true, "current": false,"internal": true}' I only seem to get 10 back :S Jul 06 00:49:03 Herrie, pong **** ENDING LOGGING AT Wed Jul 06 02:59:58 2016