== Meeting information == * #ubuntu-touch-meeting: Weather app meeting, 07 Nov at 11:03 — 12:48 UTC * Full logs at [[http://ubottu.com/meetingology/logs/ubuntu-touch-meeting/2014/ubuntu-touch-meeting.2014-11-07-11.03.log.html]] == Meeting summary == ''LINK:'' https://bugs.launchpad.net/ubuntu-weather-app/+bug/1383042 ''LINK:'' http://paste.ubuntu.com/8866390/ ''LINK:'' http://paste.ubuntu.com/8866440/ ''LINK:'' http://imgur.com/xPD6Sml ''LINK:'' http://imgur.com/xPD6Sml zbenjamin == Vote results == == Done items == * (none) == People present (lines said) == * popey (120) * m-b-o (106) * zbenjamin (90) * dpm (4) * meetingology (3) * davmor2 (1) == Full Log == 11:03 #startmeeting Weather app meeting 11:03 Meeting started Fri Nov 7 11:03:42 2014 UTC. The chair is popey. Information about MeetBot at http://wiki.ubuntu.com/meetingology. 11:03 11:03 Available commands: action commands idea info link nick 11:03 How are you? 11:03 fine 11:03 tgif! 11:05 :D 11:05 https://bugs.launchpad.net/ubuntu-weather-app/+bug/1383042 11:05 * popey clicks 11:05 wow, that's odd 11:05 it happens only on the device. I want to inspect it, but I can't start the app on the device 11:06 never seen that 11:06 p, li { white-space: pre-wrap; } 12:04:45: Could not find the manifest.json file in /home/martin/ubuntu/build-ubuntu-weather-app-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_14_10_utopic-default/.ubuntu-sdk-deploy. Please check if it is added to the install targets in your project file 11:06 I do, it was definitely not the case when I've reimplmeneted the Sheets as Pages 11:07 ^ so I can't start the app from QtC. This is not related to the missing CMAKE rules task 11:07 just a branch of trunk 11:07 let me try here... 11:10 gah, doesn't work here, but differently 11:10 I get a popup "Please attach your device" 11:11 * popey disabled/re-enabled developer mode 11:12 hello! 11:12 hey 11:12 we're discussing weather app 11:12 we have two issues... m-b-o has this:- 11:12 12:04:45: Could not find the manifest.json file in 11:12 /home/martin/ubuntu/build-ubuntu-weather-app-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_14_10_utopic-default/.ubuntu-sdk-deploy. Please check if it is added to the install targets in your project file 11:12 when he tries to start lp:ubuntu-weather-app from qtc 11:12 any ideas? 11:13 is just he experiencing that problem? or is it always happening with weather app? 11:13 zbenjamin can't say :) 11:14 it's an unmodified branch of trunk 11:14 well, i get a different problem 11:14 you guys sure the configure step worked? 11:15 zbenjamin well, it's complicated 11:15 there's a new cpp extension added, for calculating timzones offsets 11:15 but the extension isn't used by now in the QML 11:15 zbenjamin, so we've had this problem with other core apps that started being pure qml and then we added C++ plugins. After we converted them to cmake, they wouldn't launch with qmlscene on the sdk. We solved this by creating a binary launcher. You can see this in file manager, terminal, reminders. On weather, we also added a c++ plugin recently, but we haven't done this migration to a binary launcher - so it's still using qmlscene 11:16 in another brnach i've used th extension and there are some cmake rules missing 11:16 let me try 11:17 zbenjamin: just fyi, if you do get it to launch on device, you need an API key in key.js which I am pm'ing you now.. 11:17 great for me it just works ... 11:18 zbenjamin on the device? 11:18 yes 11:18 ☹ 11:18 zbenjamn which kit? UbuntuSDk for armhf? 11:19 yeps 11:19 but it seems to use qmlscene, didn't you say a binary launcher? 11:20 dpm ^ 11:21 zbenjamin, "but we haven't done this migration to a binary launcher" ^ 11:21 dpm: ah sorry 11:22 so weather still uses qmlscene and it's a qml + C++ plugin app 11:22 yeps 11:22 that works as long as the plugins are installed into the correct directory 11:22 whereas terminal, reminders & co. are also qml + C++ plugin, but they have a binary launcher 11:22 also supported yes 11:23 m-b-o: but it seems for some reason that your manifest file is not created 11:23 yes 11:23 m-b-o: please delete the build directory and the kit from the project. Then add it again 11:24 if the manifest file is not created thats usually because of a cmake project files issue 11:24 zbenjamin no change 11:24 or misconfiguration of the build/package steps. For example if someone would remove the package step 11:24 m-b-o: can you check if there is a manifest.json in the .ubuntu-sdk-deploy directory in your builddir? 11:25 weather app doesn't use th eplugin for now, so the errors aren't that visible 11:25 manifest.json.in is in there 11:25 see thats the error 11:25 it has to be named manifest.json 11:26 you 100% sure you did not change anything on the files? 11:26 nope 11:26 please doublecheck with bzr status 11:26 cleanbranch 11:27 this one: lp:ubuntu-weather-app 11:27 yes 11:27 did you set CLICK_MODE to off? 11:27 this is weird ... 11:27 option(CLICK_MODE "Installs to a contained location" off) 11:27 ? 11:27 it has to be on 11:28 yes, it was on 11:28 can you please pack up the think and put it somewhere for me? 11:28 tgz the source directory 11:28 yepp, one moment 11:29 while he does that 11:29 zbenjamin: I'm getting a different issue, where qtc sits there with a dialog saying "Please attach your device" 11:29 (its attached and I see it in devices) 11:30 do you have multiple devices registered to qtc? 11:30 yes 11:30 if yes, did you attach the correct one for the kit you are using? 11:30 yes 11:30 i have one armhf kit 11:30 oh hang on 11:30 no kit defined for this device 11:31 :) 11:31 ok, i didnt have one, now i do 11:31 it still does the same 11:31 did you add the new kit to the project and then actually use it? 11:33 how do you mean "actually use it"? 11:33 when i launched I only specified one kit, the armhf one 11:33 every device has its own kit 11:33 which means if you have 3 devices, you will have 3 kits and everyone has its own project configuration 11:34 so in my device I hit autocreate, it now has a kit 11:34 go to the projects tab and use the "Add Kit" button to add you new kit to the project, then switch to it by clicking on it 11:35 huh, now it works 11:35 confused 11:36 zbenjamin send you the link 11:37 got it 11:37 popey: every device has its own project configuration 11:37 popey: you can have multiple devices attached and then switch between them 11:37 theoretically at least ;) 11:38 m-b-o: are you using in source build? 11:39 waht do you mena? 11:39 mean 11:39 m-b-o: if your builddir is your project dir 11:39 nope 11:39 and you used the cmake project yes? 11:40 I've changed nothing 11:40 so it launches on device for me, i just branched lp:ubuntu-weather-app and did "qtcreator CMakeLists.txt" and now it launches.. phew! 11:41 even your tgz works for me 11:41 * zbenjamin gets scared ... 11:42 hmmm, I've updated another partition on my computer to utopic yesterday, should give that one a try perhaps? 11:42 m-b-o: the manifest.json.in must come from somewhere 11:42 in /click there's one 11:43 yes but that one is configured with : configure_file(manifest.json.in ${CMAKE_CURRENT_BINARY_DIR}/manifest.json) 11:43 so its explicite 11:43 explicitely named manifest.json after configure 11:43 ok we try one thing 11:43 can you do the following: 11:43 cd ~ 11:44 click chroot -a armhf -f ubuntu-sdk-14..10 run 11:44 cd ubuntu 11:44 mkdir build-test 11:44 cd build-test 11:44 cmake ../source_dir_name 11:44 make 11:44 oh, th emanifest.json.in in the dir I've copied over and fogrot to delete befopre packaging 11:45 make DESTDIR=.ubuntu-sdk-deploy install 11:45 then check if there is a manifest.json 11:46 Scanning dependencies of target com.ubuntu.weather_weather.desktop 11:46 [ 1%] Merging translations into com.ubuntu.weather_weather.desktop 11:46 /bin/sh: 1: INTLTOOL_MERGE-NOTFOUND: not found 11:46 CMakeFiles/com.ubuntu.weather_weather.desktop.dir/build.make:49: recipe for target 'CMakeFiles/com.ubuntu.weather_weather.desktop' failed 11:46 make[2]: *** [CMakeFiles/com.ubuntu.weather_weather.desktop] Error 127 11:46 CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/com.ubuntu.weather_weather.desktop.dir/all' failed 11:46 make[1]: *** [CMakeFiles/com.ubuntu.weather_weather.desktop.dir/all] Error 2 11:46 Makefile:123: recipe for target 'all' failed 11:46 make: *** [all] Error 2 11:46 soryy, forgot to pastebin 11:46 /bin/sh: 1: INTLTOOL_MERGE-NOTFOUND: not found <<<< 11:46 so thats the problem 11:47 the configure step does not run 11:47 exit 11:47 click chroot -a armhf -f ubuntu-sdk-14.10 install intltool 11:47 That's actually the same error message, wehn I'Ve started Qtc with "qtcreator CMakeLists.txt" 11:47 you are missing build dependencies 11:48 dpm: popey: ^^ always check the compile output ... if there are errors after switching the kit compile also will fail 11:50 zbenjamin now "cmake ../src-dir" gives me another eero" 11:50 show me 11:50 you do it inside the chroot again? 11:50 http://paste.ubuntu.com/8866390/ 11:50 yes 11:50 m-b-o: you get the same errors when you hit "run cmake" in the context menu of a project in QtC 11:50 m-b-o: thats maybe easier for you 11:51 m-b-o: when did you create this chroot? 11:52 m-b-o: i think that is a chroot error qtcreator works around. Can you try to hit "run cmake" from qtc? 11:52 it builds in QTC 11:52 goodie :) 11:52 and runs? 11:53 nope, but fails on the device: 11:53 http://paste.ubuntu.com/8866440/ 11:54 do you see a shell on the device? 11:54 is the phone unlocked? 11:54 (i mean, at the dash) 11:54 yes, in dev mode 11:54 popey: we do automatic unlocking 11:54 popey: you don't need to unlock manually anymore 11:55 neat 11:55 ah, another instance was still running 11:55 now ut happens! 11:55 :) 11:55 ah :) 11:55 \o/ 11:56 thanks! 11:56 awesome - o :) 11:56 zbenjamin where to add the missing dependency? debian/... ? 11:56 no, i think its only missing inside your chroot 11:56 m-b-o: click does not do dependency tracking i'm afraid 11:56 and click pacakges don't do depen... 11:56 as he said 11:56 okay 11:56 maybe when we build the chroots we should add some of these "must have" things? 11:57 popey: if you create a chroot today it will have most of it 11:57 popey: problem is old chroots can't get new deps 11:57 zbenjamin poepy good to know! 11:58 ahh, neat! 11:58 thanks for your time zbenjamin ! 11:58 m-b-o: however you can do apt-get install build-dep -a armhf ubuntu-weather-app in the chroot 11:58 m-b-o: where were we ? ☻ 11:58 popey: okay, so we are one step further, still at https://bugs.launchpad.net/ubuntu-weather-app/+bug/1383042 :) 11:58 not 100% sure of the syntax 11:58 zbenjamin thanks anyways! :) 11:59 popey try to add new locations on your device. shoudl also fail with the one from the store 11:59 perhaps somebody from the sdk team can have a look? 12:00 ok, lemme try 12:01 ah, I see a "qml: undefined" in the logs 12:01 hmmm 12:01 zbenjamin: i just ran from qtc, now weather app has disappeared from the dash 12:01 click list shows it installed 12:01 popey: yes because you uninstalled it 12:02 com.ubuntu.weather 1.1.377 12:02 installed... 12:02 popey: is this weather if so I get preston which means it is picking up only on geoclue and not agps/gos 12:02 popey: try click list --user=phablet 12:02 com.ubuntu.weather 1.1.377 12:02 same 12:02 ahh, there is one in /opt/click.ubuntu.com/com.ubuntu.weather but there's no "current" folder 12:03 thats what happens with preinstalled apps 12:04 you can not really uninstall them so the launcher forces the install. Which happens in a overwrite. However you then can uninstall the new version ... which results in the state you are in now 12:04 now sure if that is a bug ... 12:04 hm 12:05 this is in an inconsistent state now 12:05 store says its installed 12:05 popey reboot? 12:05 lets discuss this after, i think i need a bug reporting 12:05 yeah, will do 12:06 yeah, this is broken now 12:07 \o/ fixed 12:07 ok... 12:07 let me try adding a city 12:08 m-b-o: http://popey.mooo.com/screenshots/device-2014-11-07-120800.png 12:08 oh, ah 404 on the device! ;) 12:08 hah 12:08 still think it's an sdk issue? 12:09 can't open the screenshot 12:10 the "qml: undefined" is unrelated...just a forgotten debug output 12:10 popey: now I'm eager to see the screenshot1 12:10 :) 12:11 http://imgur.com/xPD6Sml 12:11 sorry, didnt realise the image was broken 12:11 thought you were making a joke 12:11 that's th error 12:11 if you stop and start the app again it's okay 12:12 correct 12:13 so, when you go abck from the locationmanager, a refresh of the tabs is happending 12:13 ok 12:14 I have fought with a race conditions when impmeneting, but not with this error in particaulr 12:14 zbenjamin: do you know who in the sdk/toolkit might be clued up to look at this? 12:15 http://imgur.com/xPD6Sml zbenjamin 12:18 m-b-o: lets add a toolkit task 12:18 to the exisiting bug? 12:18 yes 12:19 would you mind to do this? :) 12:19 I will add a comment with a desription 12:20 sure 12:20 done 12:21 added ubuntu-ui-toolkit 12:21 thanks! 12:21 so there's still the task with make a binray launcher 12:21 for qtc (and autopilot?) 12:21 I have no clue 12:23 hm, okay. I'll see about that 12:23 * popey adds a todo 12:23 actually I already have one... 12:23 * popey bumps it up the list 12:24 it's needed to finish the move to ubunu-genames 12:24 you rememebr ? ;) 12:24 yeah 12:24 will get that sorted. thanks. 12:24 have a look at https://code.launchpad.net/~twstd-dev/ubuntu-geonames/search-wildcard/+merge/234578/comments/575618 too 12:25 k 12:27 hmm, not heard from him for a while. Will ping a mail and if not we'll have to find someone else or fix it up ourselves. 12:28 * popey adds to never ending to-do list ☻ 12:29 how to build the service? (have done *some* python the last years...) 12:29 popey: the path in the header? 12:29 added a comment: https://bugs.launchpad.net/ubuntu-weather-app/+bug/1383042/comments/3 12:30 zbenjamin: yeah 12:30 popey: for header issues i would ask timp 12:30 ok, thanks zbenjamin 12:31 m-b-o: the geonames code has a readme with how to set it up 12:31 m-b-o: it's not too painful, I had it running on a vps, which didn't take much, _but_ the sphinx caching server eats ram 12:31 i had to add like 10GB swap to get it to actually start the service 12:32 where to get those 10gb? :) 12:34 so you are using this vps for other things too? 12:34 nope 12:34 i can spin it up and give you an account 12:34 if that helps? 12:34 it helps 12:34 ok, will do 12:34 will drop you a mail with the details. it's down right now. 12:35 bit you will ask twstdev before? 12:35 but 12:35 yes, will do 12:35 then if he's not around (I know he was changing jobs recently) then we'll figure it out 12:35 the code isn't actually that complex 12:35 i just need 3 coffees before I look at it ㋛ 12:37 m-b-o: one other thing. I still have no feedback from design on what we do moving forward about TWC 12:38 not expected it :) 12:38 I'll let you know once I have anything 12:38 hehe 12:40 but the presentation is nice. Can we dash Tabs then? 12:40 Sorry? 12:41 or is the general design described in the presentation subject to change? 12:41 oh, it's not final. 12:41 I mean, if we can perhaps realise the redesign without Tabs, but just with Page components.... 12:41 anyways.. we will see 12:42 I have just found out that we have a contractor starting on tuesday to finish the weather design 12:43 will probably take a week or two to finish 12:43 so yeah, best for us not to start until that's done. 12:43 (I literally found this out 10s ago) ☻ 12:43 good one! :) 12:43 thanks 12:44 until the design is ready we still have geonames :) 12:44 indeed 12:44 thats top of my list 12:44 one question: whats the trick with "qtcreator CmakeList.txt" ? 12:45 the trick? 12:45 thats just how i launch it 12:46 ah, not opening the project with the .project file, but with CMakeLists.txt 12:46 yes 12:46 totally new to me 12:47 okay, time to wrap up? will be in app-devel the whole afternoon 12:47 Yup! 12:47 Thanks m-b-o! 12:48 thanks popey! 12:48 #endmeeting Generated by MeetBot 0.1.5 (http://wiki.ubuntu.com/meetingology)