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

kurt_hi all having a python issue i want to run html2csv.py (which I downloaded)  inside of MyPythonScript.py (just for naming sake) can you run a python script inside a python script?01:49
=== salem_ is now known as _salem
dholbachgood morning08:18
davidcalleMorning all o/08:26
dholbachdpm, thanks for the review - I fixed another small thing in https://code.launchpad.net/~dholbach/help-app/passworde-typo-fix/+merge/25346808:34
dholbach_dpm, https://bugs.launchpad.net/help-app/+bug/1433957 - we need to find a way to express this in markdown which doesn't break so easily08:47
ubot5Ubuntu bug 1433957 in Ubuntu Help App "test_translated_filenames_in_markdown_links fails because of missing linebreak in markdown" [Undecided,New]08:47
dholbach_dpm, it was basically "  " (for a line break) at the end of the first link08:47
dpmdholbach_, I've got no ideas on that one, markdown is screwing us a bit here :/08:49
dholbach_dpm, maybe I'll just make it ul/li items?08:51
=== dholbach_ is now known as dholbach
dpmdholbach, I think probably that's the sanest option, good idea08:51
dholbachall right08:51
dpmdholbach, I'm adding some extra content I wrote a while ago into a MP08:51
dholbachok08:52
dholbachdpm, https://code.launchpad.net/~dholbach/help-app/1433957/+merge/25348008:59
dholbachoops, sorry, the commit messages are not quite what I wanted09:00
dholbachlet me re-push09:00
dholbachhttps://code.launchpad.net/~dholbach/help-app/1433957/+merge/25348109:01
dholbachhere we go :)09:01
dpmdholbach, how feasible would it be to bring back the attr-list support? I'm trying to think of easier ways of doing css styling and of dealing with the images09:17
dholbachdpm, it's an open bug - it'll be a bit of work09:18
dholbachbut sure, it should be feasible09:18
dpmdholbach, ok, thanks. And how about changing the local-q-and-a extension to do the following: the syntax to use it to be !!QA instead of !!T (I'm thinking of having just one), make sure the enclosing div contains the text and any images, and add the class "question" to the enclosing div? To keep things simpler, I'm thinking of having just the one !!QA instead of both !!T and !!I, and then use some JavaScript to do any additional markup changes to th09:23
dpme image, similarly to how to do on the phone. I could have a go at the JS bit09:23
dholbachsure09:24
dholbachlet me file a bug for it09:24
dholbachor hang on09:24
dholbachdpm, can you add an example of the desired html to https://bugs.launchpad.net/help-app/+bug/1432710?09:25
ubot5Ubuntu bug 1432710 in Ubuntu Help App "Simplify q-and-a extension" [High,Triaged]09:25
dholbachjust so we're both talking about the same thing? :)09:25
dpmsure, on it09:25
dholbachexcellent09:26
dholbachI'd look into 1429896 and 1432710 today then - that'd be a nice bit of cleanup09:26
dholbachhttps://launchpad.net/help-app/+milestone/0.2 has quite a few things piled up already :)09:28
dpmdholbach, ok, I've added a comment on 1429896 and on 1432710. Let me know if you think they make sense10:06
dholbachlet me take a look10:06
dholbachdpm, what else would you like to live in ./web? (not ./build/web?)10:08
dholbachapp/www is imposed on us through the general ubuntu html5 app structure10:09
dholbachbug 1432710 is looking good10:09
ubot5bug 1432710 in Ubuntu Help App "Simplify q-and-a extension" [High,Triaged] https://launchpad.net/bugs/143271010:09
dholbachcan you also take a look at https://code.launchpad.net/~dholbach/help-app/1433957/+merge/253481? that'd fix the test-suite again :)10:11
dpmsure10:14
dpmdholbach, I couldn't think of anything else to live in web, I was just thinking of having a consistent build layout with what we have on app - it was just a suggestion. I was aware from your previous comment that app/www is something we cannot change, I deliberately didn't propose any modifications there10:17
dholbachok10:17
dholbachI'm happy to make it ./build/web/www10:18
dholbachI was just wondering if you knew of anything else which could go there10:18
dpmno, I couldn't think of anything else10:23
* dpm looks at what we've got on ./app10:23
AskUbuntu_Can I use Java to develop gui for ubuntu | http://askubuntu.com/q/59864410:40
* mcphail is finding the Ubuntu-SDK, qtcreator and emulator very rough-around-the-edges. Harrumph.10:55
popeymcphail: anything specific?10:56
* ogra_ hands mcphail a stack of sandpaper10:56
ogra_patches accepted ;)10:56
ogra_(and wishlist bugs too)10:57
mcphailpopey: lots of things. First of all, trying to find which emulator channel matches which kit is unclear. Trying to find which channel is most up-to-date isn't apparent. Lots of qml crash spam in the console with simple builds. poor performance of emulator. The list goes on.10:58
popeyx86 emulator or armhf?10:58
mcphailpopey: I end up installing multiple kits but I have a slow and unreliable internet connection. Installing or updating them blocks the GUI (sometimes for > 1 hour) when I can't be productive etc etc10:59
mcphailpopey: x8610:59
popeybzoltan_: zbenjamin ^10:59
popeyi think you can create kits from the command line. would be nice if the UI told you what command it was going to run11:00
popeyso you could do it manually if you wanted, and not block the ui11:00
bzoltan_popey: zbenjamin is out of office for some time.. let me see what the problem is11:00
popeykk11:00
mcphailpopey: even a guide saying "use this kit with this channel" would be nice. I installed the 15.04 kit but can't find a channel which supports it11:01
bzoltan_mcphail: if you are into going a bit offroad then please check out the static chroots - https://lists.launchpad.net/ubuntu-phone/msg11212.html11:01
mcphailbzoltan_: that looks interesting. Thanks. I'll explore that this evening11:03
bzoltan_mcphail:  the development channels ar eall 15.04 so if you work with development image then you want to use the 15.04 kits11:03
bzoltan_mcphail:  with that script you can create the armhf 15.04 kit from cmd line and it is quicker too11:04
mcphailbzoltan_: the script looks as if it is just what I need. brilliant.11:04
mcphailbzoltan_: btw, are you sure the devel channel is 15.04? I had "15.04 not present on device" when using devel last night11:05
bzoltan_mcphail: the only issue with that script is that it is using a fairly outdated 15.04 image... but you can update later11:05
bzoltan_mcphail:  the frameworks are different... for the apps I use 14.10-qml fw ...11:06
mcphailbzoltan_: i certainly endorse your plan as outlined in that message. Would be much cleaner11:06
mcphailbzoltan_: the whole thing is rather confusing11:06
bzoltan_mcphail: I know, sorry for that. I am working on to clear it out a bit.11:08
mcphailbzoltan_: :)11:08
mcphailbzoltan_: it is great when it works, so thanks for spending the time on it11:08
bzoltan_mcphail: :)11:09
dholbachdpm, updated: https://code.launchpad.net/~dholbach/help-app/1433957/+merge/25348111:16
dpmapproved :)11:17
=== dholbach_ is now known as dholbach
=== dholbach_ is now known as dholbach
=== chihchun_afk is now known as chihchun
PLA1After yesterday's updates on my 14.10 desktop the ubuntu-html5-app-launcher is now using Chromium Oxide when launching from Qt Creator. :-) The inspector is not running on port 9221 though. How do I get the inspector back? /me broke irc guideline #3.12:31
bzoltan_alex-abreu: ^12:32
dakerPLA1: you should use --inspector12:35
dakerarg12:35
PLA1daker: This is in my desktop file: Exec=ubuntu-html5-app-launcher $@ --www=www --inspector12:37
=== _salem is now known as salem_
alex-abreuPLA1, it works for me, are you using <ip>:9221 ?12:52
alex-abreuPLA1, and dont use localhost/127.0.0.112:53
PLA1alex-abreu: I am using an IP address not localhost. It was working yesterday when it was running Webkit. Stopped working after updates that introduced Oxide (Chromium).13:04
=== chihchun is now known as chihchun_afk
dholbachdpm, balloons: I'd appreciate your eyeballs on https://code.launchpad.net/~dholbach/help-app/1429896/+merge/25351814:25
dholbachdpm, balloons: if you're generally happy with it, I'd work on updating the docs14:25
balloonsdholbach, oO! my wish come true14:31
dpmdholbach, would you mind adding something in the description showing what the tree will look like after the branch is merged? I'm not sure I'll manage to look at it today, but I'd have a glance at the new layout, though14:31
dholbachdpm, updated14:32
dholbachdpm, balloons: I moved the translations tools, the markdown extension and tests into ./internal14:32
dholbach./internals14:32
dpmthanks dholbach!14:32
balloonsin the commit message.. That my friend is gorgeous!14:32
dholbachand I started breaking up translations.py into its own module14:33
dholbachI hope with that work started, things will even get easier and clearer in the future :)14:33
dpmdholbach, nice work! Quick q: where do we stand in terms of publishing the web content? Are we blocked by any IS requirements?14:48
dholbachdpm, I think what I'll do is create a branch members of the core apps team can publish to14:48
dholbachdpm, to publish something to this branch, I'll run the 'check' target first, then 'web' and then the magic runes to publish the branch to LP14:49
dholbachdpm, then I'll ask IS to regularly pull from that branch14:49
dpmsounds good :)14:49
dholbachI'll file a bug14:49
dholbachit won't be automatic, but I think that should do for a wihle14:49
dholbachuntil we figure something out14:49
pindongajdstrand, just to let you know that we have the latest click-reviewers-tools on prod now (r414)15:03
jdstrandpindonga: yeay, thanks! :)15:07
pindonganp15:08
t1mpzsombi, kalikiana: If there are no objections, I will add function wait_for_header_animations() to UbuntuTestCase15:19
kalikianat1mp: sounds sensible15:19
t1mpI have that function copied in several test files no, so better to put it all in one place15:19
dholbachballoons, dpm: https://code.launchpad.net/~dholbach/help-app/1434125/+merge/25352615:25
dholbachjfyi: I based it on the reorg branch15:25
dholbachballoons, I'm not quite sure what your comment means... are you just referring to the HACKING doc?15:27
balloonsdholbach, yes, I hit enter before I was finished typing up my comments again :-) Dog is camping in the chair with me today as wifey is gone15:28
balloonsbut in general the HACKING document needs to reflect the changes15:28
dholbachyes, I know15:29
dholbachI wanted you guys to have a look over it beforehand :)15:29
dholbachworking on the HACKING doc now15:29
dholbachthanks a lot for the review - I'm glad the rest made sense :)15:30
balloonsyea, trying to poke holes in the rest, but looking pretty good so far15:34
dholbachdone :)15:35
dholbachballoons, you should probably send a pic of you and your dog to the warthogs group - looks like cats and dogs is the only relevant content there :-)15:43
balloonsdholbach, I can't build.. I need a en_US.po15:49
dholbachballoons, eh?15:52
dholbachdo you have a log or something you could put up on a pastebin?15:53
balloonsdholbach, to the mailing list or telegram? I opened with a pic of my dog, because indeed that was the meme15:53
balloonsdholbach, I'm saying make app no longer works15:53
dholbachballoons, that's with lp:~dholbach/help-app/1429896?15:53
* balloons pastes15:53
balloonshttp://paste.ubuntu.com/10628310/15:54
dholbachthanks15:54
dholbachok... I think I found an issue15:55
dholbachit might be connected to yours15:55
dholbachthanks a lot for helping test this!15:55
balloonsdholbach, yw. For my edification, I see en_US.po is on the .bzrignore list. Is it your expectation this is generated during build?16:01
dholbachyes16:01
dholbachit's a fake language, the default we use16:01
seb128dholbach, dpm, do you know where is the vcs for the content of https://developer.ubuntu.com/en/apps/qml/ ?16:02
dholbachseb128, it's not in a vcs16:03
seb128dholbach, so nothing I can mp against?16:03
dholbachseb128, it's a django site with wysiwig editor, etc16:03
dholbachif you want access that can be arranged16:03
seb128dholbach, no, thanks ;-)16:03
popeyhaha16:03
dholbachseb128, bugs.launchpad.net/developer-ubuntu-com/+filebug is your best bet then :)16:03
seb128I've enough to do, I just want to mp a suggestion, I'm going to add it as a bug comment instead16:03
seb128dholbach, yeah, I did that a week ago, https://bugs.launchpad.net/developer-ubuntu-com/+bug/143191316:04
* balloons wishes it was a vcs16:04
ubot5Ubuntu bug 1431913 in Ubuntu App Developer site "Not easy to find the uitk api documentation" [Undecided,New]16:04
seb128but it's sitting there, so I wanted to mp some suggestion to nag gently ;-)16:04
dpmthanks seb12816:04
dholbachballoons, can you pull from the branch again? :)16:05
dpmseb128, I essentially agree with what you're saying in the bug. Just to be sure, though, did you see the API links in the breadcrumb navigation of  https://developer.ubuntu.com/en/apps/qml/ ?16:07
dpm*link16:07
seb128dpm, refresh and read what I just posted ;-)16:07
seb128but essential no, not before today16:08
seb128and I ended up on that page a couple of times, going through most links before giving up and working from the firefox history to find the api16:08
seb128those are too subtle imho, it looked like chrome to indicate where you are, not index for useful content ;-)16:09
t1mpkalikiana: in UbuntuTestCase we use CamelCase for function names.. and in the unit tests we use _16:09
t1mpkalikiana: in TestCase they are mixed.. CamelCase for mixed functions underscores in internal function names...16:09
t1mphmm16:09
t1mpI'll use camelcase for the new function in UbuntuTestCase too.. I guess that's the most appropriate16:10
dpmseb128, I think what we can do as the next step is to add it to "Next steps", I think that makes sense and it's easy to do16:10
balloonsdholbach, fyi, no change here16:10
dholbachhum16:11
dholbachok16:11
dholbachcan you reproduce this somehow? :)16:11
dholbachI thought I had fixed the issue O:-)16:11
seb128dpm, that's what I wrote in the ^ mentioned comment ;-)16:11
seb128dpm, that's what the equivalent html5 page is already doing btw16:11
seb128dpm, thanks!16:12
dpmseb128, yeah, so I was just confirming that what you suggested makes sense :)16:12
seb128great16:12
dpmand should be easy to do16:12
seb128excellent :-)16:12
balloonsdholbach, what can I do to help?16:13
dholbachballoons, I can't reproduce it here - can you guide me on how I can break everything from a new checkout of lp:~dholbach/help-app/1429896?16:14
seb128_dpm, sorry I disconnected, thanks for the replies there ;-)16:14
seb128_dholbach, you as well16:15
dpmno worries, it's always good to get this kind of feedback16:15
balloonsdholbach, presumably it breaks for me because of my lang setting is english? I'm not sure16:16
balloonsdholbach, I just do a checkout then immeadiately try and build16:16
dholbachmh, that'd surprise me, but let's try it out16:16
dholbachcan you pastebin the output of "export"?16:16
balloonssure.. I'll unclude my keys too, lol16:17
dholbachsorry16:17
* balloons pastes16:17
dholbachjust the LC/LANG related stuff16:17
balloonsright16:18
balloonsGDM_LANG="en_US"16:18
dholbachare you on utopic?16:19
balloonshttp://paste.ubuntu.com/10628439/16:19
balloonsno vivid16:19
dholbachok16:20
dholbachI can't reproduce the issue, with whatever I set to en_US16:20
dholbachdoes "bzr ignored", "bzr unknowns" or "bzr diff" list anything relevant?16:21
dholbachis this r124 of lp:~dholbach/help-app/1429896?16:21
dkesselis it allowed to ship a native ubuntu phone app with some shared libraries it needs?16:22
popeydkessel: that's the way many do it16:23
=== seb128_ is now known as seb128
balloonsdholbach, .bzrignore inclues en_US.po, the file it complains about16:24
balloonswhat does your po folder look like?16:24
dholbachde.po  es.po  fr.po  help.pot  it.po  pt.po  ro.po16:25
dholbachen_US.po is a fake pofile we create during the build16:25
dholbachit should hvae nothing to do with the language you are running on your machine16:25
balloonshmm same.. any reason en_US.po is .. ahh, ok16:25
balloonsdholbach, gotcha.. I assumed it wasn't meaningful, but that makes the error make more sense16:25
dkesselpopey: and if the app requires something that would normally (on the desktop) be available as a standard .deb package, one has to ship the cross-compiled libraries of that .deb package in the click package, right?16:26
popeybasically, yes16:26
dkesselis there some list of what can be assumed to be available on the phone? it is not the complete Qt, or is it?16:26
dholbachyou could phablet-shell into your phone and run 'dpkg -l' :)16:29
dkesseldholbach: right, i could do that on the emulator16:30
dholbachor take a look at the output of 'apt-cache show ubuntu-sdk-libs'16:30
dholbachalthough that won't show you dependencies of the packages listed there16:30
t1mpkalikiana: can you please review https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/waitForHeaderAnimation/+merge/253542 ?16:33
t1mpkalikiana: no top-approval yet, because we want to land it in w16:34
dkesseldholbach: ok i guess i'll crawl through that list16:34
dholbachdkessel, good luck!16:34
dholbachballoons, can you create a clean checkout of the branch and give me the relevant bits of bash history to break it? :)17:16
balloonsdholbach, I will actually try on another device as well, but yes. As I said though, there's nothing I do beyond bzr branch, make app17:19
dholbachhum17:20
balloonsohh right. I'm wondering if I have dependency issues17:21
dholbachballoons, pull and try again :)17:23
balloonsoO17:25
balloonsmagic17:25
balloonsbuilds fine now dholbach17:25
dholbachyeehaw17:26
* dholbach does the funky it-works-again dance17:26
balloonsindeed!17:27
balloonsdholbach, make launch is really slick17:27
balloonswith this change, it's going to be blog posting time17:28
dholbachhappy happy17:29
dholbachballoons, can https://code.launchpad.net/~dholbach/help-app/1429896/+merge/253518 be approved now?17:39
balloonsdholbach, yes17:39
balloonsone sec I will approve17:40
dholbachthanks!17:41
balloonsdholbach, so I'll write a post on contributing now; what does the translation contribution story look like?17:44
balloonsdholbach, ohh right I forgot to check one thing.. under say content/pages it's important folks only edit the primary md file. We should reflect that somewhere17:44
dholbachballoons, right... do you think you can file a bug?17:47
dholbachmaybe we should clean up all the i18n'ed .md files17:47
dholbachor build them in build/i18n?17:47
balloonsdholbach, yes we should build them in build imho17:49
dholbachok, I'll file a bug17:49
dholbachlet's deal with this separately17:49
balloonssure and yes17:49
dholbachballoons, filed bug 143421017:52
ubot5bug 1434210 in Ubuntu Help App "Build i18n'ed content in build/i18n" [Undecided,New] https://launchpad.net/bugs/143421017:52
dholbachballoons, thanks so much for your help with this17:53
balloonsdholbach, you are most welcome. There's some more fun stuff to tackle for .2 milestone, but the app is in the store lest us not forget :-)17:55
balloonsI look forward to seeing some folks add more content17:55
dholbachme too :)17:55
dholbachone more issue is already fixed and another one is WIP17:56
kalikianat1mp: any particular reason you're not using signalspy? Looks good, tho, otherwise17:58
balloonsdholbach, so is the translations story in good shape now then?18:03
balloonsdo you plan to blog on it or shall I>18:03
dholbachballoons, it is18:03
dholbachballoons, I'm going to call it a day very soon, as soon as this meeting ends18:03
dholbachand then head to yoga18:03
balloonsyou should, past that time for you :-)18:03
dholbachand not open the laptop again until tomorrow :)18:03
t1mpkalikiana: what would be the advantage of using signalspy here?19:09
t1mpkalikiana: note that the function currently also works when the header does not animate at all; the property stays false then19:10
t1mpkalikiana: I pushed an update (components.api)19:10
t1mpkalikiana: when you are happy with it, please leave an approve (not happrove)19:26
brendandt1mp, you only happrove something when you're staying in an otel19:28
t1mpbrendand: we use 'happrove' for setting the status at the top of the page to "Approved"19:31
t1mpdunno what the 'h' stands for..19:31
=== daz is now known as Guest10803
=== Guest10803 is now known as dazza5000
dakert1mp: The HApprove is just slang for Top Approving an MR21:01
popeyyeah, but why H? Does it mean "higher"? I have no idea.21:07
t1mpdaker: I know21:14
t1mp^what popey said :)21:14
=== davidcalle_ is now known as davidcalle
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk

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