**** BEGIN LOGGING AT Thu Jun 23 02:59:57 2016 Jun 23 03:32:53 Hey, if we need a small table of reference data that would rarely change and be shared between apps, is DB8 our main alternative? **** BEGIN LOGGING AT Thu Jun 23 04:34:29 2016 Jun 23 05:09:43 DougReeder: Or just a (JSON) file? Not sure what you're looking for exactly Jun 23 05:09:55 HaDAk: Just the CM brunch bits Jun 23 05:10:13 GodGinrai: Yes based on Mozilla's PDF.js Jun 23 05:11:12 Herrie: ping Jun 23 05:17:31 Andolamin: pong Jun 23 05:17:38 You fixed the builds ? :D Jun 23 05:17:48 Yeah - https://github.com/webOS-ports/meta-rpi-luneos/pull/4 Jun 23 05:18:14 The build was successful, still need to test it on the Pi, though Jun 23 05:18:20 OK Jun 23 05:18:32 But, progress :) Jun 23 05:18:47 Let me know when that's done and I'll include it in the nightlies again :D Jun 23 05:18:54 I thought the Pi does OpenGL? Jun 23 05:20:38 Well, it should, but gstreamer won't build with it for the Pi, for whatever reason. Jun 23 05:21:03 Worked fine with 1.4.x in jethro, but 1.6.x in krogoth doesn't work Jun 23 08:28:24 morning Jun 23 08:41:01 JaMa: You're happy with the PR now? Jun 23 08:47:24 Morning Jun 23 09:00:11 Herrie: not happy with github-way of doing the review (adding new commits instead of fixing the review comments in existing commits) Jun 23 09:00:32 if you squash last 2 into the 1st then I think I'll be happier Jun 23 09:00:40 JaMa: You want me to sqush them? Jun 23 09:00:42 I can do that I guess Jun 23 09:03:04 yes, and I've added few more comments to the freeimage one Jun 23 09:15:45 JaMa: FreeImage came 1:1 from https://github.com/openembedded/openembedded/blob/fabd8e6d07d3cd0cc93c2a0fc804f8c8f316c649/recipes/ogre/freeimage_3.11.0.bb Jun 23 09:41:16 Herrie: mention it in commit message and please modify as suggested Jun 23 09:41:23 oe-classic is way too old :) Jun 23 09:43:16 JaMa: Yeah noticed now it's 2010 Jun 23 09:43:18 Testing changes Jun 23 09:44:41 JaMa: When I remove the 2 FILES completely at the bottom I get: https://bpaste.net/show/364138b0cd15 Jun 23 09:48:24 then you can set FILES_SOLIBDEV to empty (the old value wasn't matching anything so it was only confusing) and add "{libdir}/lib${BP}${SOLIBSDEV}" to FILES_${PN} Jun 23 09:48:41 FILES_SOLIBSDEV Jun 23 09:50:36 I'll bump to latest FreeImage as well I guess Jun 23 09:58:41 Ah seems that gets other issues... Jun 23 14:10:56 Herrie: what was the repo for the default apps? Jun 23 14:13:50 core-apps? Jun 23 14:46:35 HaDak Jun 23 14:46:48 yo Jun 23 14:46:49 HaDAk: Yes core-apps is email, accounts, calendar Jun 23 14:46:54 ok Jun 23 14:47:00 they just haven't been updated in years, so i wasn't sure. Jun 23 14:47:07 And clock Jun 23 14:47:09 i'm working on backgrounds right now Jun 23 14:47:18 Check the default branch Jun 23 14:47:25 webos-Ports/master is the one we use Jun 23 14:47:31 I updated stuff there recently Jun 23 14:47:54 ok Jun 23 14:48:03 Not a lot, but still :P https://github.com/webOS-ports/core-apps/commits/webOS-ports/master Jun 23 14:52:35 still gotta figure out where the default wallpaper is defined. Jun 23 14:58:21 i think i'm on to something Jun 23 15:09:36 nope. still haven't found it. Jun 23 15:11:52 maybe scoutcamper|away can tell me more Jun 23 15:12:05 or ShiftyAxel Jun 23 17:11:32 oh boy. i'm going to have to look at the first run app. it's hideous. Jun 23 17:11:33 T_T Jun 23 17:11:36 so much work to do Jun 23 17:19:25 HaDAk: looks like you never saw an *actual* hideous app :) Jun 23 17:19:34 :S Jun 23 17:19:47 i've got the emulator going. just trying to figure out how to get stuff on it now. Jun 23 17:19:51 a lot has changed Jun 23 17:19:55 can't change the resolution anymore Jun 23 17:20:54 I didn't know we could do that before :) Jun 23 17:21:00 we could Jun 23 17:21:06 options uvesafb mode_option=1280x720-32 scroll=ywrap Jun 23 17:21:12 - /etc/modprobe.d/uvesafb.conf Jun 23 17:21:23 that file moved to /etc/modules-load.d/uvesafb.conf Jun 23 17:21:31 ah yes! now I remember Jun 23 17:21:34 but making the change forces it to break Jun 23 17:22:30 you mean it doesn't boot at all? Jun 23 17:22:49 well, it boots, but the display goes black Jun 23 17:22:51 luna doesn't load Jun 23 17:23:03 ok, so the whole UI is gone Jun 23 17:23:09 yeah Jun 23 17:23:43 i also had it in there that you needed to edit /etc/palm/luna-platform.conf and change GridUnit=8 under [UI]. that doesn't do anything, anymore, though. Jun 23 17:23:51 because the icons are really close to each other Jun 23 17:23:53 and it's cramped Jun 23 17:24:15 yes, it makes sense you'd need to change the GridUnit, and maybe the DPI too Jun 23 17:24:25 didn't have a note where to change dpi, unfortunately. Jun 23 17:24:30 but since the rest is broken, it hardly matters Jun 23 17:24:47 do you happen to have a journalctl of the failed boot? Jun 23 17:24:52 I guess ssh still works Jun 23 17:24:53 i can create one Jun 23 17:25:05 That could be helpful Jun 23 17:26:14 http://pastebin.com/6yv2Ujsu Jun 23 17:27:43 Jun 23 17:25:33 qemux86 systemd[1]: Starting The Luna Next UI... Jun 23 17:27:43 Jun 23 17:25:33 qemux86 luna-next[428]: ** Message: App to allow in Low memory: com.palm.app.phone Jun 23 17:27:43 Jun 23 17:25:33 qemux86 luna-next[428]: ** Message: App to allow in Low memory: com.palm.app.contacts Jun 23 17:27:43 Jun 23 17:25:33 qemux86 luna-next[428]: ** Message: App to allow in Low memory: com.palm.app.messaging Jun 23 17:27:43 Jun 23 17:25:33 qemux86 luna-next[428]: ** (process:428): WARNING **: Settings::load(): 6 application paths defined: Jun 23 17:27:44 Jun 23 17:25:33 qemux86 luna-next[428]: ** Message: Running on genuineintel with hardware type emulator Jun 23 17:27:45 Jun 23 17:25:33 qemux86 luna-next[428]: WARNING: 17:25:33.644: EGLFS: Failed to open /dev/fb0 Jun 23 17:27:46 Jun 23 17:25:33 qemux86 luna-next[428]: FATAL: 17:25:33.644: EGLFS: Can't continue without a display Jun 23 17:28:22 yes, not having fb0 is kindof fatal Jun 23 17:28:30 yeah Jun 23 17:28:40 which is kinda to be expected, except that the line worked previously Jun 23 17:28:41 I wonder why it has disappear, just with these options Jun 23 17:31:13 Tofe: do you know where the default background is set? Jun 23 17:31:27 i did a search through all the repos, and couldn't find it. Jun 23 17:32:57 ah, mmh Jun 23 17:34:07 it's set as the default setting, I just need to see where that one is set Jun 23 17:34:21 yeah, that's what i figured. Jun 23 17:34:45 i went through and cleaned up all the default background images. removed that one, replaced it with the one i shot. just need to send a PR, but i can't do that until i know where to change the default in the settings. Jun 23 17:37:43 also, i don't know if it matters in the code (it shouldn't), but i converted all the images from .png to .jpg -- and ran them through jpegmini. Jun 23 17:37:52 they're much smaller now Jun 23 17:38:22 https://github.com/webOS-ports/luna-init/blob/webOS-ports/master/files/conf/defaultPreferences.txt Jun 23 17:38:42 ah, awesome Jun 23 17:38:45 so, it'll be a pair of PRs Jun 23 17:40:54 github.com/webOS-ports/luna-init/pull/10 Jun 23 17:41:21 github.com/webOS-ports/luneos-default-wallpapers/pull/1 Jun 23 17:44:21 why is there both an /etc/palm/defaultPreferences.txt and a /usr/palm/defaultPreferences.txt? Jun 23 17:45:37 I don't think we use the latter, but I never really checked Jun 23 17:46:07 hum. Jun 23 17:46:22 if i go to change the wallpaper manually, select photos... no thumbnails appear. Jun 23 17:46:29 https://infinit.io/_/Fk2cmKV Jun 23 17:47:26 butterfly.jpg isn't missing, it was excluded Jun 23 17:47:40 because, personally, i don't feel like it meets the quality standards we're aiming for Jun 23 17:47:58 it's blurry, pixelated, and clearly shot on a cell phone Jun 23 17:48:22 http://pastebin.com/D2Fgwh2Y Jun 23 17:49:56 looks like we have an issue with albumService Jun 23 17:52:22 also, why do we have 3 copies of this thing? Jun 23 17:52:22 root@qemux86:~# find / -name butterfly.png -exec md5sum {} \; Jun 23 17:52:22 9ed57dfa4023133281dc463a700fd143 /media/internal/.wallpapers/butterfly.png Jun 23 17:52:23 4ccccd9656f51d7d5f380f345663aa38 /media/internal/.wallpapers/thumbs/butterfly.png Jun 23 17:52:23 9ed57dfa4023133281dc463a700fd143 /usr/palm/applications/com.palm.systemui/images/butterfly.png Jun 23 17:52:24 9ed57dfa4023133281dc463a700fd143 /usr/share/wallpapers/butterfly.png Jun 23 17:54:34 lol Jun 23 17:54:44 why not? :P Jun 23 17:55:05 because it makes hadak upset Jun 23 17:55:13 I kindof understand the palm/apps... one Jun 23 17:55:21 it should be relevant to mention that i moved to QA at work. :D Jun 23 17:55:28 but I don't understand why there are 2 wallpapers folders Jun 23 17:55:42 well, the defaultPreferences.txt points to the one in /usr/share Jun 23 17:55:59 for systemui, it seems it's a missing cleanup in the repo Jun 23 17:56:02 so the one in /media/internal doesn't need to be there Jun 23 17:56:42 the one in .wallpaper looks like a cached file somehow Jun 23 17:56:58 iirc /usr/share/wallpapers are default shipped wallpapers Jun 23 17:57:06 .wallpaper are user-installed Jun 23 17:57:16 except this image is fresh from the build server Jun 23 17:57:28 fresh + booted Jun 23 17:57:34 yeah Jun 23 17:57:57 I think it does a copy in .wallpaper to be sure the source image won't disappear Jun 23 17:58:16 Tofe: i think so too Jun 23 17:58:17 so there is something that is "installing" a default wallpaper as a user wallpaper Jun 23 17:58:49 GodGinrai: yes. I suspect a not-so-smart algorithm. Jun 23 17:59:10 could be Jun 23 17:59:30 for now, i'd like to change the wallpaper...but can't. Jun 23 17:59:48 i can work on some of the cleanup, but i'd like somebody else to check the media browser thing Jun 23 18:00:08 luna://com.palm.systemservice/setPreferences something ? Jun 23 18:00:42 eh? Jun 23 18:01:25 as a workaround for the albumService bug, you can call the corresponding luna service by hand Jun 23 18:02:02 not sure how Jun 23 18:02:57 luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"wallpaper":"/usr/share/wallpapers/LuneOS.jpg"}' Jun 23 18:03:35 { "returnValue": false, "errorText": "Some settings could not be saved" } Jun 23 18:04:47 Jun 23 18:04:32 qemux86 LunaSysService[326]: [] [pmlog] LunaSysService PREFSFACTORY#403 {"FUNC":"bool cbSetPreferences(LSHandle*, LSMessage*, void*)"} handler DID NOT validate value for key: wallpaper Jun 23 18:05:18 this is what the config file looks like Jun 23 18:05:18 "wallpaper": { "wallpaperName":"LuneOS.jpg" , "wallpaperFile":"/media/internal/wallpapers/LuneOS.jpg" , "wallpaperThumbFile":""}, Jun 23 18:05:41 this did not throw an error Jun 23 18:05:42 root@qemux86:~# luna-send -n 1 palm://com.palm.systemservice/setPreferences '."wallpaper":{ "wallpaperName":"LuneOS.jpg" , "wallpaperFile":"/media/internal/wallpapers/LuneOS.jpg" , "wallpaperThumbFile":""}' Jun 23 18:05:42 { "returnValue": false, "errorText": "couldn't parse json" } Jun 23 18:05:50 kidding. there's the error Jun 23 18:06:36 yeah, i have no idea. Jun 23 18:07:29 oh, maybe got it. Jun 23 18:07:33 nope Jun 23 18:07:34 goddammit Jun 23 18:08:37 you forgot } Jun 23 18:09:33 it works for me Jun 23 18:09:53 where did i forget that? Jun 23 18:10:29 what string worked for you? Jun 23 18:11:08 luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"wallpaper":{ "wallpaperName":"butterfly.png" , "wallpaperFile":"/media/internal/wallpapers/butterfly.png" , "wallpaperThumbFile":""}}' Jun 23 18:12:12 ok, it works, but it looks like it hates the wallpaper name being mixed case Jun 23 18:13:08 changing any part of wallpaperName throws an error. changing the file doesn't actually set the preference. Jun 23 18:15:55 nice. got it. Jun 23 18:15:57 still, there's a bug. Jun 23 18:16:01 root@qemux86:~# luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"wallpaper":{"wallpaperName":"butterfly.png","wallpaperFile":"/media/internal/.wallpapers/LuneOS.jpg"}}' Jun 23 18:16:04 ended up using that Jun 23 18:16:14 but any time i change butterfly.png to anything else, it throws a goddamn fit. Jun 23 18:16:26 https://infinit.io/_/c8dY23m Jun 23 18:19:11 Herrie: ping Jun 23 18:21:59 HaDak: try luna-send -n 1 -f luna://com.palm.systemservice/wallpaper/importWallpaper '{ "target": "/media/internal/wallpapers/LuneOS.jpg" }' Jun 23 18:22:35 root@qemux86:~# luna-send -n 1 -f luna://com.palm.systemservice/wallpaper/importWallpaper '{ "target": "/usr/share/wallpapers/LuneOS.jpg" }' Jun 23 18:22:35 { Jun 23 18:22:35 "wallpaper": { Jun 23 18:22:35 "wallpaperName": "LuneOS.jpg", Jun 23 18:22:36 "wallpaperFile": "/media/internal/.wallpapers/LuneOS.jpg", Jun 23 18:22:37 "wallpaperThumbFile": "/media/internal/.wallpapers/thumbs/LuneOS.jpg" Jun 23 18:22:38 }, Jun 23 18:22:39 "returnValue": true Jun 23 18:22:40 } Jun 23 18:22:55 so setPreferences should work now Jun 23 18:23:17 yep. perfectly. Jun 23 18:23:18 nice call Jun 23 18:24:08 so, i put the file in /usr/share/wallpapers Jun 23 18:24:11 and then called these two lines Jun 23 18:24:11 root@qemux86:~# luna-send -n 1 -f luna://com.palm.systemservice/wallpaper/importWallpaper '{ "target": "/usr/share/wallpapers/LuneOS.jpg" }' Jun 23 18:24:11 root@qemux86:~# luna-send -n 1 palm://com.palm.systemservice/setPreferences '{"wallpaper":{"wallpaperName":"LuneOS.jpg","wallpaperFile":"/usr/share/wallpapers/LuneOS.jpg"}}' Jun 23 18:24:19 and everything works beautifully Jun 23 18:24:22 thumbs up Jun 23 18:28:44 also, fwiw, the email app won't launch. it says it's already running. Jun 23 18:28:54 HaDAk: now check /media/internal/wallpapers and see if LuneOS.jpg is in there. I suspect importWallpaper might put it there Jun 23 18:29:26 GodGinrai: I manually moved it there before. it may have, too though Jun 23 18:29:53 launching the email app: Jun 23 18:29:54 Jun 23 18:29:44 qemux86 LunaAppManager[313]: ** Message: ApplicationManagerService:: servicecallback_launch(): launching as: appId = [com.palm.app.email] , param json = [] Jun 23 18:29:54 Jun 23 18:29:44 qemux86 LunaAppManager[313]: ** Message: Application com.palm.app.email is already running and registered with the process manager Jun 23 18:29:54 Jun 23 18:29:44 qemux86 luna-next[315]: DEBUG: 18:29:44.204: launching app com.palm.app.email with params Jun 23 18:29:54 Jun 23 18:29:44 qemux86 LunaWebAppManager[396]: DEBUG: 18:29:44.208: void luna::WebApplication::relaunch(const QString&) Relaunching application "com.palm.app.email" with parameters "" Jun 23 18:32:03 and the settings app no longer launches T_T Jun 23 18:32:48 HaDAk: the email app is started at boot in the background, so yes, it's normal that it says it's already running Jun 23 18:33:09 but it should show up when a "relaunch" is started Jun 23 18:33:15 it doesn't Jun 23 18:33:52 looks like webappmgr's crash Jun 23 18:33:53 I don't reproduce that on N4, must be specific to qemu Jun 23 18:34:11 nizovn: you get it too? Jun 23 18:34:14 no Jun 23 18:34:17 also, this -> http://issues.webos-ports.org/issues/643 Jun 23 18:34:25 Jun 23 18:32:04 qemux86 ofonod[192]: create_ril: can't connect to RILD: No such file or directory (2) Jun 23 18:34:25 Jun 23 18:32:06 qemux86 ofonod[192]: create_ril: can't connect to RILD: No such file or directory (2) Jun 23 18:34:25 Jun 23 18:32:08 qemux86 ofonod[192]: create_ril: can't connect to RILD: No such file or directory (2) Jun 23 18:34:25 Jun 23 18:32:10 qemux86 ofonod[192]: create_ril: can't connect to RILD: No such file or directory (2) Jun 23 18:34:26 Jun 23 18:32:12 qemux86 ofonod[192]: create_ril: can't connect to RILD: No such file or directory (2) Jun 23 18:34:39 until we get the N5 port going, qemu is all i have. Jun 23 18:34:53 i think luna-next restart may help Jun 23 18:35:00 i already rebooted Jun 23 18:35:00 ofono shouldn't even be started on qemu Jun 23 18:35:19 there no sim card anyway Jun 23 18:35:26 Jun 23 18:35:18 qemux86 service.calendar.reminders[412]: [] [pmlog] LS_SOCK {"ERROR_CODE":32,"ERROR":"Broken pipe","FILE":"transport.c","LINE":1942} GLIB Error Jun 23 18:35:27 Jun 23 18:35:18 qemux86 service.calendar.reminders[412]: [] [pmlog] LS_TRANS_NET {"ERROR_CODE":32,"ERROR":"Broken pipe","FUNC":"_LSTransportSendComplete","FILE":"/home/jenkins/workspace/luneos-testing/webos-ports/tmp-glibc/work/i586-webos-linux/luna-service2/3.9.3-194+gitAUTOINC+734188a0e2-r0/git/src/libluna-service2/transport.c","LINE":1942} LUNASERVICE ERROR Jun 23 18:35:35 well, it is started. :) Jun 23 18:35:39 but i'll ignore it Jun 23 18:37:43 so, i rebooted, and tapped the email icon again Jun 23 18:37:45 this is what i get Jun 23 18:37:45 * HaDAk Jun 23 18:36:43 qemux86 LunaSysMgr[329]: Unknown keyword: optional Jun 23 18:37:45 * HaDAk Jun 23 18:36:44 qemux86 LunaAppManager[330]: Unknown keyword: optional Jun 23 18:37:45 * HaDAk Jun 23 18:36:44 qemux86 LunaAppManager[330]: ** Message: ApplicationManagerService:: servicecallback_launch(): launching as: appId = [com.palm.app.email] , param json = [] Jun 23 18:37:45 * HaDAk Jun 23 18:36:44 qemux86 LunaAppManager[330]: ** Message: Application com.palm.app.email is already running and registered with the process manager Jun 23 18:37:46 * HaDAk Jun 23 18:36:44 qemux86 luna-next[331]: DEBUG: 18:36:44.082: launching app com.palm.app.email with params Jun 23 18:37:47 * HaDAk Jun 23 18:36:44 qemux86 LunaWebAppManager[401]: DEBUG: 18:36:44.082: void luna::WebApplication::relaunch(const QString&) Relaunching application "com.palm.app.email" with parameters "" Jun 23 18:37:48 * HaDAk Jun 23 18:36:44 qemux86 systemd[1]: serial-getty@ttyS0.service has no holdoff time, scheduling restart. Jun 23 18:37:49 * HaDAk Jun 23 18:36:44 qemux86 systemd[1]: Stopping Serial Getty on ttyS0... Jun 23 18:37:50 * HaDAk Jun 23 18:36:44 qemux86 systemd[1]: Starting Serial Getty on ttyS0... Jun 23 18:37:51 * HaDAk Jun 23 18:36:44 qemux86 systemd[1]: Started Serial Getty on ttyS0. Jun 23 19:41:35 HaDAK, copying the preinstalled wallpapers is intentional. Jun 23 19:42:08 That allows the user to change the contents of the wallpapers folder. Jun 23 19:43:01 ok **** ENDING LOGGING AT Fri Jun 24 02:59:58 2016