/srv/irclogs.ubuntu.com/2014/01/23/#ubuntu-touch.txt

thomislangasek: yeah, we can't run all the tests at MP time, it takes waaaaay too long00:00
slangasekinfrastructure issues that we can solve by throwing 10,000 emulators at it?00:00
thomiso we do it pre-release00:00
slangasekright... but then that's not continuous integration00:00
thomislangasek: I don't know, sorry. veebers, can you provide more details maybe00:00
slangasekit's.. integration by parts00:00
thomislangasek: yeah00:00
slangasek(or, insert your preferred corny calculus joke here)00:00
thomislangasek: we've noticed the problems around the way we used to release things, we're being much more rigerous, and part of that is not releasing trunk after every merge00:01
slangasekhmmm00:02
thomiso we'll try this, and if it solves our problem, then we'll run with it. Otherwise we'll try something else00:02
slangasekthat seems like a perverse outcome to me; I want the rigor, without reduction in release frequency ;)00:02
thomiyeah, me too, but it's just not practical in this instance00:03
veebersHi thomi, slangasek: The infrastructure regarding the release is the jenkins jobs that do the process are erroring00:29
veebersslangasek: throwing emulators would potentially assist in the speeds running the tests, so would benefit the release indirectly00:30
slangasekveebers: anything I can do to help?  Are the right people working on fixing whatever the jenkins problem is?00:30
slangasek(can you give me a pointer to the exact jenkins failure?)00:30
veeberswe currently run autopilot test suite at MR time, it's running all the touch app acceptance tests that take hours (so we reserve that for the release candidate)00:31
* slangasek nods00:31
veebersslangasek: Not sure if you can help, it's the CI-Train process which is pretty recent, didrocks is my only point of contact at this point00:32
slangasekveebers: so do you have visibility on the actual jenkins failure?00:33
veebersslangasek: just looking now, I believe the actual issue lies with the CI-Train code, not jenkins or canonistack concerns. Link coming right up00:34
veebersslangasek: this is the latest error: http://162.213.34.102/job/landing-002-1-build/1/console00:34
slangasekveebers: heh, ok00:37
veebersslangasek: thanks for the offer. I'll keep you in the loop re: release and potential improvements re: testing speeds and times00:37
slangasekveebers: I guess this particular blockage will be the focus of quite a lot of attention between now and the end of next week, given the core team sprint that's about to happen :)00:38
slangasekso I'll cool my heels for now and worry about other things00:39
vthompsonHas anyone with a N4 updated to r143? The OSK doesn't seem to come up.00:39
cwaynevthompson, known issue, there's some missing packages in the build00:57
cwayneAIUI, should be fixed in 14400:57
vthompsoncwayne, ok. Thanks for the info!00:58
cwaynevthompson, no problem!00:59
=== jackson is now known as Guest1629
=== jackson_ is now known as Noskcaj
=== chihchun_afk is now known as chihchun
josecyphermox: hey! around?04:04
=== jackson is now known as Guest7088
kornflake-k9good tut on ho to install on a nexus 7 201204:14
vic1Could i get the exact kernel source git tree that was used to generate: trusty-preinstalled-boot-armhf+maguro.img04:33
=== duflu_ is now known as duflu
=== vying is now known as Guest99684
dholbachgood morning08:12
nhainesTo any of the KitKat porting team in here, congrats on the successful port, even if it does spell the end of support for my phone!08:38
janimoogra_, is there a way to add a README directly under cdimage.../current, to describe the various img and zip fileswhich image08:47
janimos/which image//08:47
janimoogra_, I am writing a wikipage about it, but having it from the horses mouth would guarantee people find it easier08:47
ogra_yes, but we should rather do it cleanly and add that to the header08:47
janimoogra_, the header is fine to, although it has quite some blurb and am not sure people ever read that08:48
ogra_janimo, btw, i have "rootstock-touch" building a rootfs locally (armhf on x86 only yet, but will add x86 on x86 too)08:48
janimoogra_, nice. I got live-build to do it eventually too08:49
ogra_(using the livecd-rootfs/live-build setup)08:49
ogra_there is one last issue with the click mirror ... but i'll solve that today08:49
janimoogra_, this is what I manages, hopefully yours is more complete though08:50
janimohttps://github.com/janimo/ubuntu-touch-live-build08:50
ogra_janimo, well, if you write a wiki you can add "read the header at ..." :)08:50
ogra_not complete at all yet, but io plan to complete is :)08:50
ogra_*it08:50
janimoogra_, indeed, that is why I wanted it somewhere read-only and more visible, since the wikipages are prone to deletion and get rarely read :)08:51
janimoogra_, so where can that header be modified?08:51
ogra_i use the original config, no chnages08:51
ogra_janimo, cdimage tree08:51
ogra_(you seem to fiddle with the live-build config in yours08:52
ogra_)08:52
janimoogra_, I found no way to tell it to cross-build for arm08:53
janimoto have the ARCH env var get used08:53
ogra_qemu-arm-static08:53
ogra_in stacked chroots08:54
janimoogra_, I added that later, so maybe the initial one is no longer needed indeed08:54
janimoogra_, actually I had to pass -a $ARCH when building i386 on amd6408:54
janimothat works withouth qemu08:54
janimobut needed arch or it defaulted to ubuntu/amd6408:54
ogra_well, your outer chroot should already use qemu-arm-static ...08:55
ogra_LB_BOOTSTRAP_QEMU_STATIC only copies the binary around08:55
ogra_it doesnt install the package08:55
janimoogra_, you mean running the build script inside a manually entered chroot?08:55
ogra_wekll, i have my script set up a qemu.arm-static chroot ... install livecd-rootfs and run the build inside that08:56
ogra_(same setup that we have on the buildds)08:56
janimoogra_, I just used live-builds poorly documented qemu build abilities. I had not tested the resulting image yet08:57
janimoso no nested chroots, or at least not obvious when running the script08:57
ogra_right08:58
ogra_i want the same env the buildd has ...08:58
ogra_anyway, i hope to integrate that later with stephanes system-image creation tool once he has a community variant08:59
ogra_so that you can get a complete image08:59
ogra_janimo, btw, you want to change the text around line 739 in lib/cdimage/tree.py09:06
janimoogra_, yes, I saw that html inside python and ran away for a while09:08
janimoto gather courage09:08
ogra_haha09:08
janimoI was expecting text files being catted to the header is good shell tradition :)09:08
ogra_well, thanks to your pushing for a fully open cdimage tree we ended up with a complete python rewrite :)09:09
ogra_no more shell in cdimage09:10
=== deegee__ is now known as drussell
Cimididrocks, ciao didier :)09:42
Cimididrocks, was wondering what you want to be tested now for the snap decisions09:42
* OttOmanTR still waiting to see the first Ubuntu Touch phone :)09:45
cffHow do I go back to the previous activity in Ubuntu Touch ?09:49
cfflike in Android back button (software/hardware)09:50
cffOttOmanTR: What are the plans for an Ubuntu Touch phone ?09:50
cffOttOmanTR: this year?09:50
ogra_cff, there should be a back button in the toolbar of the app ... swipe from the bottom09:50
ogra_if you want to switch apps, swipe from the right ... ubuntu doesnt have that "one back button for all" concept android has09:51
CimiMacSlow, hey man10:02
Cimihow would you test snap decisions for wifi?10:03
MacSlowCimi, you mean the password-entry?10:06
CimiMacSlow, I believe so10:07
CimiMacSlow, waiting didrocks10:07
OttOmanTRogra_: There are multi-window attempts in Android but Android dev says Android UI isn't designed to be multi-window supported. I wonder how Android legacy is in Ubuntu Touch. What about Multi-Window?10:07
MacSlowCimi, try connecting to another hotspot10:08
CimiMacSlow, I mean, automated tests10:08
CimiMacSlow, autopilot10:09
didrocks(back from meetings)10:09
didrocksCimi: yeah, what's up?10:09
Cimididrocks, I wanted to mak you guys happy and test what needed to be tested10:09
didrocksCimi: with nested Mir, the snap decision for network didn't show10:09
didrocks(and the unity8 AP tests, AFAIK were all passing)10:09
didrocksso we need a test ensuring that a snap decision will always be shown, even with this nested Mir10:10
Cimididrocks, we need an autopilot test for that?10:10
Cimiok10:10
CimiMacSlow, ^10:10
CimiMacSlow, I can do it, if you guide me10:10
didrocksgood luck guys ;)10:10
MacSlowCimi, you'd need to port the examples/sd-example-password-entry.py from lp:unity-notifications to an AP-test10:12
CimiMacSlow, ok10:12
=== rachelliu_ is now known as rachelliu
Mirvricmm_: we got a retrace from a maguro crash leading to qtubuntu initially, bug #127187910:37
ubot5bug 1271879 in qtubuntu (Ubuntu) "qmlscene crashed with SIGABRT in qt_message_fatal()" [Undecided,New] https://launchpad.net/bugs/127187910:37
ricmm_Mirv: can you get the runenv from that?11:01
ricmm_envs and pid space11:01
=== ricmm_ is now known as ricmm
davmor2Morning all11:01
ricmmmorning11:01
ogra_moaning11:01
=== chihchun is now known as chihchun_afk
davmor2ogra_: oh cheer up it can't be all that bad ;)11:10
ogra_:)11:10
=== _salem is now known as salem_
Mirvpsivaa: do you know which kind of runenv ricm ^ is after? (regarding http://q-jenkins.ubuntu-ci:8080/job/trusty-touch-maguro-smoke-ubuntu-clock-app-autopilot/146/artifact/clientlogs/)11:45
psivaaMirv: looking11:52
MirvI have seen the runenv mentioned before but I've never really learned what kind of stuff people want they want that :)11:52
=== MacSlow is now known as MacSlow|lunch
psivaaMirv: ricmm: i have the device where that crash occurred, if you could let me know what i should do to get the envs and pid space, i could get tat11:56
psivaas/tat/that11:56
ybonI've 404 when browsing documentation, espacially the "implementation examples", like this one: http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-textfield.html12:02
ybonAnyone know what to change in the URL to get the expected content?12:03
ybonI've tried to switch to 13.10 or 14.04 but same12:03
ogra_dpm, ^^12:03
Mirvpsivaa: thanks, let's see and learn what ricmm would want from there. and if it's not already in the artifact collection, maybe could be added.12:06
psivaaMirv: ack12:07
davmor2ybon: remove the ubuntu-12.10 completely12:20
davmor2ybon: http://developer.ubuntu.com/api/qml/sdk-1.0/ is how the api for qml starts for me12:21
davmor2ybon: http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.TextField/12:22
=== alan_g is now known as alan_g|lunch
ybonyay, thanks davmor2 :)12:22
davmor2ybon: if you saved a bookmark maybe they updated the site since then and your path is nolonger correct12:22
ybonnope12:22
ybonit's from the bottom of this page: http://design.ubuntu.com/apps/building-blocks/text-field12:22
davmor2ybon: ah then it is the bookmark that design used which possibly worked till they updated the site12:24
ybonpossibly yep :)12:24
davmor2ybon: your best bet is to look on developer.ubuntu.com when you see links like that now there is a search box so you can just type in the TextField and it should just appear :)12:26
ybonah, nice tip, thanks :)12:27
=== k1l_ is now known as k1l
tsdgeosmardy: ping12:45
mardytsdgeos: hi!12:58
=== MacSlow|lunch is now known as MacSlow
=== dandrader is now known as dandrader|afk
ybonSeems that if I put two Action in Page.actions, qmlscene crashes (when using from QT Creator at least). Anyone has noticed this?13:13
Laneyhow can I click an option in an ItemSelector with autopilot?13:19
LaneyI've clicked it and made it expand but not sure how to select the one I want13:19
=== alan_g|lunch is now known as alan_g
=== dandrader|afk is now known as dandrader
tsdgeosmardy: i can't login with canonical.com account into google code, can you?14:01
sergiusensxnox, qmake is not used directly, but QT_INSTALL_QML is14:10
xnoxsergiusens: can you show me where QT_INSTALL_QML variable is used.14:11
xnox?14:12
xnoxsergiusens: or how.14:12
sergiusensxnox, hmmm, right, doesn't seem to be the case here; was just inferring since all these apps have this trick and it is used for the install path14:12
xnoxsergiusens: maybe i'm missing something, but it compiles and installs correctly without that variable.14:13
xnoxsergiusens: here is cross-compile build-log http://paste.ubuntu.com/6803096/14:13
sergiusensxnox, this will actually allow me to cross compile as click, so I am all for it :-)14:14
xnoxsergiusens: and all QML stuff is now installed into /usr/share/dialer-app/* I guess also in preparatation to click conversion ;-)14:15
xnoxsergiusens: yeah, #sdk people were pinging me about it re: cross-compiling in click chroot.14:15
xnoxsergiusens: you really want https://launchpad.net/ubuntu/+source/cmake/2.8.12.1-1ubuntu4 however =)14:15
sergiusensxnox, hmmm, well the one that is click ready is addressbook app,camera, gallery, notes, reminders (and require compilation)14:16
sergiusensxnox, I want to add the click chroot stuff into click-buddy, was just waiting for the sprint to pester you ;-)14:16
sergiusensxnox, the build error in your build is not a build error14:16
sergiusensit's a infra error14:17
sergiusensxnox, shell seems to have died mid test; let me just retrigger that14:18
xnoxsergiusens: right. another part what i wanted to tackle at the sprint is setting up auto-cross builder to continiously check that things are all.14:18
xnoxok.14:18
xnoxin terms of not-regressing cross-compilation.14:19
xnoxsergiusens: who shall i pester to get access to any jenkins instances of ours to prototype and launch my own jobs. (just any i386/amd64 workers should be fine)14:19
sergiusensxnox, well I plan to cross build all the clicks, and it's an agenda item to tackle click building during merges at the sprint with fginther14:19
sergiusensxnox, that would be fginther14:19
xnoxsergiusens: hm. i think i have slightly different plans.14:20
sergiusensxnox, like which ones?14:20
xnoxsergiusens: i want to test the archive, and archive-proposed, to make sure the _toolchain_ is not regressing in terms of cross-compiling.14:20
sergiusensxnox, ah, that's ok; I thought you meant conflicting plans ;-)14:20
xnoxand to do so, i want to trigger throw-away cross-compilations of what's in the archive / current click.14:20
ogra_cjwatson, so i heard thre is a requirement to roll images with PPAs included for the new CI stuff, have you been involved with that, are there any concepts yet (i assume we will need a new image type or so in cdimage for this)14:21
sergiusensxnox, sounds good to me14:24
cjwatsonogra_: first I've heard of it14:25
ogra_cjwatson, ok, probably a topic for next week then14:25
cjwatsonogra_: or, well, that's not quite true, I think it was mentioned at some point at the client sprint, but no work has been done on it14:25
ogra_k14:26
cjwatsonogra_: I hope to make progress next week on the master side of moving livefs building into Launchpad (the slave side is at least theoretically done and in the launchpad-buildd version that's about to be deployed) at the sprint - I think that should help14:26
cjwatsonogra_: indeed I think that's a requirement14:27
ogra_yeah14:27
cjwatsonwe've pretty much designed it, just have a pile of database patches and code to write14:27
cjwatsonI'm rooming with wgrant which should help ;-)14:27
ogra_the plan is obviously to have images built from CI PPAs so they are close to identical to what we ship14:27
ogra_heh14:27
ogra_which i guess means you want an output path per image in this case or some such14:28
ogra_where utah then can pull from14:29
aquariuskalikiana, ping14:42
kalikianaaquarius: pong14:47
aquariuskalikiana, I am having weird failures with indexes in u1db-qml. Do you have a few to help me out?14:47
kalikianaaquarius: shoot14:48
aquariuskalikiana, see http://pastebin.ubuntu.com/6803263/14:49
mardytsdgeos: never tried, I use my personal account14:49
aquariuskalikiana, indexes don't seem to work on top-level fields in the document.14:49
tsdgeosmardy: ok, i guess i use my personal one too for that index range patch14:50
aquariuskalikiana, the examples show indexing on, say, hello.world.message in a doc that looks like {hello: {world: {message: "Hello"}}} and that works, but indexing on a field at the top level doesn't. Or am I going mad?14:50
aquariuskalikiana, is there some way I can get debugging information out of u1db-qt so that I can see what it's doing?14:51
mterryCimi, heyo14:51
mterryCimi, sorry, I thought I mentioned I had solved that problem in yesterday's standup, but it didn't occur to me to check in with you because I didn't know there was a desire to reduce the scope of the test14:52
mardytsdgeos: if that bothers you, you can just send me the patch as git formatted patch by email and I'll apply it (there's no need to pass through the issue tracker for such a small change)14:52
mterryCimi, so the problem was that the unity8 session wasn't being marked as 'active' by logind, which affects a lot of dbus permission states14:52
tsdgeosmardy: ok14:52
mterryCimi, and seemingly the NM daemon woudn't talk to the session over dbus in this state14:53
Cimididrocks, we're talking about issue with nested mir ^14:53
mterryCimi, so if we want to properly test that code path, the AP test needs to actually talk to NM14:53
didrocksso, it seems the valid test wouldn't be the snap decision, but the real network test14:53
didrocks(as suggested at first)14:54
kalikianaaquarius: running the example nothing shows up, probably expected. I'm not sure what you mean by top level here14:55
kalikianaI see db.putDoc({type: "place", placename: inp.text}) here14:55
aquariuskalikiana, hang on, let me create a more obvious example :)14:55
mterryCimi, so your first approach, with dbusmock.  Would that be a proper test?  Or does it mock out the NM daemon?14:58
tsdgeosmardy: ok, sent you the email, tell me if that's enough for you15:00
tsdgeosMirv: https://code.launchpad.net/~aacid/qtubuntu-sensors/temporary_open_file/+merge/20287415:01
tsdgeostvoss_: ↑↑↑15:01
=== rachelliu_ is now known as rachelliu
Cimimterry, Wellark said is too complicated now15:06
aquariuskalikiana, see http://pastebin.ubuntu.com/6803336/ for an example. You'll observe that there are two listviews; the one on the left finds documents, the one on the right doesn't. THey both are tied to queries; the queries are tied to indexes; the indexes don't do anything different except that one of the indexes is on a field at the root of the document and one is on a nested field.15:07
mterryCimi, well whatever didrocks is happy with is good with me15:08
didrocksCimi: well, seems that from what mterry told me, this won't test the failure with current nested more15:08
didrocksquite easy, ogra_ can provide you a package to enable nested Mir15:08
didrocksI just want an AP failing in the same or similar case than the one I described with NM15:09
ogra_didrocks, not from my disk, i would have to build it again15:10
didrocksogra_: maybe push that to a ppa for Cimi?15:10
Cimiok15:11
Cimimterry, how would you test this ^15:13
mterryCimi, does NM let you set up mock access points?15:14
Cimipitti, ^ ?15:14
tedgtvoss_, Talking with kenvandine about content-hub with the embedded sources.15:14
kenvandinetrusted sessions15:14
pittimterry, Cimi: no, I don't think so15:15
tedgtvoss_, So it seems that there'll be a second instance of the app running.  Or will there always be one instance.  i.e. it can be embedded or not, but always one.15:15
pittimterry: well, dbusmock's NM template obviously does, but not NM itself15:15
mterrypitti, how do they do tests?  :)15:15
pittimterry: upstream does them manually15:15
mterryguh, sounds awful15:15
pittimterry: but I wrote some automated tests using mac80211_hwsim15:15
tvoss_tedg, there will be a special embedded version of the app running per content-picking operation15:16
pittimterry: they are in NM's autopkgtest (and in an upstream bug report)15:16
pittimterry: mac80211_hwsim is quite nice for that15:16
mterryCimi, didrocks: We could go for a simpler test.  Try to query NM over dbus and see if we get an error or a response of any kind...  let me see which methods have the right permissions to test this15:16
popeybug 127196315:16
ubot5bug 1271963 in unity8 (Ubuntu) "Blank icons in "More suggestions" when no internet connection available" [Undecided,New] https://launchpad.net/bugs/127196315:16
pittimterry: it's great for testing NM itself, but quite a bit too complicated IMHO if you want to test something that talks to NM; mocking NM is easier/faster/more flexible for that15:16
popey(if anyone can reproduce/confirm)15:16
tedgtvoss_, So will that version of the app have a different app id?15:16
tedgI guess it would have to.15:17
mterrypitti, yeah, but in this case we really kind of want to test NM's policykit permissions are working in normal case15:17
tvoss_tedg, hmmm, why would it?15:17
=== dpm_ is now known as dpm
tedgtvoss_, Where is the second Exec line defined to run the app in that mode?15:17
tvoss_tedg, that would go in the app armor profile and the desktop file entry15:18
tedgtvoss_, Figured it'd have to be a separate desktop file (or other format), thus a different stanza in hooks.15:18
pittimterry: ah; well, you'll need root privileges then, a bunch of dependencies (hostap etc.), and do that setup15:18
pittimterry: although that really sounds like it should be tested in NM itself, not in an application..15:18
tvoss_tedg, my idea was that we should have a special exec line for that in the same desktop file as the app's one15:18
tvoss_tedg, it really isn't a different app, just a different point of entry to the app15:19
tedgtvoss_, Seems to me that it'd be simpler as a "second app" in the Click package.  That way the apparmor profile could be different, etc.15:19
mterrypitti, it's sort of an integration issue.  Like, we enabled nested mode for Mir, which accidentally marked the unity8 session as inactive, which made NM deny us.  So we just want to test somewhere in that stack to avoid this.  We could query logind directly, or try  a similar NM dbus probe or something.  We don't *need* to mock NM on the backend15:19
aquariuskalikiana, I think this is a bug, unless I'm doing somethnig massively obviously wrong, but I can't work out how to get debugging information. (Also, nothing shows up in index_definitions in the actual sqlite file, even for working indexes?)15:19
tedgtvoss_, It could call the same executable, but perhaps with different params and different confinement.15:19
tedgtvoss_, We could for instance not want networking in the content selection case, but want it in the main app.15:20
pittimterry: ah, I see15:21
tedgtvoss_, This is basically what we're looking at doing for the infographic-visualizer case.  So you could potentially have an app and visualizer in the same click package even though the visualizer would be far more restricted.15:21
tvoss_tedg, we do agree about the individual steps :) But I think it's still the same app and thus we should just have a section in the desktop file, something like [Content Picking]15:21
pittimterry: well, if you want an integration test between app, mir, NM, and polkit, then mac80211_hwsim indeed sounds nice15:21
mterryCimi, didrocks: the simplest test would be to just query logind and see if the session is active...15:21
mterryCimi, didrocks: the simplest test would be to just query logind and see if the session is active...15:22
pittimterry: or more appropriately, calling pkcheck with the privilege you want?15:22
Cimimterry, I'm not practical at all of those things...15:22
mterrypitti, ah...  I forgot about pkcheck15:22
pittimterry: (don't assume logind or anything which is an implementation detail)15:22
tvoss_tedg, or [Infographic]15:22
kalikianaaquarius: hmm I would expect ["toplevelfield"] there in the second index… I played a bit with the values just now, and it feels like a non-obvious bug is somwhere there - you won't see them in sqlite because it's all in qt data structures only – now there is a bug that *may* be related but I'm not certain if this is the same thing15:23
kalikianahttps://bugs.launchpad.net/u1db-qt/+bug/1266478 – wrt debugging I wish there was a way, but I don't know what a good debugging feature would look like when it comes to queries/ indexing; if you have any user-side ideas I'd love to brainstorm because it could help fix bugs quicker15:23
ubot5Ubuntu bug 1266478 in U1DB Qt/ QML "Query model doesn't work properly with a multilevel document list" [Undecided,New]15:23
tedgtvoss_, At least with infographic we want drastically different confinement, so I don't think that one makes sense.  Content selection is fine, I like the separate App ID better, but don't see a huge difference.15:23
=== salem_ is now known as _salem
tedgtvoss_, But, perhaps more importantly, who are you expecting to parse that desktop file :-)15:24
* tedg hides15:24
aquariuskalikiana, also, we're not returning the contents of the  document; we're only returning the fields that are in the index.15:24
aquariuskalikiana, which means that I have to index eveything, which is really wasteful :(15:24
aquariuskalikiana, also also, if you store everything in qt data structures then what does "create: true" do? And other u1db apps not using QML can't read the same database!15:25
tvoss_tedg, why does a different confinement scenario require modelling it as a different app? I'm a bit confused about that15:25
aquariuskalikiana, I'll file a bug about this indexing thing.15:25
mterryCimi, should be something like this:15:25
mterrypkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process $$15:25
tvoss_@parsing: I think ual is the system's point of entry to that whole world ... so I would say it should live there15:25
mterryCimi, if that command succeeds, we're good15:26
kalikianaaquarius: I've recently worked to improve the Synchronizer.sync_output which collects different "messages" on what happens or doesn't happen - I wonder if this would also be a way for query debugging. not sure if you've seen that api15:26
tedgtvoss_, Because the apparmor profile's name is the appid.  I guess we could create "$(appid)-profile" but that would require changing the apparmor tools to look into the desktop file to decide what profiles to generate.15:26
tedgtvoss_, Had a feeling that was your answer :-)15:27
tvoss_tedg, I actually like the appid-profile proposal15:27
tvoss_jdstrand, mdeslaur ^15:27
jdstrandfyi, a click package can have two apps in it15:27
jdstrandpkgname_appname_version15:27
jdstrandthat is the APP_ID15:27
tedgtvoss_, What it breaks is that currently the different click hooks are independent, this would make the apparmor hook work with the entire manifest.15:27
jdstrandthe appname is the name of the hook15:27
jdstrandor rather, the a key in the hooks db15:28
jdstrandhooks: {15:28
jdstrand  appname1: ...15:28
jdstrand    appname2: ...15:28
kalikianaaquarius: "everything" here is indexing/query results only; create:true decides if you want to add documents that don't exist, if it's false they won't be added15:28
jdstrandwhoops15:28
jdstrandhooks: {15:28
jdstrand  appname1: {}15:28
jdstrand  appname2: {}15:28
jdstrand}15:28
jdstrandso, you get two APP_IDs15:28
jdstrandpkgname_appname1_version15:29
jdstrandpkgname_appname2_version15:29
tedgtvoss_, FYI, this is what we've discussed: https://wiki.ubuntu.com/SecurityTeam/Specifications/InfographicConfinement15:29
Cimimterry, ok15:29
aquariuskalikiana, indexes have create:true too. Index definitions are supposed to be saved to the sqlite file so that all u1db apps are saving in the same format -- it's not critical, but it would be nice if the python library could open u1db.qt-created u1db files...15:29
kalikianaaquarius: please do file each of the points you're making. just pragmatically something like reading python u1db documents has been unneeded so far and thus not high on the list, even if I theoretically agree15:29
aquariuskalikiana, *nod* I am filing bugs as we speak. :)15:30
tvoss_jdstrand, so we could "abuse" pkgname as profilename?15:30
tvoss_jdstrand, sorry, appname as profile name15:30
jdstrandtvoss_: no15:30
tedgtvoss_, We'd be saying that each appname could only be for one profile.15:30
jdstrandit isn't abuse-- it is intentional15:30
tedgtvoss_, So you could be an app or a infographic visualization tool, but not both.15:31
jdstrandhttps://wiki.ubuntu.com/SecurityTeam/Specifications/ApplicationConfinement/Manifest#Click15:31
jdstrandtvoss_: ^15:31
XorgMChello15:31
XorgMCI've got a question:15:32
tvoss_tedg, jdstrand grabbing coffee and reading the wiki, gimme a few15:32
kalikianaaquarius: incidentally, you don't happen to be savvy on u1db.one.ubuntu.com/kalikiana and oauth? I have a branch that is supposed to make sync with a real account work, but I'm struggling to get auth working https://code.launchpad.net/~kalikiana/u1db-qt/syncWithU1/+merge/20250815:33
kalikianaI'm finding myself in the position where oauth with one.ubuntu.com/api/account appears to be fine, but not with the u1db api15:34
=== alan_g is now known as alan_g|tea
XorgMCI try to install Ubuntu Touch on a Nexus 4, but it fails at boot, it always shows the "Google"-Logo with the opened lock. So it doesn't boot it. Why? Which file do i have to flash? [...]armel+mako.zip, [...]armhf.zip or both?15:34
XorgMCTried with phablet-flash and manual method15:34
aquariuskalikiana, I don't know *enough* detail about it to help debug it, I don't think. Working out why oauth doesn't work is a pain :(15:37
aquariuskalikiana, I probably did know enough, but I'm a year off the pace now :)15:37
aquariuskalikiana, two bugs filed, anyway15:37
ogra_XorgMC, phablet-flash ubuntu-syystem -c trusty15:39
ogra_XorgMC, that should just work (it definitely does here)15:40
XorgMCokay, i'll try. and it isn't because kitkat, i heared kitkat makes hard to root15:41
=== alan_g|tea is now known as alan_g
=== gatox is now known as gatox_lunch
kalikianaaquarius: no worries. thanks for the bugs!15:42
ogra_XorgMC, its a nexus ... they are built with rooting in mind15:42
ogra_thats why we chose them15:43
XorgMCShould i try it as root?15:43
ogra_no, should just work15:43
XorgMC"phablet-flash: error: unrecognized arguments: -c trusty" ?15:43
ogra_oh15:44
ogra_try --channel15:44
ogra_i thought the short option works too15:44
aquariuskalikiana, also, how do you delete a document from u1db?15:44
XorgMCThat works, downloads stuff now. Takes some time (600KB/sec)15:44
kalikianaaquarius: would you like to review this? https://code.launchpad.net/~kalikiana/u1db-qt/removeDoc/+merge/19630115:45
kalikianain short: there's no distinct api for it, but you can by setting it to an empty value15:46
kalikianathe above branch adds the api15:46
mamenyakahi ogra_ , just a quick question: any chance the sources will be updated to 4.3 or 4.4?15:48
aquariuskalikiana, have added a note that it's called the wrong thing ;) More importantly, is "set the content to empty" what the reference implementation does when you call delete_doc?15:48
=== dandrader is now known as dandrader|lunch
ogra_mamenyaka, https://plus.google.com/100264483712374857174/posts/hiefUmmUupj15:50
ogra_mamenyaka, in the works :)15:50
ogra_mamenyaka, target is end of the month15:51
mamenyakaogra_, great!15:51
kalikianaaquarius: in python ap it'S None, the closest to that is '' in qml15:52
kalikiana*api15:52
mamenyakaogra_, do you know anything about dualboot? will it support the unofficial ports?15:52
aquariuskalikiana, ah, what I mean is, is that all it does? it doesn't create tombstones, flag the doc as deleted in some way, etc?15:52
aquariuskalikiana, the test suite will test that stuff15:52
dpmhi tedg, I'm not sure if you saw my e-mail, but would you have a couple of minutes to discuss enabling translations in the indicators' upstream projects?15:53
kalikianaaquarius: "will" assuming somebody has tons of time to make it work15:53
kalikianaunfortunately that somebody isn't around15:54
XorgMCogra_: ERROR:phablet-flash:Backup requested but cannot be completed succesfully, try with --system-image-ready if the system is already on an Image Based Ubuntu System to force it or use --bootstrap if data saving is not important or the system is not already on an Image Based Ubuntu System.15:54
ogra_XorgMC, well, it tells you waht to do :)15:54
ogra_use one of these options15:55
* ogra_ would go with --bootstrap15:55
tedgdpm, Yeah, I haven't had a chance to look into it.  Have you talked with didrocks about how that works with the landing process?  If trunk == archive, not sure how LP merging in translations works.15:55
kalikianaaquarius: tombstone is the same as "is None", though, on the python side15:55
kalikianait's not so clear in the docs but that's literally what the code does15:55
kalikianaaquarius: u1db-qt has no special tombstone api, all it does is skip such docs when using Query15:56
aquariuskalikiana, ok.15:57
ogra_XorgMC, btw, this is all described on https://wiki.ubuntu.com/Touch/Install15:57
dpmtedg, thanks, I haven't checked with him, but I can do. We discussed enabling upstream projects translations with seb128, and we already do it for system apps, unity and other projects15:57
kalikianaaquarius: but you probably asked for deleting the same reason others did, it's more ensuring to have a function than being told to set the value to empty15:57
tedgdpm, Yeah, everything is changing right now, so I'm not sure how all that fits together yet.15:57
aquariuskalikiana, I did. :)15:57
dpmtedg, let me put together another e-mail trying to answer the questions and take it from there15:58
attentebfiller, hi15:58
bfillerattente: hey15:58
kalikianaaquarius: I'll rename it to deleteDoc, I agree with that point15:58
tedgdpm, Great, thank you!15:58
attentebfiller, if the user switches display languages, should we also update the enabled-languages to append it as well?15:59
attenteie update enabled-languages as well as active-language15:59
aquariuskalikiana, gnaaah. How do I get the id of a document returned from a query?15:59
=== jono is now known as Guest95543
aquariuskalikiana, this is why query needs to return full documents, not just the indexed fields :)15:59
XorgMCogra_ i've tried it like it was described there, it didn't work15:59
bfillerattente: yes makes sense, as long as we first check that a keyboard layout exists for that lang15:59
attentebfiller, ok. and what should we do if the user removes a keyboard layout which happens to be active?16:00
kalikianaaquarius: docId in the delegare16:00
bfillerattente: that's a good question16:00
bfillerattente: maybe set the previous one in the list to active? or set en as active?16:01
aquariuskalikiana, ah, my apologies; it returns a subset of *contents*, but the acual docId is there, thank you.16:01
kalikianaaquarius: it's a "role" in qml speak, like "contents"16:01
ogra_XorgMC, https://wiki.ubuntu.com/Touch/Install#Step_4_-_Downloading_.26_Deploying_Image_to_Device16:01
ogra_XorgMC, says: "phablet-flash ubuntu-system --channel devel --bootstrap"16:02
aquariuskalikiana, only returning a subset of contents is really annoying, but I can work around it by indexing all the fields I need.16:02
attentebfiller, ok, i was wondering if setting to the first in the list was an option, but previous in the list sounds better16:02
attentebfiller, thanks16:02
bfillerattente: sure np16:02
kalikianaaquarius: depending on the documents I would expect you may not always need the entire thing, that's why. if you have something like a vast music library you may not want the query to take all that memory16:03
mterryCimi, anyway.  So is it easy enough for ya to stuff that pkcheck line somewhere in the autopilot tests?16:03
XorgMCogra_ works now! BIG THX!16:03
aquariuskalikiana, ya, but if I *do* want all the contents then I have to walk through the list and fetch them all myself, which rather defeats the point of having a listmodel :)16:04
mterryCimi, I suppose the snap decision stuff would be nice gravy on top of that check, but that one pkcheck thing should be sufficient for the nested mode16:04
ogra_XorgMC, enjoy :)16:04
XorgMCthanks16:05
kalikianaaquarius: but wouldn't you put the fields in the index then?16:06
cwaynedpm, does the weather app do gps location, or geoip?16:07
dpmcwayne, just geoip for now16:07
dpmit got implemented when we still didn't have a working location API16:07
XorgMCDoes anybody know where WIFI Settings are?16:08
ogra_XorgMC, at the top ... pull donw the panel16:09
aquariuskalikiana, absolutely not. Imagine I have a db for the clock app. I store alarms and previously-used-countdowns. So alarms go into the DB as {type: "alarm", alarmtime: "0820"} and countdowns as {type:"countdown", countdowntime: "45"}. I want, on the alarm tab, to show all set alarms, and on the countdown tab to show all countdowns. So I define *one* index: U1db.Index { id: by_type, expression: "type" } and two que16:09
aquariusries: U1db.Query { id: alarms; index: by_type; query: "alarm" } and U1db.Query { id: countdowns; index: by_type; query: "countdown" }. I can then use those two queries as ListModels. I only need one index for this, if u1db is being used right... but I can't do that with your implementation, because you only return me the indexed fields.16:09
cwaynedpm, who owns the location api?16:10
dpmcwayne, I'm not sure, but tvoss might know. The last time I had a chat about it was with him16:12
kalikianaaquarius: hmm true. thinking about this I am actually getting an interesting idea… maybe the Query could be made smarter by getting the contents from the db on the fly, and just store docIds via the index16:13
kalikianaso there would be no memory concern16:13
aquariuskalikiana, indeed.16:13
aquariuskalikiana, *someone*, of course, has to hit the database to get all the document contents, but I want that to be u1db itself, not me.16:13
=== _salem is now known as salem_
aquariuskalikiana, check out how the reference implementation does it :)16:14
XorgMCogra_ it seems wifi isn't supported in Trusty, i try it with stable saucy ;)16:16
ogra_XorgMC, wait, did you say android 4.4 above ? you might need to flash the radio firmware of 4.216:16
cwaynepmcgowan, when you had geolocation working, did you have to do any setup?16:16
cwaynei keep going into the location indicator and enabling stuff, and it keeps automatically disabling itself16:17
XorgMCYes, it was a second hand device with updated android 4.4.216:17
pmcgowancwayne, no, but cant get it to work currently16:17
pmcgowancwayne, the indicator is busted - there is a bug on that16:18
cwaynepmcgowan, ah, okay, so i'm not just crazy then16:18
=== ondrat is now known as ondra
Cimimterry, what should this command return?16:18
XorgMCogra_ just flash radio from factory image-package (4.4.2) with fastboot flash radio?16:19
Cimididrocks, can I have a package with mir with nested mode so later I could double check it?16:20
mterryCimi, 0 on success16:23
cwayneXorgMC, you'd want to flash an older radio image16:24
=== gatox_lunch is now known as gatox
Cimimterry, cause your command returns nothing here16:24
cwayneor wait for the 4.4 mako image (AIUI should be ready soonish)16:24
mterryCimi, is $? 0?16:24
ogra_cwayne, like end of next week ...16:24
ogra_cwayne, i doubt he wants to wait that long :)16:24
XorgMCcwayne maybe it can be fixed like it's descibed like here: http://forum.xda-developers.com/showthread.php?t=2388237  (look at download)16:24
cwayneogra_, just presenting the options :)16:24
ogra_:)16:24
Cimimterry, cimi@carina-vm:~/Development/unity-notifications/examples$ pkcheck --action-id org.freedesktop.NetworkManager.enable-disable-network --process $$16:25
Cimicimi@carina-vm:~/Development/unity-notifications/examples$16:25
mterryCimi, now run: echo $?16:25
XorgMCcwayne / ogra_ "*** for android 4.4 user or who not use radio .84 please flash .84 radio (thank to @efrant)for wifi and sensor working" flash this?16:25
ogra_XorgMC, might be, i never had to do that16:26
ogra_there is http://askubuntu.com/questions/380435/wifi-issue-on-nexus-4-16gb16:26
kalikianaaquarius: hmm if I read the code right it just dumps all the contents in the results. so this is memory vs. performance as simple as that. I suppose I'll just have to test it out16:26
ogra_XorgMC, and https://wiki.ubuntu.com/Touch/DualBootInstallation#Android4.4Radio16:26
Cimimterry, 016:28
XorgMCokay, flashed it. let's see...16:28
kalikianaaquarius: I will ponder on this more while I run some errands. see you around!16:28
mterryCimi, awesome, then it worked16:28
mterryCimi, compare that with the result you get from misspelling the action-id16:28
aquariuskalikiana, cool. I've done a couple of brief summary blog posts today about U1DB QML which should show up on planet ubuntu at some point :)16:28
mterryCimi, you'll get some non-zero return16:28
CimiI'll try16:29
kalikianaaquarius: woot, I will totally check those out16:29
Cimimterry, complains about not-existing action16:30
kalikianamaybe I should be careful what promises I make now if you will hold me to it on your blog posts :-D16:30
Cimimterry, ho do I check permissions?16:30
mterryCimi, yup.  But now what does echo $? say?16:30
Cimimterry, 12716:30
XorgMCFlashed, and received a sms, but still no wifi networks. there's just "Auto-join previous networks"16:30
mterryCimi, see.  If there is a problem checking permissions, your return code will be non-zero16:30
XorgMCogra_ Flashed, and received a sms, but still no wifi networks. there's just "Auto-join previous networks"16:30
mterryCimi, so in autopilot, just run that command and assert the return is zero16:31
Cimigotcha16:31
ogra_XorgMC, hmm, you should see the list of APs around you16:31
ogra_and when you mark the checkbox next to one it should ask for your passphrase16:32
XorgMCstill says "Error: No Wi-Fi device found"16:32
ogra_thats weird16:33
ogra_works fine here16:33
XorgMCAnd i cant make calls, the green button is disabled!?16:33
ogra_bfiller, should my german keyboard actually give me german word suggestions ? (i only get english ones)16:33
ogra_XorgMC, did you type a number ?16:34
XorgMCYes16:34
bfillerogra_: it should yes16:34
ogra_hmm, sounds like the radio FW doesnt work ...16:34
ogra_bfiller, hmm16:34
bfillerogra_: try switching to english and back to german16:34
* ogra_ tries16:34
bfillerand see if that works16:34
XorgMCI try it with that CWM package16:35
ogra_bfiller, oh, wow, the bottom row is now missing in the osk16:35
bfillerogra_: yikes16:35
ogra_(after switching to english)16:35
bfillerogra_: did you switch in the keyboard itself or via settings?16:36
ogra_ah, no, its not, it is drawn across the top row actually16:36
ogra_via settings16:36
ogra_aha, second time it comes up it is right16:36
bfillerogra_: that's a bug I guess, you should get a globe button in the keyboard and long pressing it should allow you to switch between the active langs16:37
ogra_ok16:37
ogra_the same issue when switching back to german via settings btw16:37
ogra_second rime it comes up it is fine again16:37
XorgMCthis package says "Mako modem flasher" !?16:37
ogra_but it isnt german now16:38
bfillerogra_: also, manually turn on spellchecking and you should see german words: gsettings set com.canonical.keyboard.maliit spell-checking true16:38
ogra_and i dont have a globe16:38
bfillerogra_: don't use the settings panel, it's not in sync with the keyboard, attente working on the fix16:38
XorgMCogra_ are you from germany?16:38
bfillerogra_: do this for now..16:38
ogra_bfiller, but i dont have a globe16:39
bfillerogra_: which app?16:39
ogra_shell search atm16:39
bfillerogra_: should show up in all keyboards except browser16:39
XorgMCah, now it works!16:39
ogra_keyboatd is english, despite me selecting german in the settings (before you said i shouldnt)16:39
bfillerogra_: gsettings set com.canonical.keyboard.maliit enabled-languages "['en','de']"16:40
ogra_and there is no globe16:40
bfillerogra_: gsettings set com.canonical.keyboard.maliit active-language de16:40
ogra_well, thats my enduser phone :)16:40
ogra_and i dont have a cable around atm16:40
bfillerogra_: ok, well fix in progress16:40
* ogra_ tries a reboot 16:40
XorgMCHow can i adjust the volume? With volume up/down it doesnt work :(16:41
ogra_XorgMC, it does here ... you should see the icon in the panel change16:42
XorgMCFound it16:42
ogra_bfiller, i get the globe if i select more than one language ... and it seems to stay around after disablinfg the second16:44
ogra_yay, and german completion16:45
ogra_the sound is still quite delayed when typing16:45
doanacsergiusens: I've just hit a problem on one of our CI servers. we can't get phablet-tools installed. it now depends on "click" but there's no installation candidate. any ideas about what's happened? (this is on saucy)16:48
didrocksCimi: did you read that I pinged ogra to give one to you? he will do that I guess and ping you ;)16:50
Cimididrocks, mercie!16:51
ogra_didrocks, oh sorry, that fell off my table ... will do right after the meeting16:51
didrocksde rien ;)16:51
didrocksogra_: great!16:51
om26erHi!16:52
om26erinitctl set-env QT_LOAD_TESTABILITY=1 that does not seems to work anymore16:52
om26erapps started after that are not loading the testability driver automatically, HELP ?16:53
om26erSaviq, hey do you know anything about ^17:01
annerajbhello17:03
om26erbug 127199717:08
ubot5bug 1271997 in unity8 (Ubuntu) "QT_LOAD_TESTABILITY=1 does not seems to work anymore" [High,New] https://launchpad.net/bugs/127199717:08
tvosssil2100, ping17:13
sil2100tvoss: pong!17:13
sil2100tvoss: yes, we're almost there! Just need didrocks to +1 the release ;p17:13
sil2100tvoss: after the meeting I press the button and it's IN17:13
* tvoss hugs sil21017:13
* tvoss hugs sil2100, too :)17:14
=== dandrader_ is now known as dandrader
popeydidrocks: bug 127196317:23
ubot5bug 1271963 in unity8 (Ubuntu) "Blank icons in "More suggestions" when no internet connection available" [Undecided,New] https://launchpad.net/bugs/127196317:23
=== salem_ is now known as _salem
didrockspopey: thanks!17:25
didrockspopey: yeah, I still wonder how it's getting a list of empty icons though17:26
didrocksas the size should be 017:26
didrocksmzanetti: any idea? ^17:26
popeyit may well have cached them from when i was at home17:26
popeyi didnt clean boot17:26
sergiusensdoanac, hey; add https://launchpad.net/~ubuntu-sdk-team/+archive/ppa17:26
mzanettididrocks: no... mhr3 might17:26
didrocksmzanetti: ah, of course, it's mhr3's fault! :)17:27
mzanettiI haven't said that17:27
didrockswhat am I thinking! Old good habits return :)17:27
mhr3nooooooo17:27
doanacsergiusens: thanks17:27
didrocksmzanetti: I'm kidding, all joke between us ;)17:27
didrocksold*17:27
didrocksmhr3: what have done *again*? :p17:27
mhr3didrocks, dont you know? my job is to break stuff and make you not realize :P17:28
=== _salem is now known as salem_
mhr3i got pretty good at hiding the breaks17:28
didrocksmhr3: but but… you wrote code without bugs! what happened to this duty? :)17:28
didrockshehe17:28
mzanettiso mhr3 is the reason why we have to do the releasing ourselves now :D17:29
didrocksall changed when I stopped looking at you!17:29
didrocksyeah, it's all on him! ;)17:29
mhr3thank me later :D17:29
=== jono is now known as Guest52764
=== bfiller is now known as bfiller_afk
kenvandinetedg, you had mentioned you were thinking about adding the infographic visualizers as a group in the desktop file17:40
kenvandinedo we have any tooling in qtcreator for building the .desktop file with specialized groups?17:41
kenvandinelike de do for building the .json files17:41
kenvandineor plans to17:41
kenvandines/de/we/17:42
fr33r1d3Hello guys. I installed Ubuntu Touch on my Nexus 4 the other day. It works quite well, but I cant send or recieve MMS. Is that something someone is working on or?17:46
ogra_fr33r1d3, yes17:46
ogra_ChickenCutlass works on it ... its not 100% there yet though ... be patient :)17:47
fr33r1d3ok, thanx17:51
=== tvoss is now known as tvoss|test
ogra_Cimi, http://people.canonical.com/~ogra/ubuntu-touch/ubuntu-touch-session_0.91~test1_all.deb ... sorry that it took so long17:57
ogra_(note that you should install unity-system-compositor first)17:58
annerajbhello any updates on ubuntu touch for 4.4?17:58
=== alan_g is now known as alan_g|EOD
ogra_annerajb, https://plus.google.com/100264483712374857174/posts/hiefUmmUupj17:59
ogra_still in the works17:59
annerajbyay gerrit is setupt18:00
myNameIsWhoHello there I am trying to make a google speech recognition library.  I have made the lib but it is returning nothing back from the Non-supported Google Api.  I was wondering if some one could test this and see if it works for them . It is super simple to test.  Just make a audio recording in FLAC at 16000 bit rate  then upload to google server and wait for reply.  wget -q -U "Mozilla/5.0" --post-file /message.flac --header="Content-Type: audi18:01
myNameIsWhoo/x-flac; rate=16000" -O - "http://www.google.com/speech-api/v1/recognize?lang=en-US&client=chromium"       << this is what I get back       {"status":5,"id":"","hypotheses":[]}   just want to see if others get that back also. Maybe the api is not working or maybe I am blocked.18:01
myNameIsWhowhere message.flac is your recorded flac file18:02
myNameIsWhoseems like status 5 means incorrect audio file but ..... I think that it is right18:04
=== tvoss|test is now known as tvoss
josecyphermox: ping18:12
myNameIsWhoNevermind it was my rate I needed to change it to rate=8000 and not 1600018:17
taiebotHi all just to let you know I managed to isolate a crash and you should be able to reproduce it.  https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/124040818:22
ubot5Ubuntu bug 1240408 in unity8 (Ubuntu) "unity8 crashed with SIGSEGV in QCoreApplication::postEvent()" [Medium,Confirmed]18:22
=== jhodapp is now known as jhodapp|afk
cyphermoxjose: pong18:35
josecyphermox: hey, I got to test urfkill18:35
cyphermoxcool!18:35
joseonce I rebooted the state was not saved, like, things were turned on again18:35
joseI tried with rfkill block <identifier> and with the flight mode command you provided18:36
joseboth seemed to have the same problem18:36
cyphermoxok18:36
cyphermoxcan you check whether you have a /var/lib/urfkill/saved-states18:36
cyphermox?18:36
josesure, give me a second18:36
joseshould I enable it first?18:36
cyphermoxjose: no, it shouldn't matter18:37
joseok, checking18:37
cyphermoxjose: are you doing this on your computer or on touch?18:37
josecyphermox: on touch, it's running as the recovery system18:38
jose(on the recovery partition)18:38
joseI do have the file, yes18:38
cyphermoxok, see if it does contain true for the type of killswitc you disabled18:39
josenope, everything is false18:39
cyphermoxdid you toggle it back on before?18:39
joseI did, and toggled back off right now18:39
cyphermoxthe idea is that it only writes when shutting down18:39
* jose reboots18:39
cyphermoxso if you want to see it write to disk, you have to stop urfkill18:39
joseI rebooted and it didn't write anything18:40
cyphermoxalright18:41
joselet me try something else for a min18:41
cyphermoxdo you have urfkill running now?18:41
josethat's correct18:41
ogra_should /var/lib/urfkill be writable ?18:42
ogra_(did you make the necessary changes)18:42
cyphermoxyou might want to try to kill urfkill with SIGINT, see if it behaves better. that was an issue before18:42
cyphermoxto see if you can make it write to the file18:42
cyphermoxogra_: oh, well, yeah :)18:42
cyphermoxI never did, good catch18:42
cyphermoxd'oh18:42
ogra_:)18:42
joselet me check if the file is writable then18:43
josehas only read permissions18:44
josecyphermox: I added write permissions and the file now shows true at wlan, which I blocked, but when turned on wifi isn't off18:47
cyphermoxsorry, I don't understand that18:47
cyphermoxyou mean after a reboot?18:48
joseI did chmod u+w saved-states, so the file is now writable. I blocked wifi with 'rfkill block wifi' and rebooted18:48
cyphermoxright18:48
joseI now checked the file and says [WLAN] soft=true18:48
cyphermoxI just did this and it fails here too18:48
joseso two bugs here: file not being writable, and somehow urfkill isn't check or something as it's not off18:49
cyphermoxI see18:52
cyphermoxjose: I think the file not being writable is a red herring18:53
cyphermoxit works fine here18:53
cyphermoxthe problem is on boot urfkill starts before the wifi device's firmware is written by the android ueventd jobs, and gets enabled again by it18:53
cyphermoxsimilar issue to what I had with bluetooth too >.<18:54
ogra_cyphermox, start urfkill after the container then18:54
cyphermoxogra_: sucks18:54
ogra_(start on started android)18:54
cyphermoxthen there is a short period of time where radios can be enabled before they are shut down again18:55
ogra_yeah18:55
joseand that happens18:55
cyphermoxie. bad18:55
ogra_i doubt you can prevent that unless you write into the container somehow18:55
ogra_to tell android to keep it off when loading18:55
cyphermoxogra_: need to move the wifi and bluetooth initialisation properly outside of android18:56
ogra_isnt there a property you coudl set ?18:56
cyphermoxprobably, I'll need to dig deeper18:56
ogra_you cant if fimware is involved18:56
cyphermoxsomething to do next week18:56
ogra_only one of ueventd/udev can handle the firmware18:56
cyphermoxI'm sure there is something, just not sure what18:56
cyphermoxyeah, I know18:56
cyphermoxit should all be udev18:56
ogra_and only android knows the options you need18:56
cyphermoxogra_: I'm well on the way to splitting out the bluetooth initialization completely out of android18:57
ogra_(oh, and we are on a quest to remove all HW related bits from the rootfs in favour of having them in the container)18:57
ogra_(see the ML)18:57
cyphermoxseriously?18:57
ogra_read the ML :)18:57
mamenyakaogra_, can you help me?18:57
josewell, if you guys need any testing just let me know, I'm heading for lunch :)18:57
cyphermoxjose: sure, thanks!18:59
mamenyakaBlack screen after boot, dmesg: http://paste.ubuntu.com/6804395/    logcat: http://paste.ubuntu.com/6804400/18:59
ogra_cyphermox, subject "Device-Specific configs in debs"18:59
cyphermoxogra_: I understand the idea for supporting other devices, but that makes handling other things hardware-related but more generic, outside the container, a large headache18:59
ogra_cyphermox, well, i would like to go for generic ... like we do on x86 ... but sadly that will not work inmany cases19:00
cyphermoxit can19:00
cyphermoxit's just a bit more complicated19:00
ogra_i.e. whn you have the same chipset but device specific configs19:00
ogra_alsa is a good example19:00
cyphermoxI was getting some headway splitting out the hci_qcomm_init code into something more generic19:00
ogra_you will likely have per device ucm files19:01
cyphermoxbut now it's useless to spend time on that19:01
ogra_since if you would create a generic one for the chipset you just end up with tons and tons of device specific exceptions19:01
ogra_and i guess that goes for firmware loader options too ...19:02
ogra_same chipset and fw but n different ways to initialize it19:02
ogra_and only android knows the right runes19:02
cyphermoxoh well19:02
ogra_cyphermox, firmware loading is only disabled in udev ... you could indeed just load it from your script or whatever19:03
cyphermoxno point19:03
ogra_definitely something for next week ...19:03
ogra_but from the ML discussion it seems android is the desired place to keep it19:04
cyphermoxyeah, I understand, even if I disagree19:07
cyphermoxit certainly reduces the scope19:07
* cyphermox hacks up bluetooth-touch to get rid of specific crap19:08
ogra_mamenyaka, did you wait a while to see if it possibly comes up at some point ? looks like apport is collecting a lot of stuff (or tries to at least) ... that can put heavy load on the system19:09
mamenyakahow much should I wait?19:09
mamenyakaogra_, I waited like 5 mins19:09
dobeyis there any way to access ANT+ devices in ubuntu touch?19:10
=== bfiller_afk is now known as bfiller
mamenyakaogra_, I stopped the apport service, the screen went from black to turned off19:25
ogra_what device is that ?19:26
mamenyakaogra_, Sony Tablet Z19:26
ogra_not using Mir seemingly19:27
mamenyakai still have surfaceflinger19:27
mamenyakaso, what did I miss?19:28
ogra_we will soon drop support for that ...19:28
ogra_not sure19:28
mamenyakaa few weeks ago my build worked fine19:28
=== gatox_ultra is now known as gatox
mamenyakatoday's build is as I described19:29
ogra_well, looking at the SF test results at http://ci.ubuntu.com/smokeng/trusty/touch_sf4p/it doesnt look so good19:29
mamenyakasf4p?19:31
ogra_dunno what the 4p stands for19:31
ogra_sf is surfaceflinger19:31
mamenyakaso it's just a bad build19:32
ogra_latest with the switch to kitkat we will drop SF19:32
ogra_which should be end of next week19:32
mamenyakalooking forward to it19:33
mamenyakaso what image do you recommend trying?19:34
ogra_well, todays is fine on my mako ...19:34
mamenyakaor how do I switch to Mir19:34
ogra_touch /home/phablet/.display-mir19:34
mamenyakareboot?19:35
ogra_but you might catch driver issues with mir ... not sure it supports adreno200 yet19:35
ogra_yeah19:35
ogra_if you have issues, talk to the guys in #ubuntu-mir19:35
mamenyakawe'll see19:35
mamenyakahow do I check the status?19:39
ogra_ps ax|grep surface19:39
ogra_shouldnt return surfaceflinger :)19:40
mamenyakaokay, that's out of the way19:40
mamenyakastill black screen19:40
ogra_no shell ?19:40
ogra_bah19:40
ogra_any fresh files in /var/crash ?19:40
mamenyakayes19:41
mamenyaka_usr_bin_maliit-server.32011.crash19:41
ogra_thats the keyboard19:41
ogra_the shell shoudl still come up19:41
mamenyakadmesg: http://paste.ubuntu.com/6804637/   logcat: http://paste.ubuntu.com/6804639/19:44
mamenyakaanywhere else to check?19:45
ogra_the unity8 log probably19:46
ogra_in /home/phablet/.configg/upstart iirc19:46
ogra_-g19:46
mamenyakaempty - /home/phablet/.config/upstart19:47
ogra_/home/phablet/.cache/upstart, sorry19:48
mamenyakahah, that makes more sense19:48
mamenyakaFailed to load platform plugin "ubuntu". Available platforms are:19:48
ogra_hmm19:48
mamenyakarepeats through the whole file19:49
ogra_that doesnt look like it honored the ~/.display-mir file19:49
ogra_right19:49
=== jhodapp|afk is now known as jhodapp
ogra_showing you the available backends19:49
mamenyakayes19:49
ogra_/usr/bin/ubuntu-touch-session should have set it properly19:50
ogra_if [ -f "$HOME/.display-mir" ]; then19:50
ogra_    export QT_QPA_PLATFORM=ubuntumirclient19:50
ogra_else19:50
mamenyakathere is no $HOME set19:51
ogra_lightdm logs in the phablet user ... so there is definitely a HOME set19:52
mamenyakabut echo $HOME empty19:52
ogra_(unity8 is started by the session)19:52
ogra_are you phablet ?19:52
ogra_sudo -u phablet -i19:52
mamenyakaoh, i see19:52
ogra_echo $HOME19:52
mamenyakaand I created the .display-mir as root19:52
ogra_that shouldnt matter19:53
ogra_it just checks for existence19:53
mamenyakaso, now I am phablet19:53
mamenyakaand $HOME is set19:53
mamenyakaof course, I always forget that root is by default19:53
ogra_well, try: stop unity819:54
ogra_and then: start unity819:54
ogra_see what happens and check the log19:54
mamenyakaWARNING: QApplication was not created in the main() thread.19:56
mamenyakaonyl this after restarting19:57
mamenyakaunity819:57
ogra_thats harmless19:57
mamenyakai know19:57
mamenyakabut still nothing19:57
ogra_well, i'm a bit out of ideas19:59
mamenyakain the logcat, it just repeats the same line with Adreno200-EGL20:00
ogra_rsalveti uploaded some hybris changes ... not sure if that could cause issues20:00
mamenyakado these mir_..._tests mean something?20:09
ogra_ask in #ubuntu-mir20:10
ogra_i think they are test tools20:10
mamenyakathey are all OK20:12
mamenyakaokay, thank you for everything20:12
rsalvetiogra_: shouldn't change anything for 4.220:14
ogra_rsalveti, well, i have no idea whats broken for him20:15
ogra_and now he is gone :)20:15
ogra_but QT_QPA_PLATFORM=ubuntu is definitely wrong when he has set .display-mir20:15
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
ybonpopey: http://bazaar.launchpad.net/~yohanboniface/osmtouch/trunk/files :)21:21
* popey runs to get his phone21:21
ybonBe careful, I'm learning close to everything (qt, qml, bazaar, etc.), so... ;)21:21
ybonbut you should see a map, see a button to center the map on your position, and have textfield to search for a place and center the map on this place21:22
ybonall very very alpha21:22
ybonlike just out of the oven, and the recipe is not written yet :p21:23
Fishscenelol21:23
popeypffft21:23
popeyi usually just lob stuff in the pan21:23
popeyrecipes are overrated21:23
popeynobody died yet from my cooking21:23
ybonif the oven is hot enough, everything is safe ;)21:24
popeysegfaults on my desktop21:24
ybonthis means "well cooked"21:24
ybonyou mean through qmlscene?21:24
popeyya21:25
ybonand with qt creator?21:25
popeyworks in qtcreator21:27
FishsceneHow would I know which Mir milestone is in which development channel?21:27
FishsceneThere's a bugfix that comes out in 0.1.4, last I heard, the ubuntu-touch was on 0.1.3, but besides bothering dev's randomly as to what is going on, I have no idea how to tell which version of Mir Ubuntu touch is using.21:32
popeyFishscene: we have a web page which shows changes21:33
popeyhttp://people.canonical.com/~ogra/touch-image-stats/21:33
popeyii  libmirclient4: 0.1.3+14.04. armhf        Display server for Ubuntu - clien21:34
popey^^ my phone21:34
popeyso no, not 0.1.4 yet21:34
FishsceneWas that the output of your phone?21:35
popeyyes21:35
FishsceneWhat ADB command did you use? The enter button doesn't work on terminal on my N721:35
Fishsceneactually, nvm. I can look that up :)  Thanks Popey21:36
popeynp21:38
popeyadb shell dpkg -l "*mir*"21:38
ybonpopey: any input? The app runs both on desktop via qmlscene and qtcreator and on the phone for me :s21:42
thomitedg: I've just finished testing your gir support branch, and it works fine, I'm approving it now21:43
tedgthomi, Ah, cool!  Thanks.21:44
tedgthomi, You wouldn't by chance know anything about packaging python bindings?21:44
thomitedg: not gir bindings, no21:44
tedgthomi, These are SWIG actually.21:44
tedgthomi, For libbabeltrace21:44
thomitedg: hmmm, not swig either - I usually use C/C++ and a python setup.py file21:45
thomitedg: I usually bug barry about those sorts of questions :)21:45
tedgthomi, Yeah, he seems to be out, and I might have stretched kenvandine patience with me :-)21:45
thomitedg: Any idea when the code that enables the failure notification in libUAL will be merged?21:45
* tedg hates on Python a bit :-)21:46
thomitedg: that's ok, I hate on glib a bit, so we're even :)21:46
tedgthomi, Not sure entirely, I got pete-woods to agree to review them but he hasn't yet.  Need to harass him again tomorrow.21:47
thomitedg: OK. I'm on holiday most of next week, but it'd be great if we could egt this stuff into distro the week after21:47
tedgthomi, Cool.  I'm implementing a feature pete needs right now that is dependent on that, so he'll be motivated here soon :-)21:48
thomiheh, awesome21:48
popeyybon: sorry, distracted by real life (and port)21:49
ybonoh no pb :)21:49
popeyybon: ok, search is strange up at the top21:50
popeyit works, it just doesn't feel like the other apps, but that's easily changed if required21:51
ybonyou would expect it at the bottom? Or just with more margins?21:51
popeyno.. lemme get you an example screenshot21:51
ybonwell, I don't have really worked on the look and feel for now21:51
popeyshould it zoom in/out?21:51
ybonas I said, just make it work for 1. than start thinking :)21:51
ybonpanning?21:51
popeyno, zoom21:52
popeypanning works21:52
ybonzoom, but with which action?21:52
popeyI'd expect double click or mouse wheel to zoom in/out21:52
popeyon desktop21:52
ybonah, yeah21:52
ybonlet me check on desktop :)21:52
ybonah no :)21:53
popeyybon: http://popey.com/~alan/phablet/device-2014-01-23-215254.png21:53
popeythats what search looks like in the clock app fyi21:53
popeynot major21:53
ybonyes21:53
ybonso with a title an maring left/right?21:53
ybonbut I guess I just need to use the correct components21:54
popeyyeah, thats all21:54
popeyits a lovely start ☻21:54
ybonthanks :)21:55
ybonyeah, just a start :p21:55
ybonIn an ideal world, I was hoping displaying the search field on top of the map21:55
ybonwithout opening a new page21:55
ybonwhat do you think?21:56
popeyright, now interesting you should say that21:56
popeyI know the canonical design team are working on new ui for search21:56
popeyso i would hang fire for now, and see what comes out of that over the next few weeks21:56
popeysave you re-doing it again21:56
ybongood to know :)21:56
=== salem_ is now known as _salem
popeyybon: are there other tilesets?21:59
ybonpopey: ah, one more question: is it working with your 3G connection? Including geolocation?21:59
ybonnot at the moment, but clearly one the first items of my todolist :)21:59
popeyi have not tried geo on the phone because it's painfully slow21:59
ybonit should be not that slow, I'm using geoip in fallback21:59
myNameIsWhoybon,  it takes like 20 minutes for it to start working22:00
myNameIsWhoPostionSource that is22:00
ybonalso, if you have advices on the code side, please go ahead, I'm missing good pratices atm22:00
ybonmyNameIsWho: yes, this is why I'm using geoip in fallback, as suggested by popey yesterday :)22:01
popeyybon: oh i see22:01
myNameIsWhoybon,  how good is that at getting a location ?22:01
ybonfast, but not really acute22:02
ybonand need a internet connection22:02
popeyybon: http://popey.com/~alan/phablet/device-2014-01-23-220150.png22:02
popeyybon: http://popey.com/~alan/phablet/device-2014-01-23-220208.png22:02
popeyfirst was once launching app, second is after clicking "position"22:02
popeyyes, it found my location22:02
ybonyeah, don't ask me why the app start on top of Reims, I've just put some random lat/lon :s22:03
popeypinch to zoom works nicely22:03
popey22:03
ybonI need to geolocate automatically I think22:03
ybongreat :)22:03
ybonthis is thanks to QTlocation, btw22:03
popeyalthough oddly it shows the app behind it when it's loading tiles22:03
ybonyes22:03
ybonI don't know why22:03
ybonI've set a background22:04
popeyhttp://popey.com/~alan/phablet/device-2014-01-23-220353.png22:04
ybonbut sometimes it's there, sometimes not22:04
myNameIsWhoybon,  branch for the code ?22:04
popeydepends how fast you zoom22:04
ybonmyNameIsWho: https://launchpad.net/osmtouch/trunk22:04
ybonpopey: not sure, try relaunching the app, sometimes it has the background, and then you can zoom as fast as you want you will have a white backtground when tiles are not loaded22:05
popeyhaha, nice license choice!22:05
popeymight be because i launched via qtcreator22:05
ybonI have the same behaviour even with the app installed on the device22:06
popeyah22:06
ybonatm, I'm unable to understand which make the bg be there or not22:07
Laneymterry: is the phone lock screen/greeter part of src:unity8?22:07
mterryLaney, yeah22:08
Laneyty22:08
myNameIsWhoybon,  Yeah I launched the app on my desktop and it is no where near me. How to use fallback ?22:10
ybonclick on "position" in the actions22:10
myNameIsWhoybon,  no good says that it can not find it22:12
ybonyou have to show the menu like on the phone :)22:12
ybonif you are on the desktop, just click on the very bottom of the window, and drag to the top22:12
myNameIsWhoybon,  after I searched for a place it is now using the Ubuntnu geoip22:12
myNameIsWhoybon,  http://i.imgur.com/5xZcg9J.png   this is what I get if I do not search first22:14
ybonah, interesting22:15
ybonmaybe you have been to fast?22:15
ybontry relaunching the app and waiting like 10 seconds before clicking?22:16
ybonMaybe I should add the button only when a position is known22:16
myNameIsWhoybon,  you could try and drop a rectangle behind the Map to see if it fixes the issue22:16
ybonthe bg issue?22:16
myNameIsWhoybon,  yeah the background issue but the more that I look at it ad test the more I think that it is in qtlocation in the class MAP22:18
ybonthe fact is that the background is actually set to the mainView22:21
myNameIsWhoybon, it is a nice app22:21
ybonso why is the Map able to have a transparent background when its container has not?22:21
ybonthanks :)22:21
myNameIsWhoybon,  a lot less code then my map app22:22
myNameIsWhothough a lot less features. and your app has less bugs lol22:22
ybonwhat is your app?22:23
myNameIsWhoa google maps app22:24
ybonhan, you mean A NSA Map app? (jocking ;) )22:24
popey22:25
popeyI do love OSM22:25
popeyWe interviewed them some years back - maybe 5 years ago, and back then they were on the verge of having all of the UK roads mapped22:26
popeynow they have everything, cycle lanes, post boxes, telegraph poles.. the lot22:26
popeyit's an amazing project22:26
ybon:)22:26
ybonAnd you should look in non Western countries the difference :)22:26
popeyI find the map tiles more beautiful than gmaps too.. more detail22:27
popeybit of a map fanboy tbh22:27
ybonHave you seen the recent new style on osm.org? Dedicated to humanitarian contexts22:28
ybonhttp://www.openstreetmap.org/#map=5/47.025/1.934&layers=H this one22:29
=== snwh_ is now known as snwh
popeythats beautiful22:30
popeyoh! another feature we need.. offline/cached mode ☻22:30
ybonyes, for sure22:30
ybonI'm the designer of this new style (and proud of ;) ) :)22:31
popeyoh awesome!22:31
ybonIn an ideal word, the offline mode would use vector data22:31
ybonbut this for the V2 ;)22:31
popeygenerate the tiles on the device?22:31
popeyV3 has edit, right? ☻22:32
ybonyep, sort of22:32
ybongenerate vector style on the mobile22:32
ybonhehe this is another big story yep :)22:32
ybonin the meantime, one option will certainly be MBTiles22:32
ybonwhich are sort of compressed pack of tiles22:32
ybonso you can download the pack for, say, one country22:33
ybonbut not more, then the file is too big22:33
ybonand no way to have the whole Russia on a MBTile and put it on the phone :s22:33
popeynice22:34
=== _salem is now known as salem_
shiggitayzomg Sora1995|Cloud :P22:41
popeyybon: oh, you're a canal boater?22:42
ybonyes :)22:42
ybonI'm right now in my boat :)22:43
popeyExcellent.22:43
popeyElleo does too I believe22:43
popeyI've spent a couple of holidays canal boating with geeks. Love it22:43
ybonAnd here is my boat: https://yohanboniface.trovebox.com/photos/album-3/list :)22:43
popeyoh!22:44
popeythats not what *I* would call a canal boat ☻22:44
popeythats huge!22:44
ybonhehe22:44
popeyhaha, laptop on the table on the deck.. nice ㋛22:45
ybonsummer office :)22:45
popeythat looks delightful.22:46
popeyhow long have you had it?22:47
ybonsince 200922:47
popeydo you move about much?22:49
ybonyes, starting in May and until November22:50
ybonbut in the winter, no22:50
popeyare mooring expensive where you are?22:51
ybonyeah, in Paris or around, quite22:51
ybonlike 500 euros in winter, twice in summer22:51
popeyper month?22:53
ybonyep22:53
popeyis there a decent canal network for you to move about the country?22:55
ybon=> http://fluv.io/ :)22:55
ybon(another OSM style I've made)22:55
Sora1995|Cloudshiggitay: ohai22:56
WardaneI am trying to run the Ubuntu Touch emulator and it is asking for a login and password. Any help on this would be welcome.23:00
WardaneI am trying to run the Ubuntu Touch emulator and it is asking for a login and password. Any help on this would be welcome.23:03
popeyWardane: phablet/phablet23:04
WardaneThank you!23:04
popeyybon: i had no idea such waterways existed outside the UK23:04
Elleoybon: cool, I live on a narrowboat in the UK :)23:04
ybonElleo: great :)23:05
ybonpopey: basically, all the Nederlands are just waterways ;)23:06
WardaneShould the GUI automatically start when you are using the emulator or is there a command that I need to run to get it to show up?23:07
popeyWardane: it takes a while23:08
popeyWardane: the console login appears before the gui starts, first run takes ages23:14
=== salem_ is now known as _salem

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