**** BEGIN LOGGING AT Sun May 22 02:59:59 2016 May 22 06:51:13 morning May 22 06:51:16 Tofe: ping May 22 10:21:09 Tofe: You awake yet :P ? May 22 10:38:18 Hmmm. Switching data usage on or off in Settings works but abruptly kills the app. I had assumed that's what Tofe's telephonyd patch was for. Evidently not. May 22 10:45:09 elvispre: Hmmz May 22 10:45:10 Tjat May 22 10:45:16 That's not very graceful May 22 10:51:07 Herrie: It has been like that since (I think) the tech / build system upgrade (from Fido). That's why Tofe's patch yesterday caught my eye. May 22 11:28:32 elvispre: Hmmz I don't really have any device I can do any testing/debugging with currently... Sim slot on Maguro is still bust and Mako didn't return yet :( May 22 14:49:00 Tofe: You around? Got a small QT/QML question. May 22 14:51:13 scoutcamper: ping May 22 14:51:21 ka6sox: ping May 22 14:51:24 Either of you I guess May 22 16:12:32 Herrie|Laptop, semi-pong? May 22 16:13:33 ka6sox: Seems the rsync between bonaire and milla has some issues still: http://jenkins.nas-admin.org/job/luneos-testing_workspace-rsync/lastBuild/console May 22 16:14:34 Probably some entry missing somewhere in an iptable? May 22 16:14:41 might be May 22 16:15:00 right now I'm in the middle of a shower remodel and covered in drywall dust…so I won't be able to look at it. May 22 16:16:11 ka6sox: Understandable ;) May 22 16:20:12 ka6sox: Nothing too urgent, just thought to let you & scoutcamper know that it's an issue. May 22 17:26:49 Hi May 22 17:27:17 Herrie: pong May 22 17:27:17 Tofe: Hi ;) May 22 17:27:48 So you have a QML question? May 22 17:27:49 Just a simple question, seeing if I saw stuff correctly. QML doesn't really have a way to properly deal with a large JSON right? SQLite DB would be prefered there, am I correct? May 22 17:28:08 I see there's some stuff for lists, but nothing really fancy like querying May 22 17:28:20 I'm looking into http://issues.webos-ports.org/issues/981 May 22 17:28:22 Well, regarding JSON, QML is as capable as Javascript, that is to say not that much May 22 17:28:36 They recently switched from a SQLite DB to JSON file May 22 17:28:43 But it will have 20.000 or so entries May 22 17:29:03 So anyway doing that from JSON imho won't be very efficient processing wise, SQLIte should be more capable there, correct/ May 22 17:29:04 "And it was then that I saw my RAM chip melt" May 22 17:29:39 The problem with the JSON approach is that everything is in memory at some point May 22 17:29:44 Tofe: Yeah LOL May 22 17:29:48 OK so SQLITE? May 22 17:30:02 If we have a way to deal with it, yes May 22 17:30:10 I have it locally changed already (just took old script and changed a few bits, provide it in SRC_URI and that's it ;) Run it ;) May 22 17:30:15 And it will be deployed May 22 17:30:38 We still need to do the backend stuff in browser to make it work, but that shouldn't be too hard eventually May 22 17:30:58 Not sure how much QML can do natively with SQLite May 22 17:31:47 Tofe: https://doc.qt.io/qt-5/qtquick-localstorage-qmlmodule.html May 22 17:31:50 That should do May 22 17:31:57 We'll be doing a simple query basically :P May 22 17:32:08 Yes, if we manage to package the sqlite db into the localstorage path, we should make it quite nicely May 22 17:32:59 Tofe: I put it in browser app path for now usr/palm/applications/org.webosports.app.browser/QML/utils for now, but can change that May 22 17:34:12 yes, let's do that as a start; I don't know if we'll be able to share it with other apps anyway May 22 17:34:48 We could put it in LunaWebAppManager and then have some LS2 calls to fetch it, but it seems overkill May 22 17:35:06 Tofe: We shouldn't need to really.. Basically what it does is when user wants to load a page it should check if there's a https rewrite rule and rewrite it May 22 17:35:12 Only browser should really do it May 22 17:35:26 When any other app opens an URL it shoudl redirect through browser anyway May 22 17:35:32 So that logics should kick in May 22 17:35:32 ok, so let's have it like you said May 22 17:38:00 Tofe: https://github.com/webOS-ports/meta-webos-ports/commit/22111b8b9eef39c7bc1cc88c9e1efb6854165c2b May 22 17:38:12 Tested locally, seems to work fine and end up in image at right place :D May 22 17:39:24 lgtm May 22 17:39:25 Tofe: for qtscenegraph-adaptations seems we might be able to drop our 2 patches and follow upstream directly: https://github.com/mer-hybris/qtscenegraph-adaptation/commit/a4d55a789d4424a95a55f5225a7dc0b4dd12d885 and https://github.com/mer-hybris/qtscenegraph-adaptation/commit/dbad7402b2886a556bcce5b50adfedc8b68de7a9 seem to have the same effect as our current patches ? May 22 17:39:37 Just I'm not sure how to test this? May 22 17:39:53 I can see it builds OK here, but not sure how to see if it's behaving as expected? May 22 17:40:44 Their 5.6 solution is slightly different from yours it seems, but seems to do the same thing May 22 17:40:50 I'm not sure about the second one, but the first one is exactly my patch, yes May 22 17:41:26 It's just eventually not splitted the same way, but the result is the same May 22 17:42:24 Second one does a few more cases it seems. Original morphis patch only did one of them May 22 17:43:17 ok, well, it's worth a test; just drop our patches and take upstream; if it still builds and you don't see a disaster on device, it should be fine :) May 22 17:45:43 Tofe: Disaster as not booting or what would I see when a disaster occurs? May 22 17:45:51 Build is fine ;) May 22 17:45:59 Didn't test it yet on device May 22 17:46:02 But image is ready May 22 17:46:56 Doing some translation work for the Mrs now ;) May 22 17:48:32 Will test it later tonight :) May 22 17:52:25 Disaster as no graphics May 22 17:54:51 Tofe: OK that's easy enough to spot :D May 22 21:14:47 Hey guys, I'm getting an "application database is almost full error" on my Pre3. The last time I got something like this, I recall my Pre3 eventually wiping itself. What precautions can I take to make sure this doesn't happen? May 22 21:14:58 * full" error May 22 22:03:43 GodGinrai: I had the database almost full error on my Pre3 ages and ages ago. May 22 22:04:24 I found some instructions to resolve it online. Might have been in the webOS Nation forums. Might have been on webOS Internals. May 22 22:06:10 Basicly, it was uninstall Agendaz (which was spamming the log), delete big log files to fix the immediate issue, and then do some dynamic partition resizing to make it much less likely. May 22 22:26:05 elvispre|s: Where can I find instructions on deleting big log files and resizing the partitions? May 22 22:26:45 GodGinrai: It was two years ago for me. Let me see if I can find it again... May 22 22:34:19 GodGinrai: If you have InternalzPro you can browse /var/db to see if there are any massive log files in there (and delete obviously old ones, if you are comfortable doing that). May 22 22:41:23 GodGinrai: http://www.webosnation.com/workaround-application-database-full-error May 22 22:41:36 GodGinrai: http://www.webos-internals.org/wiki/MojoDB_Partition_Resize May 22 22:42:57 thanks May 22 22:43:01 I'll take a look at these May 23 01:37:48 For Zap and PopupCalc, I’m getting “Failed to load resource” for file:///usr/palm/frameworks/enyo/0.10/framework/build/enyo-build.js Failed to load resourceenyo.xhr.request @ enyo-build.js:1756 May 23 01:38:15 … the file does exist, so I’m puzzled what’s going on. May 23 01:38:40 0.10? seems like a fairly old version of Enyo. May 23 01:38:59 is that the version that was initially shipped in webos 3? May 23 01:39:27 Yeah, it’s the same as 1.0 May 23 01:40:01 ah May 23 01:40:15 The app, overall, is running, which means it must have loaded Enyo 1. May 23 01:40:44 yea, sounds like in the process of loading enyo 1, it failed to load a particular aspect May 23 01:40:58 based on that error message May 23 01:46:47 DougReeder: line 1756 appears to happen when the XHR errors out, so whatever url those apps usually access are probably sending something unexpected: https://github.com/enyojs/enyo-1.0/blob/master/framework/build/enyo-build.js#L1756 May 23 01:47:37 Hmm, I understand it to say the file can’t be accessed. But the file can be accessed from the command line May 23 01:47:57 Do apps run in a chroot jail? May 23 01:48:30 I can't answer that one, I haven't really looked through webos's source enough May 23 01:55:08 The Enyo 1 Calendar app gets the same error. May 23 01:55:20 …and appears to run normally. May 23 01:58:55 weird May 23 01:59:18 dkirker: you don't happen to be at your computer currently, do you? May 23 02:02:06 elvispre|s: df -h shows my /var/db to have only 31% used. Some other partitions look to have higher use %s. Does this error relate to more than just /var/db? **** ENDING LOGGING AT Mon May 23 02:59:58 2016