/srv/irclogs.ubuntu.com/2015/03/17/#ubuntu-app-devel.txt

=== salem_ is now known as _salem
=== chriadam is now known as chriadam|away
dholbachgood morning07:42
=== chihchun_afk is now known as chihchun
dholbachdpm, I'll delete the https://code.launchpad.net/~dholbach/help-app/1430735/+merge/252910 MP09:04
=== chihchun is now known as chihchun_afk
dholbachand break it up into small chunks - here's the first: https://code.launchpad.net/~dholbach/help-app/1430735-pt1/+merge/25316409:04
=== mcphail_ is now known as mcphail
mcphailHi. I'm trying to use the Ubuntu SDK on a machine running 14.10 and a hand-rolled 3.19 kernel. When starting qt-creator, I get an error message showing the schroot command has failed and that "overlayfs" is not a supported filetype. This looks as if it has been fixed for kernels > 3.18 in Vivid. Is there any chance the changes will be backported? It prevents packages from being built09:13
dpmdholbach, ok, cool. Looking at the phone theme now09:14
dpmmcphail, not sure we've got any kernel experts here. You might want to ask on #ubuntu-touch09:15
dholbachhi mcphail, to me it looks like overlayfs is maybe not supported in your handrolled kernel? or not a module or something?09:15
dholbachdoes it work with the normal kernel?09:15
mcphaildholbach: no - overlayfs is built in but the way it is mounted changes in kernels > 3.18. It has been fixed in 15.04 but I don't want to upgrade yet until the systemd changes stabilise. A stock ubuntu kernel works but my graphics card suffers with a normal kernel09:17
dholbachmcphail, vivid has 3.19 - you could try to install one of those kernel09:17
dholbachsystemd works absolutely fine for me09:18
dholbachit was never broken for me09:18
dholbachyou could try booting up a live cd to check...09:18
mcphaildholbach: as i said - my kernel is fine. Any kernel > 3.18 will cause the crash when running the ubuntusdk under 14.1009:18
mcphaildholbach: there is a fix commited for vivid on launchapd09:19
dholbachI'm sorry - I never ran into that issue. Neither on utopic nor on vivid.09:19
dholbachIt looks to me like the kernel you're using and whatever does the mounting is incompatible or not adjusted to work with each other and I don't know how to fix it.09:20
mcphaildholbach: i'll try to find the commit in launchpad which explains it better09:23
dholbachok09:25
dholbachdpm, if you could have a look at https://code.launchpad.net/~ubuntu-touch-coreapps-drivers/help-app/trunk/+activereviews that'd be great :)09:33
dholbachdpm, you'd also get the newest markup and everything09:33
mcphaildholbach: the fix is in https://bugs.launchpad.net/ubuntu/+source/schroot/+bug/1398523 . Utopic uses 1.6.10-1 but the fixed version is 1.6.10-1ubuntu1 in vivid. There is a milestone for "utopic-updates" but I don't know if that means it is actually going to be backported09:34
ubot5Ubuntu bug 1398523 in schroot (Ubuntu Utopic) "schroot overlayfs v1 workdir support" [Low,Triaged]09:34
=== chihchun_afk is now known as chihchun
dpmdholbach, sure, let me finish the phone styling and then I'll have a look09:43
dholbachmcphail, you're on utopic?09:44
mcphaildholbach: yes09:45
mcphaildholbach: don't know if I should just download and install the vivid .deb09:46
dholbachmcphail, I just uploaded a backport to https://launchpad.net/~dholbach/+archive/ubuntu/ppa09:46
dholbachit should be available there in a few minutes09:46
dholbachhope that helps09:47
mcphaildholbach: brilliant. I won't be at the machine until this evening but that is fantastic. Cheers!09:47
dholbachmcphail, no worries09:47
dholbachmcphail, actually the build should be done very quickly09:48
* mcphail has fingers crossed he can start using that machine to develop09:50
dholbachgood luck - the builds are now finished09:52
mcphailGood. It has been driving me mental. It is the machine I use when working away from home (when I actually have spare time to sit down and code in the evenings)09:54
dholbachdpm, I'm running a few errands now... I'll look into the merge proposals later on again and fix whatever you find broken :)10:22
dpmok, thanks dholbach10:23
OrphisSilly question. Is trusty-updates a superset of trusty-security?11:01
OrphisIs there any documentation explaining what goes in what repository and how things are updated for LTS releases?11:02
bzoltan_dholbach: mcphail: I have just read your discussion, thanks dholbach for the fix.11:07
=== MacSlow is now known as MacSlow|lunch
zzarrhello! I run Ubuntu 14.10 and have the repository version of the ubuntu-sdk package, I get the following problem, this to lines don't work "import Ubuntu.Components 1.1" and "import Ubuntu.Web 0.2"11:36
zzarrthe message I get is "QML module does not contain information about components contained in plugins..."11:38
zzarrMy computer have a x86_64 CPU architecture11:39
zzarrI can't get the webcam to work in my app, that's another problem I have, the led goes on but nothing more (I copy pasted the example in the tutorial)11:47
mardydobey: hi! About your question on how to generate the signature, I'm not aware of any QML helpers12:14
zzarrhello I got the webcam to work, I had put one element in the wrong place12:18
nerochiarogcov12:22
nerochiarowhoops12:22
=== _salem is now known as salem_
dholbachdpm, ok... so I'll just continue like that, I'll do some more testing and see what else needs fixing12:39
dholbachdpm, is https://launchpad.net/help-app/+milestone/0.1 what you also feel needs fixing for our first release?12:40
=== MacSlow|lunch is now known as MacSlow
zzarrcan anyone tell me what "Invalid property assignment: unknown enumeration" mean?12:45
mivoligomzanetti: hi :)12:52
mzanettihi mivoligo12:54
mivoligomzanetti: seen that new bug?12:54
mzanettiyes12:54
mivoligomzanetti: I would rather avoid adding more menus12:54
mivoligomzanetti: as it is the problem with positions of the two options, I'd just make the space between them bigger12:56
mzanettimhm.. maybe12:57
mzanettinot sure if things fit on the screen still then12:57
mivoligoon the computer it looks like it would be fine, not sure on the phone12:58
mzanettiI think we're rather stuffed already12:59
mivoligomzanetti: can you do screenshot?12:59
dholbachballoons, are you up already?13:02
dholbachballoons, I could need some help with code review13:02
* mzanetti needs a pastebin app for the phone13:02
nerochiaromzanetti: i followed your instructions from yesterday, and can get the whole thing to build with -DCMAKE_BUILD_TYPE=coverage but I am unsure what to do next to actually run the tests in the right way13:04
mzanettinerochiaro, just run them somehow13:06
nerochiaromzanetti: and that should generate a dir with coverage reports ? I can't find it. i ran them with qmltestrunnner13:09
mzanettiit should create some files, yes13:10
mzanettinot really a separate dir13:10
mzanettican't remember what the files are called13:10
mzanettifind . | grep cov13:11
mzanettijust a guess13:11
nerochiaromzanetti: i am running the tests from the source dir, and bzr st notices no new files13:14
mzanettinerochiaro, delete the entire build directory before calling cmake with -DCMAKE_BUILD_TYPE=coverage13:15
zzarrthis to lines don't work "import Ubuntu.Components 1.1" and "import Ubuntu.Web 0.2", I get the error "QML module does not contain information about components contained in plugins..."13:17
zzarranyone having any thought?13:17
=== chihchun is now known as chihchun_afk
nerochiaromzanetti: bzr clean-tree --ignored --unknown ; cmake -DCMAKE_BUILD_TYPE=coverage ; make ; qmltestrunner [...]  but still no reports13:18
dobeymardy: so online-accounts provides no way to create a signature?13:20
zzarrno ideas?13:22
mzanettinerochiaro, please push a branch and send over the link13:24
nerochiaromzanetti: lp:~phablet-team/+junk/halide-filters-tests13:25
nerochiaromzanetti: if you are trying to build it you need additional things. or are you just looking at the code ?13:29
mzanettinerochiaro, yeah, wanted to build13:31
nerochiaromzanetti: you need to install halide-lang from ppa:fboucault/vips13:32
nerochiaromzanetti: and i run the tests with qmltestrunner -input backend/tests/unit/test.qml -import backend (from the checkout dir)13:32
balloonsdholbach, yes, I didn't check the mp to see your replies yet, let me do that13:39
dholbachballoons, I broke the big one up into small ones13:40
dholbachlet me know if there's anything I can explain or change13:40
dholbachso we can get this all in and uploaded13:40
dholbacha bit less important, but there's also https://bugs.launchpad.net/help-app/+bug/1429896 you can comment on, if you like13:44
ubot5Ubuntu bug 1429896 in Ubuntu Help App "edit-here directory shouldn't contain build files" [Medium,Incomplete]13:44
mzanettinerochiaro, fails to load here14:01
nerochiaromzanetti: fails to load ?14:01
zsombidholbach: dpm: so, the very first one is out: http://developer.ubuntu.com/en/community/blog/14:01
mzanettinerochiaro, undefined symbol: _ZN6Halide8Internal8ExprNodeINS0_9BroadcastEE10_type_infoE)14:01
mzanettiwhen loading the plugin14:01
mzanettihttp://paste.ubuntu.com/10615431/14:01
dholbachzsombi, nice work!14:02
dholbachdpm, ^ do we have to use a certain tag to let it show up on planet?14:02
dpmzsombi, cool!14:03
nerochiaromzanetti: that's strange. you installed the package from the ppa, right ? Kaleo, and ideas on mzanetti problem running the filters app above ?14:03
dpmdholbach, planet-ubuntu, I think14:03
dpmit should be on the previous entries14:03
zzarrhow do I make an movement animation? I tried a "PropertyAnimation" on the "top" property of the object I want to animate, but I get the error "top" is read-only14:03
dholbachdpm, yep, planet-ubuntu14:04
mzanettinerochiaro, yeah, I installed it...14:04
nerochiaromzanetti: i am not sure what's wrong. let's see if Kaleo can help14:05
dholbachdpm, ok, I documented it in the editors guide14:05
dholbachzsombi, can you add the tag 'planet-ubuntu' too?14:05
zzarrahh, I think I found it, a PathAnimation14:05
mardydobey: nope14:08
mzanettinerochiaro, anyhow, if I put a "message()" into the cmakelists into the coverage block, it never is executed14:08
mardyalex_abreu: the code you wrote for uploading to twitter, how does it generate the OAuth signature? From C++ or QML?14:08
nerochiaromzanetti: so basically the CMAKE_BUILD_TYPE is never picked up ?14:09
balloonsdholbach, I can't find the old MP, so I'm wondering about my question. Can we assume the default is text and not have to use !!T for everything?14:09
dobeymardy: that's a bit prohibitive to getting user details in the plug-in :-/14:09
mzanettinerochiaro, yeah14:09
dholbachballoons, I replied to that question: how can Markdown know what a Q&A block is and what another block is?14:09
zsombidholbach: done14:09
mzanettinerochiaro, this line is missing: string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_lower) # Build types should always be lowercase but sometimes they are not.14:10
dholbachlike... what's a heading, what's an ordinary piece of text, what's a question/answer block14:10
nerochiaromzanetti: a cmake bug ?14:10
dholbachI don't know how to do that14:10
dholbachzsombi, thanks - good work!14:10
mzanettinerochiaro, no... the if() uses cmake_build_type_lower, but that isn't set...14:10
zsombidholbach: ;)14:10
mzanettinerochiaro, you could also change the if to use "CMAKE_BUILD_TYPE" (which would fail if one uses "COVERAGE" instead of "coverage" though)14:11
nerochiaromzanetti: I see. it seems to work now14:11
mzanettinerochiaro, so it does generate some files now?14:11
balloonsdholbach, presumably you would parse them expecting a certain q and a format, everything has to be the same. Unless you found a tag inside the block you assume text. Clearly not something easily done, but I hate to see those tags in the text14:11
alex_abreumardy, javascript ...14:12
nerochiaromzanetti: well, only ./coverage-xml.cmake14:12
balloonsI didn't look in detail yet how you are parsing14:12
alex_abreumardy, and a bit of c++ for the hmac part obviously14:12
mzanettinerochiaro, right. now you can run "make coverage" to generate some jenkins-readable xml files14:12
dholbachballoons, it's markdown doing the parsing, and it's an extension on top of that, looking for the tags we defined14:12
alex_abreumardy, http://bazaar.launchpad.net/~abreu-alexandre/webapps-core/twitter-share/view/head:/webapp-twitter/unity-webapps-twitter/share.user.js14:13
mzanettinerochiaro, or "make coverage-html"14:13
dholbachballoons, maybe you can take a look at the markdown files we're shipping and dream up something that will allow us to do that?14:13
nerochiaromzanetti: http://paste.ubuntu.com/10615497/14:13
dholbachballoons, I'm happy if we find a cleaner alternative14:13
nerochiaromzanetti: this is after running the tests with qmlrunner14:13
mzanettinerochiaro, worked for me :/14:14
mzanettinerochiaro, http://paste.ubuntu.com/10615501/14:14
mzanettinerochiaro, and: http://i.imgur.com/uXEdnor.png14:15
dpmthanks dholbach14:15
balloonsdholbach, right right. Obviously what is possible vs easily done14:16
mzanettinerochiaro, seems all fine here: http://i.imgur.com/cRRs1DP.png14:16
nerochiaromzanetti: i will try that again in a few minutes. thanks for the help so far :)14:16
balloonsdholbach, and this is all in support of https://bugs.launchpad.net/help-app/+bug/1430735 yes>14:17
ubot5Ubuntu bug 1430735 in Ubuntu Help App "Allow richer styling of questions/answers" [High,In progress]14:17
dholbachballoons, yes14:17
mzanettinerochiaro, ah right... I did change something: http://paste.ubuntu.com/10615519/14:18
dholbachballoons, just branch the last one, run 'make web' and check out what the output of settings.en-us.html for example looks like14:18
mzanettinerochiaro, iirc you need to set the CXFLAGS before defining your targets14:18
balloonssettings has the animated gif in it14:18
dholbachballoons, yes - it's not quite the way dpm wanted it yet (pending 1432710)14:19
dholbachbut we're slowly iterating14:19
nik90zsombi: yay14:20
nik90zsombi: https://developer.ubuntu.com/en/blog/2015/03/17/creating-theme-your-application/14:20
dholbachballoons, so yeah... I'm not quite sure what to do now - if we want to get 0.1 into the store today, we need the MPs landed soon, or somebody has to figure out how I shall change the code to improve ease of use for contributors14:22
dpmdholbach, https://code.launchpad.net/~dpm/help-app/phone-theme-fixes/+merge/25320914:22
dpmjust the basics. I think navigation will be a bit of a challenge for the phone theme :/14:22
dholbachok14:22
dholbachI'll take a look14:22
dholbachdpm, did you check if this works with the new markup as well? like the stuff we introduce with !!T or !!I?14:23
mivoligomzanetti: to be clear, I'm only thinking about making more space between first two options.14:23
dpmdholbach, it shouldn't affect it, but I can test it, yes14:24
mzanettimivoligo, really... I guess there's enough spacing... Mr. Javacookies will hit the wrong button with more spacing too14:24
mivoligo:D14:24
dholbachthanks dpm14:24
mzanettimivoligo, oh well... maybe...14:24
dholbachdpm, nice work!14:25
=== chihchun_afk is now known as chihchun
dholbachdpm, would you say that'd resolve bug 1432699?14:25
ubot5bug 1432699 in Ubuntu Help App "Specify bare essentials, ie padding, h3, h1, ul/li, etc for phone theme" [Critical,Triaged] https://launchpad.net/bugs/143269914:25
mzanettimivoligo, http://i.imgur.com/Uy7rEh4.png14:26
dpmdholbach, ah, yes, I hadn't noticed we had a bug that was specific for that14:26
dholbachdpm, it looks like for the new branch placement of images is a bit off14:27
mivoligomzanetti: yeah, we can move it up a bit14:27
dholbachdpm, with lp:~dholbach/help-app/1430735-pt5 that's in app/www/settings.de.html14:27
dpmdholbach, on the web theme? I hadn't changed the style for the images in there14:30
dholbachdpm, no, not in the web theme14:30
nik90zsombi, t1mp: I noticed in the QtC SDK docs, that the palette values are missing..the ones like Theme.palette.foregroundText etc... This is however present in the online docs -> https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Components.Themes.PaletteValues/14:33
nik90zsombi, t1mp: Is that intentional?14:33
dholbachdpm, I responded to the MP - if you want, we can land it as-is and just open another bug report for the image14:37
dholbachit's a huge improvement as it is14:37
zsombinik90: no idea why those are missing from teh QCH file14:40
nik90zsombi: np, I will report it as a bug14:41
nik90zsombi, kalikiana: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/143312114:43
ubot5Ubuntu bug 1433121 in ubuntu-ui-toolkit (Ubuntu) "SDK docs missing palette values" [Undecided,New]14:43
dholbachdpm, balloons: can we have a call about how we want to proceed with the 0.1 release? I feel like I have no idea what's coming up next and what I should do........................14:55
balloonsdholbach, I'm happy to go with the the mp's you have now. I'd rather not wait on making it better atm14:55
dpmdholbach, happy to jump on the phone, but perhaps in ~30?14:56
dholbachdpm, wfm14:56
dholbachballoons, I'm happy for us to look for a better solution14:56
dholbachballoons, but right now I think we want to get 0.1 out and I don't know what a better solution could look like14:56
balloonsdholbach, right and I agree14:56
dholbachok, thanks :)14:56
dholbachI'll file a bug so we don't forget14:57
dholbachdpm, ok, let's chat at 16:30 our time14:57
balloonsI want to get the app out there, so I guess I can just approve the mp's you have then14:57
dpmballoons, oh, is the Q&A starting now or in 1h for you?14:57
balloonsnow14:57
dpmthen I'll have to move the meeting14:57
dholbachok14:58
dholbachballoons, thanks for your help - I filed bug 143313615:15
ubot5bug 1433136 in Ubuntu Help App "Simplify markup, so we don't have to indicate every Q&A pair with !!T or !!I" [Undecided,New] https://launchpad.net/bugs/143313615:15
dholbachdpm, let me know how to proceed with your MP15:15
dholbachdpm, I found a bug in some of the link rewriting - I'll work on that until our call - I hope by the time we can review things together and give it the thumbs up :)15:15
nerochiaromzanetti: got it to work following your last advice. thanks15:22
mzanettinerochiaro, cool15:23
ogra_hmm, who pushed the webdm client to the phone store ...15:46
ogra_that cant work15:46
ogra_(would require working avahi on the phone, which we do not ship)15:46
dpmdholbach, I tried to reproduce what you were mentioning in the MP - I merged trunk, but now I get these errors when trying to 'make html' -> http://pastebin.ubuntu.com/10615941/15:48
dholbachdpm, what's the contents of ./edit-here/ in your case?15:49
dpmdholbach, let me have a look, but I'm getting the same with a fresh checkout from lp:help-app15:49
dpmdholbach, http://pastebin.ubuntu.com/10615957/15:50
dpmfrom a checkout from lp:help app15:50
dholbachdpm, can you run in edit-here: ./generate-translations && pelican content -o ../app/www -s pelicanconf.py -D15:52
dpmdholbach, http://pastebin.ubuntu.com/10615968/15:53
dholbachdpm, it's bizarre - I'm beginning to wonder if it's a utopic vs vivid thing?15:54
dpmah, yeah, I'm in utopic15:54
dholbachhttp://paste.ubuntu.com/10615978/15:55
dholbach^ that's what it looks like for me15:55
dpmmuch better, yes :)15:55
dholbachdpm, I'll set up a utopic chroot to check out if that's where the problem is coming from15:56
dpmok15:56
dholbachdpm, yep, that's the issue16:01
dholbach:-(((((((((((((((((((816:01
dholbachI'll see what I can do16:02
* dpm hugs dholbach16:03
dholbachdpm, hum........... Could not convert "content/pages/security.md" into Markdown.16:06
dholbachthat's already an issue some time earlier16:07
dholbachdpm, I guess "./generate-pot" fails too?16:08
dholbach<dholbach> dpm, it appears like the extension importer of markdown is a bit picky in its older inception16:23
dholbach yep, that's the problem16:23
dholbach if I move it to edit-here/local/ and change the configuration to list the extension as local.q-and-a it works16:23
dholbach that might actually make the case for solving bug 1429896 for 0.116:23
dholbach the local.q-and-a workaround works in vivid too16:23
ubot5bug 1429896 in Ubuntu Help App "edit-here directory shouldn't contain build files" [Medium,Triaged] https://launchpad.net/bugs/142989616:23
dpmdholbach, great16:27
dholbachdpm, I don't know... shall I propose this dirty hack (move the extension into a separate directory) or do the big cleanup (1429896)?16:28
dpmdholbach, yeah. Altough, is it really a hack? I thought that it made sense from what you're explaining16:29
dpmdholbach, balloons, let's discuss it in the call in a minute16:30
dholbachdpm, the new python3-markdown seems to be happy to look in "." for an extension16:30
dholbachthe older one doesn't16:30
dholbachsure16:30
zsombidpm: is it OK if I post the app theming blogpost link to G+ Ubuntu App Developers?16:37
dpmzsombi, you're rocking it, of course!16:38
zsombidpm: to the discussions I guess...16:38
zsombidpm: there it went :)16:39
zsombimore to come!16:39
* balloons hugs dholbach 16:43
dpmrock on16:43
balloonssorry for not helping so much yesterday, we found an autopilot critical bug..it's broken on vivid desktop16:44
dholbachdon't worry balloons16:47
* dholbach hugs balloons and dpm16:47
dholbachballoons, dpm: https://code.launchpad.net/~dholbach/help-app/1433171/+merge/25324016:50
t1mpdpm: shouldn't posts on https://developer.ubuntu.com/en/community/blog/ show up on planet.ubuntu.com?16:51
dholbacht1mp, you need to add the tag "planet-ubuntu"16:52
t1mpdholbach: ah, thanks :)16:52
t1mpzsombi: ^16:52
t1mpzsombi: tag it :)16:53
AskUbuntu_How to correctly set up a local branch of ubuntu projects | http://askubuntu.com/q/59796516:54
dholbachdpm, balloons: https://code.launchpad.net/~dholbach/help-app/disable-.link-cta-ubuntu-for-now/+merge/25324116:54
dholbachdpm, balloons: if you could take a look at https://code.launchpad.net/help-app/+activereviews that'd be great17:06
dholbachin that case I could just land everything, build a click, mail the guys and call it a day17:06
dpmdholbach, on it17:10
dholbachyoohoo17:10
dpmdholbach, reviewed and approved17:14
dholbachthanks a lot dpm17:15
dpmwell, thank _you_17:15
dholbachhttps://code.launchpad.net/help-app/+activereviews → empty!17:15
dholbachhttps://launchpad.net/help-app/+milestone/0.1 → almost empty :)17:16
popey\o/17:17
dpmyay17:22
zsombit1mp: it is tagged, dude17:48
t1mpzsombi: why don't I see it on http://planet.ubuntu.com/ ?17:56
zsombit1mp: you hold it wrong, as usual :D17:56
zsombit1mp: you can see that the planet-ubuntu tag is added to the post, right?17:56
t1mpzsombi: yes, I see it17:57
=== chihchun is now known as chihchun_afk
t1mpdholbach escaped, so I cannot ask him now17:57
t1mpdpm, mhall119 ^ any ideas why  https://developer.ubuntu.com/en/blog/2015/03/17/creating-theme-your-application/ does not show up on planet ubuntu?17:58
dpmt1mp, not sure, it often takes a while for some reason18:02
zsombit1mp: when I'm trying to log in to p-u-c, I get internal server error18:04
=== salem_ is now known as _salem
randy_OI've got a QUESTION: I'm doing up the translation template for Delivery Tracker, is it good programming practice to also translate what Im logging to the console?21:39
=== chihchun_afk is now known as chihchun

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