/srv/irclogs.ubuntu.com/2015/02/13/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
akiva-thinkpad!ping06:02
ubot5pong!06:02
akiva-thinkpadHello all06:02
Mirvmhall119: well, ideally installing the SDK should install all the docs we have - note though that there are two types of docs, one that gets shown in the Qt Creator integrated documentation and one that's the html version06:06
dholbachgood morning07:44
akiva-thinkpaddholbach, o/07:44
dholbachhi akiva-thinkpad07:44
akiva-thinkpad\o07:44
=== chriadam is now known as chriadam|away
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== rmescandon is now known as rmescandon|brb
=== rmescandon|brb is now known as rmescandon
JamesTaitGood morning all; happy Friday and happy Radio Day! :-D10:01
akiva-thinkpado/10:08
justCarakaspopey: when will the new season start of uupc ?10:42
=== _salem is now known as salem_
akiva-thinkpadjustCarakas, whats uupc?11:01
popeyakiva-thinkpad: http://podcast.ubuntu-uk.org/11:10
popeyjustCarakas: soon11:10
justCarakaslooking foreward to it :D11:18
=== rmescandon is now known as rmescandon|afk
dpmhi nik90, you pinged me about bug 1324636 yesterday. Does the bug description contain enough info and would it be something you'd have interest/time to look at?12:23
ubot5bug 1324636 in Ubuntu Clock App "Return localized city names" [Medium,Triaged] https://launchpad.net/bugs/132463612:23
dpmThe proposed solution won't work for all cases, but it will improve the experience for the supported languages12:23
=== rmescandon|afk is now known as rmescandon
nik90dpm: I will take a look at it12:24
* dpm hugs nik9012:24
nik90:)12:24
nik90dpm: although I hope that when we switch from geonames.org to ubuntu geonames the proposed solution works as well12:25
nik90I will do some research and let you know how it goes12:25
dpmnik90, oh, I thought we had switched to ubuntu geonames. So we did it only for Weather?12:27
nik90dpm: Weather switched?12:27
dpmpopey, do you remember? ^12:27
* dpm checks12:27
dpmat least we set up ubuntu geonames to have all the data required by Weather12:28
nik90dpm: I believe weather and clock were blocked by https://bugs.launchpad.net/ubuntu-geonames/+bug/135920612:28
ubot5Launchpad bug 1359206 in Ubuntu Clock App "[Geonames] Need to be able to search cities by their lat and long" [Medium,Triaged]12:28
dpmoh, hadn't noticed that one, we did do another update to ubuntu geonames, but it had to do with city fields, IIRC12:29
nik90dpm: on checking the clock app code, we have switched to ubuntu geonames for world clock12:29
nik90dpm: but not for the user location check12:30
nik90so I will check ubuntu geonames if they return localised city names12:30
dpmpopey, now that you are (probably unwillingly) the expert on ubuntu geonames, could you look at bug 1359206?12:30
ubot5bug 1359206 in Ubuntu Clock App "[Geonames] Need to be able to search cities by their lat and long" [Medium,Triaged] https://launchpad.net/bugs/135920612:30
nik90dpm: there is already a MP present for that bug report. Just need it to be reviewed and merged when possible12:31
dpmit seems there is a branch available that should probably just need deployment12:31
dpmyeah :)12:31
popeyok.12:31
popeyneeds some further testing. will do.12:31
nik90dpm: btw, your solution will only work when searching for cities. but the default list shown to the user will still be in english. that's the bug that I pinged yesterday about12:31
nik90we show a list of about 200 cities (by popularity and most timezone coverage) and thats defined in xml and is the cause of the core problem12:32
dpmnik90, oh, I had forgotten about the default list. IIRC it was done in XML, could you remind me why we couldn't have a list in QML? That'd make translation trivial, but I can't recall why we went for XML12:44
* nik90 tries to recall that decision12:44
nik90dpm: It was because list models require static data...so you couldn't introduce functions like i18n.tr() calls in there. So I made the decision to provide the default list in a file. And qml file reading could only be done using a xml list model.12:47
dpmbummer12:48
nik90dpm: although now that I think about in more detail, I could have the list model built dynamically which would allow i18n.tr() calls and then use that as the source for the default city list12:48
nik90but this would requires changes in the world city list c++ backend as well12:48
nik90dpm: I think I can do it12:49
dpmnik90, if you think that's doable, I think that might be better than having to ship an XML file for each language12:49
nik90dpm: I will have a chat with mzanetti when is free later to see the performance implications of this since I am not sure about the dynamic creation of the list model compared to the xml list model read rate.12:50
nik90s/is free later/he is free later12:50
dpmthanks nik90!12:52
popeybzoltan_: zbenjamin I thought I pasted this somewhere but may be mistaken. https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1418460 affects DanChapman and JoeyChan. is it something on your radar?13:07
ubot5Launchpad bug 1418460 in qtcreator-plugin-ubuntu (Ubuntu) "libconnectivity-qt1-dev un-installable in click chroot" [Undecided,Incomplete]13:07
zbenjaminpopey: i already answered on it but did not check it since then...13:09
JoeyChanzbenjamin:  I don't have a vivid chroot now I am installing it13:12
zbenjaminJoeyChan: seems the dependencies are broken in utopic13:12
zbenjaminJoeyChan: seems the problem is really E: Package 'python3-xdg:armhf' has no installation candidate13:13
zbenjaminJoeyChan: its probably no good idea to compile apps for RTM in a 15.04 chroot13:14
=== rmescandon is now known as rmescandon|lunch
JoeyChanzbenjamin:  yes it is13:14
zbenjaminJoeyChan: you sure? Different Qt versions doesn't sound fun13:15
JoeyChanzbenjamin:   my "yes" pointed the python3-xxxxxxxxx13:16
zbenjaminJoeyChan: ah :D13:16
JoeyChanzbenjamin:  and I prefer using utopic chroot13:16
zbenjaminJoeyChan: seems there are much more broken dependencies , you aware that if you install that library manually it is not part of the official framework13:17
zbenjaminJoeyChan: so it can vanish anytime13:17
JoeyChanzbenjamin: is it possible to fix this problem ?13:18
zbenjaminJoeyChan: you could ship the library in your click package.. which is also not very pretty13:19
zbenjaminbzoltan_:  is there any way we can fix that?  https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/141846013:20
ubot5Launchpad bug 1418460 in qtcreator-plugin-ubuntu (Ubuntu) "libconnectivity-qt1-dev un-installable in click chroot" [Undecided,Incomplete]13:20
zbenjaminbzoltan_: broken dependencies in the utopic chroot13:21
bzoltan_zbenjamin:  I know about that issue13:22
zbenjaminbzoltan_: is it manually fixable?13:23
bzoltan_zbenjamin:  I doubt13:24
=== MacSlow is now known as MacSlow|lunch
=== chihchun is now known as chihchun_afk
=== rmescandon|lunch is now known as rmescandon
zbenjaminJoeyChan: seems even bzoltan_ does not know how to fix it, you probably need to fall back to ship it in your click package13:47
bzoltan_JoeyChan: zbenjamin: I am working on fixing this problem right now... but i do not know when I am going to be ready. Latest next week13:48
JoeyChanzbenjamin:  ship libconnectivity-qt1 ?13:48
JoeyChanbzoltan_: I'm ok with that , I can work on sth else13:49
zbenjaminbzoltan_: awesome thx!13:49
popeythanks bzoltan_13:58
=== MacSlow|lunch is now known as MacSlow
mhall119Mirv: I need the packages to automatically import them into the developer portal15:14
mhall119so I wont be installing the SDK, just the docs packages15:14
Mirvmhall119: apt install qt.*-doc16:07
dholbachhey balloons16:09
dholbachmaybe you can review https://code.launchpad.net/~dholbach/ubuntu-devices-help/translations-module16:09
dholbachand then https://code.launchpad.net/~dholbach/ubuntu-devices-help/1416389/+merge/249647?16:09
dholbachthe latter doesn't quite work yet16:09
dholbachand I'd appreciate some help16:09
balloonshey dholbach, certainly16:10
dholbachballoons, so translations almost work now16:11
dholbachI just don't get how po4a-translate puts the string for the updated files together - for some reason we still have "Lang: en" in there16:11
dholbachmaybe dpm can help ;-)16:12
balloonsdholbach, ahh yes16:12
dholbachI wrote code to filter out those messages, so I'm baffled as to why it turns up again16:12
dpmballoons, dholbach, I'd like to start a scrum sprint next week on Monday for the next steps in the help app. Shall we kick it off on Monday with a meeting to assess what we need to work on, estimates and then kick it off on Tuesday? For the work that we're currently doing the actual stakeholder is probably the team. What are your thoughts?16:17
dholbachwfm16:17
dpmdholbach, not sure I understand the issue with po4a, could you expand on that?16:18
mhall119Mirv: I really need to know specific packages in order to automate this16:19
dholbachdpm, pelican has a couple of meta-data fields like "Title: " or "Lang: " we need, we can't have these strings in the .pot file though, so now there's code to exclude them from the .pot file, etc. but it seems during the po4a-translate run they get readded, which breaks everything :)16:20
balloonsdpm that sounds like a good plan; except I won't be around on Monday (holiday)16:22
dpmballoons, oh, actually...16:22
dpmit's Bank Holiday in Stuttgart too16:22
balloonsLOL, fun times16:22
dpmso I won't be around either16:22
dpmlet's do it on Tuesday then16:23
balloonsso on the first workday of the week (tuesday) we'll sync and begin after16:23
balloonskk16:23
dpmballoons, do we need any preparation in advance for the kickoff meeting?16:23
dpmI'm guessing the user stories16:24
dholbachhah16:24
dholbachI won't be there either :)16:24
* dholbach just remembered16:24
dpmbunch of slackers16:24
dpm(all of us)16:24
dholbachand we always wonder why we never get anything done!16:25
dpmyeah, holidaying all year round16:25
dholbachscrew it, I'm off to the pool16:25
dpmpass me that cocktail, will you?16:25
balloonsdpm, yes so we should add the user stories to the sprint page so we can talk through them16:28
dholbachso yeah, let's see when that app is going to be ready :-P16:28
balloonscertainly by christmas eh?16:28
dholbachI updated bug 141638916:32
ubot5bug 1416389 in Help for Ubuntu for devices "Make translations possible" [High,In progress] https://launchpad.net/bugs/141638916:32
dholbachhttps://code.launchpad.net/~dholbach/ubuntu-devices-help/translations-module/+merge/249222 should be ready to be landed in any case - it's just splitting a file in two16:33
balloonsso dholbach my only concern is the METADATA_TAGS being lowercase. I guess ideally we make the string check case insensitive?16:41
dholbachballoons, that's fixed in the newest branch16:41
balloonsI don't see any transforms on the strings, so16:41
balloonsahh, I see it16:41
balloonskk16:41
dholbachbut I can do that a bit more elegantly16:42
balloonsI approved, I can put it into trunk16:42
balloonsdone and merged :-)16:43
dholbachI updated the other branch with a more elegant check for METADATA_TAGS16:44
Bosakhi16:44
davmor2mhall119: I accidentally completed medium on mvm at lunch time :)16:52
nik90davmor2: I am going to cut down on your salary this time...lunch times are very important :P16:53
dholbachall right my friends - I call it a day - have a great weekend!16:53
nik90dholbach: u2 enjoy :)16:53
davmor2dholbach: you too16:54
davmor2nik90: yes I unwind in them16:54
mhall119dammit davmor2, I *still* haven't beaten 2417:10
davmor2mhall119: laser in the middle on the green, laser just above the heart, get them both upgraded to as quickly as possibly to 2 dot,  then everytime you get 50 build a new laser, once you fill all the spaces upgrade them all17:16
davmor2mhall119: p.s. don't enable double time it doesn't do as much damage17:16
ogra_stop giving hints !17:16
mhall119give more hints!17:29
popeyAnyone know how (with a cmake built) project you disable "debug"?17:37
popeyhttp://askubuntu.com/questions/562122/why-was-my-app-rejected-with-reject-reserved-policy-group-debug-not-for-pr17:37
popeythat is incorrect, there's no options in the publish tab in our sdk17:37
popeydpm: ^^ any idea?17:37
mhall119davmor2: oh, I'm using lighthouse, not lasers, I need to unlock that17:39
davmor2mhall119: :)17:39
mhall119no wonder this has been impossible17:40
DanChapmanpopey building from the publish tab sets CMAKE_BUILD_TYPE=release and building from the bottom left corner sets CMAKE_BUILD_TYPE=debug the sdk hides switching it from the user17:40
dpmpopey, zbenjamin will know17:40
dpmI've hit that problem too17:41
popeyDanChapman: the hammer?17:41
davmor2mhall119: D'oh17:41
DanChapmanpopey: yeah or the run button17:41
popeysweet!17:41
popeythanks!17:41
dpmthere you go, thanks DanChapmanª17:41
dpm!17:41
DanChapman:-D np17:41
popeyuh17:42
popeybut how do I actually build a click, because that just builds the binary... not a click17:42
DanChapmanpopey: what from "build and validate click package" in publish tab?17:43
popeyi get the same validation error from there17:43
* popey starts again17:43
DanChapmanpopey: is CMAKE_BUILD_TYPE getting set in the CmakeLists.txt?17:44
popeyright, deleted build folder17:47
popeyre-started qtc with the project and hit the hammer17:47
popeyDanChapman: ok, so it looks like it built...17:49
popeybut I am unsure which button to press to make a click now which will be release and not debug :)17:50
DanChapmanpopey: the "build and validate" in the publish tab should then rebuild it in release mode and create a click from that. You shouldn't be able to create a click from a debug build, it should rebuild it.. otherwise that's a bug17:52
popeyhmm17:52
DanChapmanpopey: try adding -DCMAKE_BUILD_TYPE=Release to the cmake arguments under Projects Tab -> build and try "build and validate" again17:54
popeyyeah, even after hitting hammer then "build and validate click package" it created a debug build..17:54
popeylemme try that17:54
DanChapmanpopey: you don't actually need to hit the hammer if your wanting to build a click.17:56
DanChapmanjust build and validate should do it17:56
popeysverzegnassi: ^17:56
popeyit always builds a debug build for me17:56
popeysverzegnassi: I keep getting the validation fail because of read_path (which is fine) but also because it's a debug build. DanChapman suggested I change -DCMAKE_BUILD_TYPE=Release which I did and it still built a debug build.17:57
popeyhow do you usually build it?17:57
sverzegnassipopey: nope, always built as debug17:58
popeyhmm, and it works okay on device?17:58
sverzegnassii install it with the --allow-untrusted argument17:58
popeyright17:58
* popey tests17:58
popeywell, that worked17:59
popeyI expected it to fail because it's a debug build.17:59
popeysverzegnassi: woop woop! http://people.canonical.com/~alan/screenshots/device-2015-02-13-180155.png18:02
sverzegnassifirst screenshot, first bug?18:02
popeyhaha :)18:02
popeynope, looks good to me!18:02
popeywhere "woop woop!" = "yay"18:03
popeynot "woop woop!" = "police sirens"18:03
sverzegnassihahah I got it18:03
sverzegnassiI was just pointing out that "thursday" should be listed as "Earlier this week"18:03
popeyooh18:03
popeysorry :)18:04
sverzegnassiIf the app does not crash, everything is ok!18:06
popeyShip it!18:06
sverzegnassiJust wondering if there's some app on the store that export document file18:06
popeythere's an awesome to-do list app which could probably do it in the future ㋛18:07
sverzegnassido you mean that ugly app that's supposed to allow user to take "quick" notes? :P18:10
popey:D18:11
sverzegnassiThere's still an audio recorder in my dev queue that has been waiting for a release for 18 months :)18:18
popeyheh18:18
popeyok, I mailed the phone list and invited people to get involved with development as well as testing.18:19
sverzegnassiGreat! Thank you!18:22
popeynp18:22
mhall119davmor2: ha ha! laser towers do the job :)19:26
davmor2mhall119: yay19:27
davmor2mhall119: wait till you get to hard :(19:39
zbenjaminpopey: the publish tab does never include the debug policy20:32
zbenjaminpopey: so if you want to create a package for the store, use the publish tab20:33
mivoligomzanetti: here by any chance?21:23
=== salem_ is now known as _salem

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!