**** BEGIN LOGGING AT Thu Feb 05 02:59:59 2015 Feb 05 05:17:21 I’ve found a regression in Americano - the autolinker isn’t run when it should. Feb 05 05:18:22 The com.palm.contact:1 records in DB8 aren’t being linked to com.palm.person:1 records automatically. Feb 05 05:19:31 calling luna-send -n 1 palm://com.palm.service.contacts.linker/forceAutolink '{}' creates the person:1 records. Feb 05 05:36:00 Where is the watch on com.palm.contact:1 records set? Feb 05 06:18:30 Did it work before? Feb 05 06:46:37 DougReeder: /etc/palm/activities/com.palm.service.contacts.linker/com.palm.service.contacts.linker.json Feb 05 06:48:56 Yes, it worked fine in the previous verson Feb 05 06:53:10 The activitity loks ok, but I havn’t reviewed the properties in a while. Feb 05 06:57:55 you can also look if the activity is registered correctly with com.palm.activitymanager/listAll Feb 05 06:59:03 "Unknown method \"listAll\" for category \"/\"" Feb 05 07:00:06 Anyway, I needto get to bed. I can check more things tomorrow. Feb 05 07:00:47 or was it "list"? Feb 05 07:02:21 luna-send -n 1 luna://com.palm.activitymanager/list '{"details":true,"subscribers":true,"current":true,"internal":false}' Feb 05 08:56:15 morphis : ping Feb 05 08:56:37 djichthys: pong Feb 05 08:57:28 Hi morphis : Just trying to update my build ....... some sort of git error when I was doing make update ....... Feb 05 08:57:43 djichthys: can you paste the error somewhere? Feb 05 08:58:12 https://bpaste.net/show/6e03d66c7e88 Feb 05 08:58:52 I commented out my stuff in local.conf ...... to get an updated build Feb 05 08:59:20 djichthys: you did an make update? Feb 05 08:59:42 i did make update ..... thats what was throwing the error. Feb 05 09:00:07 also did make update-conffiles && make update as well ... same error Feb 05 09:00:12 I see Feb 05 09:00:19 JaMa: you rebase meta-smartphone? Feb 05 09:00:33 seems like commit * 23cbf37 (HEAD, dizzy) meta-hp: linux-hp-tenderloin: remove v4l2 support Feb 05 09:00:34 is gone Feb 05 09:01:00 djichthys: for now edit common/conf/layers.txt Feb 05 09:01:24 and exchange 23cbf378cd0c36987f6abb629d04fa3601e71ac2 with 6d780de3c5f73aff9e92a91e6e6142d734de8f39 Feb 05 09:02:15 OK Will try that now .... Feb 05 09:02:28 JaMa: or is the authoritive source for meta-smartphone still on http://git.shr-project.org/? Feb 05 09:02:33 djichthys: that should work Feb 05 09:04:20 morphis : worked cheers : Feb 05 09:04:37 it should be in https://github.com/shr-distribution/meta-smartphone/commits/dizzy which isn't rebased anymore Feb 05 09:05:11 JaMa: I am pretty sure I pushed it there Feb 05 09:05:38 only rebase I see is jansa/master branch Feb 05 09:05:47 pushed it again now Feb 05 09:06:00 did you push it to github or git.shr-project.org? Feb 05 09:06:03 github Feb 05 09:06:19 ah git.shr-project.org is for push Feb 05 09:06:23 good Feb 05 09:06:26 github is only read-only mirror Feb 05 09:06:38 always overwritten from git.shr-project.org Feb 05 09:07:19 that was what I was wondering about Feb 05 09:07:28 however pushed it to shr-project now Feb 05 09:07:47 ok I see it now Feb 05 09:07:54 it should be synced to github in few mins Feb 05 09:08:04 and to gitorious as well :) Feb 05 09:09:04 good Feb 05 09:09:14 we really still have the gitorious mirror? Feb 05 09:12:44 https://gitorious.org/shr yes both are synced by the same cron job Feb 05 09:14:32 btw the same about write does apply for shr/linux repo Feb 05 09:14:45 but I see that you were probably pushing it to git.shr-project.org Feb 05 09:15:14 yeah Feb 05 11:51:42 Herrie: basically to write good QML code there are only a few things you have to respect Feb 05 11:53:14 1. Structure your code and don't write everything into one file. Create components for things which can live in their own "world" Feb 05 11:53:52 like a car has four tires for each you can use the same component as all will act the same way Feb 05 11:54:06 where things are different use properties to make components configurable Feb 05 11:54:44 2. Use a consistent naming scheme. Don't use single characters as abreviations and prefer lower camelCase Feb 05 11:55:06 3. Write your code in a way that others can easily understand what you're doing Feb 05 11:55:24 like not f = 100 * 9,81 Feb 05 11:55:37 weight = 100; Feb 05 11:55:44 gravity = 9.81; Feb 05 11:55:49 f = weight * gravity; Feb 05 11:56:27 4. Prefer interfaces between components rather than accessing others directly by name Feb 05 11:56:39 use property change signals or signals to communicate between them Feb 05 13:00:37 test Feb 05 13:01:10 morphis: Sorry log shows some stuff was this aimed at me? Just general guidelines or...? Feb 05 13:01:40 It looked like something random out of nowhere (well I guess you've seen some of my code LOL :P) Feb 05 13:26:43 Herrie|Veer: Herrie: basically to write good QML code there are only a few things you have to respect Feb 05 13:26:43 1. Structure your code and don't write everything into one file. Create components for things which can live in their own "world" Feb 05 13:26:43 like a car has four tires for each you can use the same component as all will act the same way Feb 05 13:26:43 where things are different use properties to make components configurable Feb 05 13:26:44 2. Use a consistent naming scheme. Don't use single characters as abreviations and prefer lower camelCase Feb 05 13:26:47 3. Write your code in a way that others can easily understand what you're doing Feb 05 13:26:49 like not f = 100 * 9,81 Feb 05 13:26:51 weight = 100; Feb 05 13:26:53 gravity = 9.81; Feb 05 13:26:55 f = weight * gravity; Feb 05 13:26:57 4. Prefer interfaces between components rather than accessing others directly by name Feb 05 13:26:59 use property change signals or signals to communicate between them Feb 05 13:27:01 Herrie|Veer: just because you said you're not a good programmer :) Feb 05 13:29:40 Yeah lol Feb 05 13:46:14 I think you understand why I don't code for a living LOL :P Feb 05 13:49:03 :) Feb 05 13:49:20 Herrie|Veer: but with respecting these small things you can be a lot better very easily Feb 05 13:51:08 That's true :) Already managed to improve with the browser :P Feb 05 13:51:17 Split stuff into components already Feb 05 13:52:12 great Feb 05 13:56:03 Need to read up on signals a bit it seems Feb 05 14:48:54 Herrie|Veer: signals are pretty simple Feb 05 14:49:01 you define them in your component Feb 05 14:49:10 signal mySignal(int param, string param) Feb 05 14:49:16 then you call it whenever you need it Feb 05 14:49:21 mySignal(10, "test") Feb 05 14:49:52 registering on the signal laters works like this Feb 05 14:50:03 onMySignal: { console.log(param); } Feb 05 14:52:23 morphis: are you talking about enyo Signals? Feb 05 14:52:51 or some signals in QML? Feb 05 15:01:20 GodGinrai: it's QML signals here Feb 05 15:01:54 ah, ok Feb 05 15:12:41 palm://com.palm.activitymanager/list returns several activities, one of which appears to be related to Contacts, but it’s not clear what triggers it. It’s not periodic. https://gist.github.com/DougReeder/3b870ce41e0a6c9a820a Feb 05 15:13:14 Can anyone else reproduce http://issues.webos-ports.org/issues/853 ? Feb 05 15:19:45 Garfonso: any clue? Feb 05 15:20:15 DougReeder: that one doesn't seem to be related to the linker, right? Feb 05 15:20:34 DougReeder: need to try that later Feb 05 15:21:50 With 853, it appear the contacts linker isn’t being run when it should. Feb 05 15:22:14 When I force the linker to run, it appears to do exactly what it should. Feb 05 15:22:21 Does that answer your question? Feb 05 15:23:36 DougReeder: I meant what you've posted here: https://gist.github.com/DougReeder/3b870ce41e0a6c9a820a Feb 05 15:24:45 Oh, yes. That gist shows an activity, but I’m not sure what the activity does. It appears to be different than the contacts linker. Feb 05 15:25:40 … and when I quit the Contacts app, that activity goes away. Feb 05 15:25:50 Is there an Activity for every open app, then? Feb 05 15:30:45 ah right Feb 05 15:31:00 but why is it com.palm.app. Feb 05 15:31:04 and not org.webosports.app Feb 05 15:32:29 DougReeder: hm, I get the person:1 created here Feb 05 15:32:42 it's a local build but not much different Feb 05 15:33:13 We change the ID when we install the app, to match the old Contactys app. Feb 05 15:33:45 right Feb 05 15:35:11 DougReeder: on which build are you getting this? Feb 05 15:37:07 Americano. http://build.webos-ports.org/releases/americano/images/mako/luneos-dev-package-mako.zip Feb 05 15:39:05 On my TP runnning the previous version, there’s an Activity with the description "This is the watch for kicking off the linker on changes" Feb 05 15:40:44 … but that doesn’t have a trigger either. Hmm Feb 05 15:41:46 I guess it’s not clear to me if, when you set a DB8 Watch, a correspondind Activity is created. Feb 05 16:00:31 DougReeder: not sure, but watches are pretty much like subscriptions Feb 05 16:00:39 so possible that they are maintained only within db8 Feb 05 16:02:17 DougReeder: but the activity config file is there? Feb 05 16:04:52 The file is there. Feb 05 16:05:51 can you run /usr/bin/luna-send -n 1 palm://com.palm.configurator/run '{"types":["activities"]}' Feb 05 16:05:54 Yeah, so far as I know, a watch should not require an activity. Feb 05 16:06:35 ON the TP running the previous version, that returns {"errorCode":-1000,"errorText":"Partial configuration - 14 ok, 1 failed","returnValue":false} Feb 05 16:07:14 when you restart the device and check the journal then for the configuration-async run does it give you the same error message? Feb 05 16:08:20 What’s the easiest way to check the journal for the kernel we’re using? Feb 05 16:09:37 you only want the kernel version? Feb 05 16:10:48 I’ve forgotten how to check the journal. Feb 05 16:11:21 ah Feb 05 16:11:26 journalctl --no-pager Feb 05 16:12:15 or filter with: journalctl --no-pager -u configurator-async Feb 05 16:16:06 Feb 05 16:14:05 mako systemd[1]: Starting webOS service to create necessary database schema for applications... Feb 05 16:16:06 Feb 05 16:14:05 mako luna-send[745]: {"errorCode":-1000,"errorText":"Partial configuration - 15 ok, 1 failed","returnValue":false} Feb 05 16:16:07 Feb 05 16:14:06 mako systemd[1]: Started webOS service to create necessary database schema for applications. Feb 05 16:17:16 is the activity now registered? Feb 05 16:18:19 com.palm.configurator/run retunes {"errorCode":-1000,"errorText":"Partial configuration - 15 ok, 1 failed","returnValue":false} also Feb 05 16:20:13 it should print some more messages into the journal Feb 05 16:21:05 DougReeder: like https://bpaste.net/show/2e7c2bf6ac3c Feb 05 16:21:49 the failing one seems to be from mojodb Feb 05 16:24:03 When I run journalctl --no-pager -u activitymanager, I get https://gist.github.com/DougReeder/6f0ecc6f44fbc9372340 Feb 05 16:25:27 looks like the same as I get Feb 05 16:25:31 which includes DB8 OLD_ACTIVITY_NO_REPLACE {"activity_name":"linkerWatch","creator_name":"serviceId:com.palm.service.contacts.linker","old_activity":164} Feb 05 16:25:35 however doesn't help us yet Feb 05 16:25:59 yeah, but that means afaik only that the activity on the disk is not different from the loaded one so it does not replace it Feb 05 16:26:44 BTW, this separate issue sounds like it would be easy to fix: Interval must be a number of daysd, or one of: 12h, 6h, 3h, 1h, 20m, 30m, 15m, 10m or 5m" Feb 05 16:27:25 DougReeder: yeah Feb 05 16:27:40 there is already a bug in the tracker for this one Feb 05 16:28:29 Hmm, after reboot, the contact linker appears to be running correctly. Feb 05 16:29:03 And I probably didn’t test it on the first boot in the previous version of LuneOS. Feb 05 16:29:35 So, it looks like this may be an old bug we didn’t catch before. Feb 05 16:30:27 so a problem appearing when booting the device the first time with LuneOS? Feb 05 16:31:07 * DougReeder nods Feb 05 16:31:19 hm Feb 05 16:31:31 can you extend the bug with this? Feb 05 16:31:48 Just did. Do you want me to add any of the journal messages? Feb 05 16:32:28 no Feb 05 16:32:33 shouldn't be needed Feb 05 16:36:38 I don’t remember clearly, but doesn’t webOS, after you do some first use stuff, reboot? So, when you start doing normal stuff, it’s actually the second boot? Feb 05 16:36:47 no Feb 05 16:36:58 afaik it just restarts LunaSysMgr Feb 05 16:37:06 if I remember well Feb 05 16:37:41 but there is another point we're missing Feb 05 16:38:15 the activitymanager waits for some parts until the system is fully booted Feb 05 16:38:27 which is reported by com.palm.systemmanager/getBootStatus Feb 05 16:38:36 not sure if we correctly forward the right state yet Feb 05 16:39:36 looks like that is the problem Feb 05 16:40:35 see https://github.com/openwebos/activitymanager/blob/master/src/ActivityManager.cpp#L350 Feb 05 16:41:08 Hmm Feb 05 16:42:22 maybe it a timing thing as activitymanager needs LunaSysMgr for this but LunaSysMgr is started after activitymanager Feb 05 16:42:27 not sure, needs more investigation Feb 05 16:47:51 * DougReeder nods Feb 05 17:37:59 http://www.gadgtspot.com/2015/02/04/luneos-updated-americano-brings-tons-bug-fixes/ Feb 05 17:57:13 * DougReeder nice! Feb 05 19:19:31 morphis: Any chance on a build with the VKB fix from Tofe soon? Feb 05 19:23:06 Herrie: hopefully I will have some time for this today Feb 05 19:27:02 :D Feb 05 19:27:12 Will this also include you volume button fix? Feb 05 19:27:18 OR still working on that one? Feb 05 19:53:24 morphis, DougReeder: I saw 853, too and it only happens after first boot. Maybe activity configuration is not loaded during first boot. Feb 05 19:53:52 * DougReeder nods Feb 05 19:54:42 But I did not really investigate it. Feb 05 19:57:11 I would guess that the Activity derives from the Watch. So, it seems possible that the jumpstart mechanism is not starting Activities. Bu tI don’t know any details of the implementation of either. Feb 05 19:57:59 Tofe: merged both PRs. Can you send a PR for meta-webos-ports too? Feb 05 19:58:14 sure Feb 05 19:58:27 thanks Feb 05 20:08:46 morphis: https://github.com/webOS-ports/meta-webos-ports/pull/106 Feb 05 20:08:57 Tofe: thanks Feb 05 20:16:24 Tofe: https://github.com/webOS-ports/luna-next/pull/97 Feb 05 20:17:56 Tofe: https://github.com/webOS-ports/luna-next-cardshell/pull/183 Feb 05 20:18:55 morphis: looks good. ready to merge? Feb 05 20:18:59 Tofe: sure Feb 05 20:19:19 done Feb 05 20:29:59 morphis: You seen this? https://github.com/webOS-ports/org.webosports.app.calculator/pull/17 Feb 05 20:30:22 Herrie: yeah Feb 05 20:30:25 Has 2 different calculator layouts (legacy + new one) and 90 tests. You can swipe to right for 2nd and 3rd panel. App Menu will be implemented Feb 05 20:30:35 Herrie: fine with merging it? Feb 05 20:31:14 I'll PR Enyo 2.5.1.1 +webos-lib update to him and then he can update his PR with it Feb 05 20:31:27 App Menu would be good, gave some pointers from Preware Feb 05 20:32:09 Herrie: can't we merge his work first and then update enyo? Feb 05 20:33:07 Can also do that Feb 05 20:33:11 Potatoe, potatoe Feb 05 20:33:20 :) Feb 05 20:33:49 Let me do that Feb 05 20:33:52 that way we don't give him more work Feb 05 20:33:57 Enyo 2.5.1.1 is straightforward Feb 05 20:34:01 Tested it already with his changes Feb 05 20:34:04 Let me organize it Feb 05 20:34:09 ah ok Feb 05 20:34:13 then I am fine with any order Feb 05 20:36:18 new testing builds are triggered Feb 05 20:39:50 Herrie: btw. my ongoing work for the phone app is here: https://github.com/webOS-ports/org.webosports.app.phone/commits/qml-app Feb 05 21:02:19 We're still on Dizzy? Feb 05 21:03:47 morphis: https://github.com/webOS-ports/meta-webos-ports/pull/107 Feb 05 21:05:02 Herrie: sure **** ENDING LOGGING AT Fri Feb 06 02:59:59 2015