/srv/irclogs.ubuntu.com/2014/08/11/#ubuntu-touch.txt

lotuspsychjenice work on the apps close slide guys!!01:50
nhaineslotuspsychje: thanks!01:50
lotuspsychjeevery update touch gets nicer01:50
nhaines<--- had absolutely nothing to do with this.01:50
lotuspsychjelol01:50
nhainesSeriously, though, the last promotion is (mostly) a phone I'd be proud to hand to anyone.01:51
nhainesDash and scopes are *really* nice now, even if search is still pretty wonky.01:51
lotuspsychjeits all very logical once you know the tricks01:51
lotuspsychjethe swipes are like its meant to be01:52
lotuspsychjesearch is indeed a bit strange, i loved the apps icons at first01:53
nhainesDash-as-an-app makes right-edge navigation much easier.01:53
lotuspsychjewhen they all showed (last installed ones up)01:53
lotuspsychjetrue01:53
nhainesAt least when you search and choose the app store, it carries your search over.01:54
lotuspsychjeyes with your trick *01:54
lotuspsychjei really hope brightness gets fixxed01:55
lotuspsychjeand terminal apps install01:56
nhainesHmm, I don't recall if brightness is a problem.  Oh, I know what I could do.  I'm going to hope someone makes it so the screen ever turns off instead of just staying on always.01:56
nhainesTerminal apps install isn't important to me.  Flip to developer mode and turn on read/write and you can break your phone any way you wish.  :)01:57
nhainesAlthough they're going to have to think of something eventually.01:57
lotuspsychjethe brightness prob has been bugged01:58
lotuspsychjewhen i reboot my nexus7 it sets brightness back to default01:58
lotuspsychjeinstead of 100%01:58
nhainesOh, no... I mean yes, I know that was a problem on some phones.  I just meant I didn't remember if it was still an N5 problem, sorry.  :)01:58
lotuspsychjei am at developer mode already01:58
lotuspsychjeah your on n5?01:59
nhainesYup.01:59
lotuspsychjeandworks nicely with touch?01:59
nhainesClick packages install just fine on the command line.  I've done it!  :D  But apt is problematic.  But that's a deficiency with apt.01:59
nhainesWorks beautifully.  If the backlight would ever turn off then it'd be perfect.  Except cellular data at the moment, but that's fixable.01:59
lotuspsychjewell i just dont wanna wait until someone makes nmap a touch app example02:00
lotuspsychjei have tons of ideas to try with terminal02:00
lotuspsychjelike lightweight mupdf would be nice to try02:01
lotuspsychjewould be nice if there's a button to unlock to write protect02:01
nhainesPull the .deb, extract the files, and shove them in a subdirectory.  :)02:02
nhainesDesign says there will never, ever be a button to unlock to write protect, and I agree.02:02
nhainesIt's a simple copy/paste command, which seems a low barrier to something that will break a phone.02:02
lotuspsychjeso if device will always be locked, howto install new terminal stuff?02:03
RAOFWe'll need to solve that problem for convergence, anyway.02:03
lotuspsychjeinstalling the deb will also result to var lock error no?02:04
RAOFRight. We'll need to engineer some solution that allows both apt and system images.02:04
lotuspsychjethat would be real nice02:04
nhaineslotuspsychje: the problem is that apt install works but apt upgrade breaks everything.02:05
lotuspsychjeso if i drag n drop a deb it should install?02:05
nhainesSo I can't imagine worrying about make it really easy for people to apt install things when it will break everything.02:05
nhainesNo, that would break everything too.02:05
lotuspsychjehowcome?02:05
nhainesI'm just saying, copy it to the phone to your home directory, extract the binaries, and run it from there.  Something very simple should still run.02:06
nhainesI don't know how come.  apt can't handle hard links across many mountpoints or something esoteric.02:06
lotuspsychjeok02:07
lotuspsychjethat also means click apps cant change something internally also?02:08
RAOFWell, you can't *have* hard links across mountpoints, so... :)02:08
RAOFIndeed. Click apps are, well, apps. They don't do libraries or daemons or whatever.02:09
lotuspsychjenot like the way android needs all kinds of permissions etc02:09
lotuspsychjeso a hacker could not unlock write protect with an ubuntu click app?02:10
=== hartman is now known as princesspeachum
RAOFNo02:19
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== shuduo is now known as shuduo_afk
dholbachgood morning07:19
nhainesdholbach: morning.  :)07:20
dholbachhi nhaines07:20
nhainesBusy writing, writing, writing.  Hope your morning's more fun so far.  :)07:20
dholbachnhaines, what are you writing?07:45
nhainesdholbach: some technical article stuff, and then reworking that book proposal... they liked it and said to do it more free-format rather than as one of their series, so I'm going to resubmit.  :D07:47
dholbachnice07:50
nhainesYup, I was pleased, because I think it'll be a better book.  More of a guide to Ubuntu for Windows and Mac users.07:51
=== chriadam is now known as chriadam|away
dholbachthat sounds great :-)07:58
nhainesSo it'll be a great resource for Ubuntu 14.04, and maybe if I'm lucky they'll need a second edition for 16.04... but I'm only worried about the first edition for now.  ;)08:01
ogra_ricmm, did anyxone think about making sure the shell-as-app has a better oom score than the rest, now that it runs as app ? (i think i saw it beeing OOMed once this weekend)08:02
nhainesDoes it auto-respawn?08:04
ogra_nhaines, it just hung for me ... the point is that the system kills based on oom_score for the process ... for unity8 we have this hardcoded so that it never gets killed (or at least gets killed last), i'm not sure that was taken over into the dash-as-app setup08:05
ogra_i assume the dash gets handled like any other app on that level08:06
nhainesOh, I'm not suggesting that it's a good idea to let it OOM and then just respawn.  But it'd be nice if it did at least respawn.08:08
ogra_well, if in my case (i wasnt near a PC to check anything and needed to reboot to use the phone) it was oom, it surely didnt respawn ... it was just unresponsive ... i could still flick through the apps08:10
nhainesAnd no swiping it away. :)08:11
ogra_heh, yeah08:12
JamesTaitGood morning all; happy Monday, and happy Ingersoll Day! :-D08:33
=== vrruiz_ is now known as rvr
nhainesJamesTait: good morning!  :D08:36
nhainesdholbach: I'm seeing the LoCo contacts emails roll in.  Were you on vacation or something?  :)08:36
dholbachnhaines, no just a bit busy with a few other things for a few days08:47
dholbach:)08:47
vaskozlis it possible to get the ubuntu touch de/wm on regular ubuntu?08:51
Beldarvaskozl, No read the headers08:53
nhainesdholbach: I know how that is.  :)08:53
vaskozlBeldar: what are headers?08:53
vaskozlthe topic?08:54
dholbachvaskozl, yes, you can install unity8-desktop-session-mir to run it on your desktop08:54
dholbachvaskozl, or you can run it in an emulator: https://wiki.ubuntu.com/Touch/Emulator08:54
vaskozloh neat08:54
vaskozlthanks08:54
nhainesdholbach: I've never had that work.  I'm hoping one day the desktop-next ISO will boot.  :)08:54
dholbachvaskozl, using utopic (14.10) will probably be best08:54
dholbachnhaines, for me it does08:54
Beldarwont be supported on the utopic channel is all08:55
nhainesAww. What graphics chipset?08:55
ChipacaLaney: ping (morning!)09:02
ricmmogra_: probably not, can you take a look? if not, I'll look in a bit09:04
ogra_ricmm, seems to run with an oom_score_adj of -10 ... which is what lightdm sets for the session09:29
ogra_not sure why or how, but that seems fine (i dont see the score set in any upstart job)09:29
mptAnyone know what package is responsible for the startup screen? (The little spinning Ubuntu logo)09:45
mgregplymouth09:47
=== chihchun is now known as chihchun_afk
ogra_mpt, unity-system-compositor09:58
Laneyhey Chipaca, not working today but I approved your stuff anyway :-)10:01
ChipacaLaney: ooh, excellent, thanks!10:02
ChipacaLaney: now get out of here :)10:02
ogra_mpt, do you see the tethering thread on the phone ML ?10:02
ogra_some design questions popped up there10:02
mptthanks ogra_10:09
ogra_nhaines, lol !10:11
ogra_(re: your mail)10:11
=== chihchun_afk is now known as chihchun
piiramarogra_: is the USB tethering expected to break adb? or is it just me and my device10:21
ogra_piiramar, defin "break adb" ... switching the gardget driver forces a USB reconnect if you mean that10:21
ogra_*gadget10:21
ogra_*define ...10:21
ogra_sigh10:21
* ogra_ needs to learn typing10:22
piiramarogra_: I meant, while the rndis mode is active, all 'adb' commands fail10:22
ogra_they dont here10:22
piiramarogra_: after reboot, I'm back to mtp and adb is fine10:22
ogra_you might need to restart your adb on the PC side ... perhaps it dosnt pick up the ID change properly10:22
piiramarah ok10:22
ogra_the USB device ID changes ...10:22
piiramardidn't try that. makes sense10:23
ogra_so: adb kill-server; adb devices ... might work10:23
ogra_if that doesnt, we miss a USB udev rule for that device ID10:23
=== tvoss is now known as tvoss|lunch
piiramarogra_: thanks, working fine now10:28
ogra_just the restart of the server helped ?10:28
ogra_(you didnt need sudo or something ?)10:28
piiramarI'm afraid I tried several things at once, not 100% if the kill-server was the decisive one10:29
ogra_right, if you run into it again, see if just "adb devices" shows it then ro if you actually needed "sudo adb devices" to make it show up ... in case of the latter we need to adjust the udev rules10:34
ogra_(in case of the former we cant really do anything)10:34
popeythostr_: heya, who can review https://code.launchpad.net/~jamesh/mediascanner2/model-auto-update/+merge/229903 ?10:41
=== MacSlow is now known as MacSlow|lunch
mardytvoss|lunch: hi! I updated https://code.launchpad.net/~mardy/ubuntu-system-settings/other-app-access/+merge/228299 with unit tests11:06
zygahey, is there a browser bug about the erracit scrolling behavour of the browser as the header bar shows and hides?11:27
zygaI'd like to report it but if it's something well know I'd like to track it instead11:27
greybackzyga: https://bugs.launchpad.net/webbrowser-app/+bug/1354700 - that the issue?11:39
ubot5Ubuntu bug 1354700 in webbrowser-app "Header is very jumpy" [High,Confirmed]11:39
thostr_popey: jussi will... already pinged him.11:40
zygalooking11:40
zygagreyback: yes!11:41
zygayay, I guessed what the reason was11:41
greybackzyga: yeah it's pretty noticeable, it needs fixing11:41
nhainesogra_: hehe, only half serious.  ;)  But yeah, hopefully design will come up with something interesting.11:41
mzanetticyphermox_: ping11:54
=== gnu is now known as Guest13326
=== _salem is now known as salem_
cwaynemardy: ping12:19
zygais there a way to update the emulator image other than destroying/re-creating it?12:22
popeythostr_: thanks12:22
mardycwayne: pong12:42
cwaynemardy: hi -- it looks like our linkedin account-plugin has the redirect uri set incorrectly, do you control that?12:46
mardycwayne: "control" as in "owner of the project" yes, but I didn't create that plugin12:49
mardycwayne: but I know it worked, so maybe linkedin changed something12:49
tvoss|lunchmardy, great, let me get to it right away13:07
=== tvoss|lunch is now known as tvoss
cwaynemardy: dbarth: is there any ETA on a fix for the blank .desktop files in accounts (to grant an app access to a specific account)13:30
mardycwayne: I hope by the end of the week, but it's only a hope :-)13:31
mardycwayne: but that shouldn't be blocking you, right? You can workaround it by playing with the .application file a bit13:32
cwaynewell it makes a scope using onlinea ccounts not very usable13:34
=== chihchun is now known as chihchun_afk
sergiusenscwayne: do you know if it's possible to bundle a scope and webapp in the same click yet?13:41
cwaynesergiusens: it is13:41
sergiusenscwayne: I wanted to bundle them together to reuse the same online accounts data13:41
sergiusenscwayne: great13:42
cwaynesergiusens: not super-simple to use online accounts ina  scope yet btw13:42
tvossmardy, thanks for the tests, ci is failing due to merge conflicts, though :) would like to see it go green prior to approving13:44
mardytvoss: thanks, I'll try :-)13:46
tvossmardy, cool13:46
sergiusenscwayne: ah, then I need to wait more13:48
mhall119has anyone else had trouble adding a twitter account in the latest promoted image?14:05
mhall119Green Mahjong is working now! Thanks for helping with that daker14:08
cwaynesergiusens: what scope/webapp were you going to do?14:11
mhall119ok, adding twitter worked just now, but I tried half a dozen times over the weekend and Online Accounts would always crash14:12
=== MacSlow|lunch is now known as MacSlow
mardySaviq: is there a quick way to disable the application lifecycle, for debugging?14:21
Saviqmardy, afraid not, at the moment14:21
popeyyou could make a click with it being unconfined, could you not?14:22
Saviqpopey, unconfined != exempt from lifecycle14:22
popeyoh, i thought they were14:22
popeyignore me14:22
Saviqmardy, actually, if you launch the app from console14:22
Saviqmardy, with --desktop_file_hint=, I believe those don't get suspended14:22
Saviqmardy, or well, you can always just call SIGCONT on the app14:23
Saviqafter it gets suspended14:23
popeydbarth: your webapps have ubuntu-sdk-14.04-dev1 as their framework, you might want to consider bumping them next time you upload14:23
mardySaviq: I'll try, thanks14:23
dbarthpopey: ack14:24
popeyta14:24
dbarthpopey: should i bump all of them to dev2?14:24
popeyno pressing need, but as and when14:24
popeythey're approved with the current framework14:24
dbarthok, for the next batch then14:24
popeyit'll probably be -dev6 by then ㋛14:25
dbarthh14:25
dbarthe14:25
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
mterryjgdx, hello!  Do you know if anyone has spare cycles to review https://code.launchpad.net/~mterry/ubuntu-system-settings/wizard-password/+merge/229853 ?  I'd like to try to get that in the image by Thursday14:51
jgdxmterry, I know I can take a look.14:53
mardySaviq: so, there's something weird: I have a branch of online accounts where I refactor it into a Ui-less DBus server, which spawns the UI processes with QProcess14:55
mardySaviq: the system-settings is a client of this D-Bus API, and when I run it and click on online-accounts, I get the OA window as expected14:55
mardySaviq: when I close it, I'm back to system-settings, but the app is frozen14:56
mardySaviq: if I start system-settings from the console, it behaves very similarly, but the UI un-freezes after I move to the task switcher and re-select it14:57
Saviqmardy, can you see it suspended from `ps aux | grep settings`?14:57
Saviqmardy, i.e. is status T?14:57
mardySaviq: OK, it seems that the process unfreezes after selecting it from the switcher, even if not launched by the terminal15:00
mardySaviq: and yes, before moving to the task switcher, it has T status15:00
Saviqmardy, so it doesn't resume if it's "auto-focused" by means of the foreground app going away?15:00
Saviqmardy, let me try something15:00
mardySaviq: exactly15:00
mardySaviq: could it be because I'm starting the UI processes with QProcess and not upstart?15:01
Saviqmardy, it *could* yes15:01
Saviqmardy, but let me investigate15:01
Saviqmardy, but no, it's the same if one of the apps goes away, even if both are upstart-launched15:02
Saviqmardy, dandrader was reworking the lifecycle in qtmir/unity8 these past weeks15:03
Saviqdandrader, do you know if foreground app dying not resuming previous app would be fixed by that?15:03
Saviqdandrader, i.e. launch two apps, kill foreground app, current app on screen does not resume15:03
balloonszyga, re: your g15:06
zygaballoons: :-)15:06
zygaballoons: yeah?15:06
balloonszyga, so you should be able to run the tests from tests/autopilot by typing 'autopilot list TESTSUITE' to list tests and 'autopilot run TESTSUITE'15:08
balloonsif the tests are python3, autopilot3 is recommended15:08
zygaballoons: I just started with a new app from the sdk15:08
zygaballoons: I ran make autopilot and got what I showed you15:08
zygaballoons: is the template buggy or did I misconfigure something?15:08
balloonszyga, interesting the template has autopilot as a build target15:09
balloonsit's python, so nothing is needed to make15:09
zygaballoons: it just runs: tests/autopilot/run15:10
balloonsso autopilot list checkbox_touch shows 2 tests15:10
balloonshmm.. interesting run script.. it's not needed15:11
balloonsyou can execute autopilot run yourself15:11
=== alan_g is now known as alan_g|afk
sergiusenscwayne: untappd15:14
dandraderSaviq, no, the patch wouldn't fix that.15:14
zygaballoons: SDK bugs then15:14
zygaballoons: I just created a new app15:14
cwaynesergiusens: too late, i already did that one :)15:14
Saviqdandrader, ok, /me files a bug15:14
sergiusenscwayne: nice; with push notifications?15:14
cwaynesergiusens: nah, i havent gotten it hooked up to online-accounts yet15:15
sergiusenscwayne: it is my main concern :-)15:15
sergiusensbeing able to toast appropriately15:15
cwaynesergiusens: :) if you get me an account-plugin ill work it in15:15
sergiusenscwayne: ok; where does your code live? I was going to do a push notification server + webapp and then expand on the scope;15:16
sergiusensso there's no conflict yet :-)15:16
sergiusensthe problem is we need to bundle both things in the same click15:16
cwaynesergiusens: ill create a project on lp and push it up there15:16
sergiusensso if you give me the branch, I might just piggyback15:16
=== dandrader is now known as dandrader|lunch
=== alan_g|afk is now known as alan_g
mardySaviq: can you please tell me the bug number?15:28
Saviqmardy, will do15:30
Saviqmardy, filing just now15:30
jgdxmterry, are you able to build uss for armhf?15:31
jgdxmterry, specifically for your wizard password branch.15:32
mterryjgdx, uh, I haven't tried recently, but I have been able to.  I remember building it to test that, yeah15:32
mterryjgdx, doesn't work now?  I'll rebuild in a bit to see what's up15:33
mterryin the middle of flashing right now15:33
jgdxmterry, ack. I'm getting dep failures (dbusmock package). If you do have packages laying around, please do send :)15:33
zygaballoons: so about autopilot15:34
zygaballoons: let me try if I can get it to work as you said15:34
zygaballoons: do you want a bug on the SDK for the incorrect / buggy app template?15:34
balloonszyga, yep. I'll be playing with make autopilot in a bit15:34
balloonsI know #ubuntu-qa was working on the AP templates a bit ago. But I'm not sure who was working on it15:35
Saviqmardy, bug #135526315:35
ubot5bug 1355263 in qtmir (Ubuntu) "If foreground app exited, app below is not resumed" [Undecided,New] https://launchpad.net/bugs/135526315:35
elopioballoons: it was me. I need to update my branches.15:35
mterryjgdx, the MP has packages from jenkins: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/4380/artifact/work/output/*zip*/output.zip15:35
jgdxmterry, right. Thanks15:35
zygaballoons: is that something the SDK team owns?15:36
balloonszyga, ultimately I suppose yes indeed they own it15:37
balloonselopio, you own too many things :-)15:37
balloonszyga, perhaps you could help fix them for all?15:37
elopioballoons: they keep appearing on my hands15:37
balloonselopio, perhaps zyga will take the bait15:37
elopiozyga: https://code.launchpad.net/~elopio/qtcreator-plugin-ubuntu/update_tabs_autopilot_template/+merge/22525615:38
zygaballoons: I'm not sure where they live yet15:38
zygahehe15:38
zygamaybe15:38
elopiowhat happened is that they changed the format of the templates while I was waiting for this to land.15:38
zygaI'm just learning, not sure what's good / bad yet15:38
elopiosooo, it needs a little redoing from scratch :)15:38
balloonsbest way to learn zyga :-) #ubuntu-autopilot exists as well to help out15:39
cyphermox_mzanetti: hey?15:47
mzanetticyphermox_: hey. just wanted to ask some stuff about bluetooth. Reported this bug: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/135515215:48
ubot5Ubuntu bug 1355152 in bluez (Ubuntu) "Can't pair any Bluetooth audio device with Ubuntu Touch" [Undecided,New]15:48
mzanetticyphermox_: should that work by now or is it still WIP?15:48
cyphermox_yeah it's possible that's still not working15:49
=== dandrader|lunch is now known as dandrader
c_hello15:55
=== c_ is now known as Guest27003
Guest27003helo15:55
=== alan_g is now known as alan_g|afk
dakermhall119: yw16:05
=== VDVsx_ is now known as VDVsx
=== gatox is now known as gatox_lunch
zygasergiusens: hey16:29
zygasergiusens: are you the upstream for phablet-tools?16:29
=== alan_g|afk is now known as alan_g
ogra_he is one of them :16:29
zygasergiusens: if so I've filed: https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1355286 (also affects phablet-tools' phablet-shell)16:29
ubot5Ubuntu bug 1355286 in phablet-tools (Ubuntu) "phablet-shell conflicts with how SDK sets up ssh keys" [Undecided,New]16:29
zygaogra_: ^^ have a look too16:29
zygaI talked to zoltan a little, the upcoming adb reorg is also going to affect both16:29
ogra_zyga, i'll rip that piece apart within the next two days anyway16:29
zygaand since it also affects plainbox' remote testing I'd like to help16:29
zygaogra_: what are your plans?16:30
zygaogra_: I knew you were the person to talk to :>16:30
ogra_we will provide a dbus interface for unprtivileged users to enable ssh ...16:30
* zyga enjoys his recollections from linaro16:30
ogra_so you will just adb shell ogras-new-script enable ssh16:30
ogra_phablet-shell witll do the same in the background16:31
zygaogra_: ok, can we work together (you, sdk, and hw/cer) -- as we all need this in some form16:31
zygaogra_: can you use python3 :>16:31
zygaogra_: I'd love to have that in python3-phablet16:31
ogra_if there are issues with the keys i'll make sure both methods handle thjem similar16:31
zygaogra_: the thing is that phablet-shell guesses the key16:31
zygaogra_: plainbox doesn't currently care as long as it works16:31
ogra_erm, no, i wont re-write that stuff from scratch16:31
zygaogra_: but the SDK has a per-device key16:31
zygaogra_: what? phablet-shell?16:32
ogra_we can do that later, just not before RTM16:32
zygasure but *for* the RTM it has to work on all three cases16:32
zygafor cert and for sdk (I assume your patches work already)16:32
ogra_not completely16:33
zygaI'm not sure what you mean16:33
ogra_and i didnt know about cert ... i'm in conversation with CI, smoke testing and SDK since several weeks about this16:33
ogra_(my patches are not completely complete yet was what i meant above)16:33
zygacert needs to do remote testing, we can update our code but we need to know what to do16:34
zygaI see16:34
zygaogra_: what are you writing your stuff in?16:34
ogra_schedule is that everything lands on wed16:34
zyga(we need py3k APIs)16:34
zygaoh, fun :)16:34
ogra_in shell as the stuff is today16:34
ogra_phablet-tools is 90% shell16:34
ogra_and a few bits in python16:34
zygaogra_: could we gradually replace that with python3? it's still invokabe-from-shell and it would really help us as we need more control than fire-and-forget16:35
ogra_zyga, yes, but not before rtm16:36
zygaogra_: alternatively, what else can we do that has an API (shell scripts are poor API-wise)16:36
zygaogra_: ok16:36
zygaogra_: so for the RTM, we'll reimplement the new mechanism in python3-phablet16:36
zygaogra_: and I assume the SDK team knows what to do about it already16:36
ogra_well, they use the scripts as is today16:36
zygaogra_: is there any description of how the new method works? the DBUS api you've mentioned?16:36
zygaogra_: nope! they dont16:36
zygaI just talked to zoltan16:36
ogra_?16:36
zygathat's why it failed for me16:36
zygathey do something custom16:36
ogra_i thought they use stuff like phablet-network16:37
zyga(maybe they work on using your scripts but that's not in packages today)16:37
zygathey explicitly scp stuff and do a few other things16:37
ogra_well, everyone is obligated to use these tools16:37
zygaanyway, zoltan knows that more than I do16:37
ogra_we are pretty strict about that for i.e. smoke testing16:37
ogra_so changes only happen in one place16:37
zygaogra_: is that communicated in any way? (there's something I'm not monitoring that I should know about()16:37
zygaogra_: sure, that makes sense16:38
zygaogra_: though as I said we cannot use your scripts directly so we'll have to reimplement that in python again16:38
ogra_not really ... we just have made sure that parties involved i discussions know about it in the past16:38
zygaogra_: we really only need phablet-shell and something you don't (currently) provider which is like phablet-rsync16:38
zygaogra_: ok, I see16:38
zygaogra_: could you please append me to the list :)16:38
ogra_what do you do with phablet-shell actually ? it can only work interactively16:39
zygaogra_: I'll be landing plainbox'es remote testing ability and I want us to have a solid foundation for RTM and later16:39
zygaogra_: that's one of the things we had to change16:39
ogra_"had to change" ?16:39
ogra_are there MPs for this ?16:39
zygaogra_: we don't use phablet-shell, I reimplemented the whole logic in python to have API and more than just interactive console16:39
ogra_it surely isnt in the code today16:39
ogra_ah, well, then you just go via adb16:40
zygaogra_: all the code I have is in that git branch16:40
zygaogra_: we don't quite go via adb,16:40
ogra_which shoudl really be sufficiaent16:40
zygaogra_: adb has other issues16:40
=== bfiller is now known as bfiller_afk
zygaogra_: we only go via adb initiall as you did16:40
ogra_the only thing that werid ssh'ing gets you is better tty handling16:40
zygaogra_: rsync is far faster16:40
ogra_which you dont care at all about in automation16:40
zygaogra_: and adb push was unreliable16:40
ogra_oh?16:40
ogra_we use it everywhere else in autmation16:41
zygaogra_: adb also has no error control which we totally require, I know we can work around that with PS1 and such but we need ssh for server-common code paths16:41
zygaogra_: yeah, I heard16:41
zygaogra_: we could fail it easily16:41
zygaogra_: adb pushing lots of small files fails often without meaningful messages16:41
ogra_yes, the CI and smoke test people have handlers for that (adb return codes)16:41
zygaogra_: so we switched to rsync and had no issues16:41
=== Ursinha is now known as Ursinha-afk
zygaogra_: yeah, and again, no python api, cannot reuse, no standalone library, it's not something that we can just depend on and call it a day :/16:42
ogra_that sounds like a lot of fragmentation to me :(16:42
zygaogra_: the CI/cert overlap is a problem but also the reality16:42
zygaogra_: we have different needs16:42
zygaogra_: although we do a lot of common things16:42
ogra_which we tried to avoid over the ... well ... last year16:42
zygayeah/16:42
zyga?16:42
zygaanyway, that's not a discussion for today16:42
zygawhat we need soon-ish is the new implementation landing so that we can update python3-phablet and continue16:43
zygato iterate, talk and converge16:43
ogra_we need to try to get all parties involved to have the same API for everyone ...16:43
zygayeah16:43
zygaI agree16:43
ogra_though most of the otrher bits are all shell ...16:43
zygasee :>16:43
zygaonly we care about error messages and stuff like that ;-)16:43
zygaand i18n16:43
zygaand more16:43
zygaanyway16:43
zygahave a look at the python code I wrote if you want16:44
zygaI'm pretty sure it can be made to suit all the parties if everyone else wants just shell16:44
zygaogra_: who is the best CI person to talk to?16:44
zygaogra_: I'll try to follow up16:44
ogra_zyga, hmm, dunno ... for the smoke testing stuff plars is your man ... for CI thats probably fginther16:47
zygaogra_: ok, noted16:48
zygaogra_: thanks!16:48
plarszyga: what's the question?16:48
ogra_plars, if you can re-write all your stuff in python :)16:49
* ogra_ grins16:49
plarsoh sure... done!16:49
zygaogra_: well, that's not fair16:49
zygaogra_: I'm not asking anyone to do that16:49
plarswell, there are a handful of shell scripts out there16:49
ogra_yeah, sorry, bad joke16:49
plarsbut mostly python16:49
zygaogra_: I wrote a 100% replacement for phablet-shell version at the time16:49
zyga;-)16:49
zygaogra_: invoked from shell it works exactly like that16:50
plarszyga: in the future, we are probably going to be looking to use adt-run for many more things16:51
plarszyga: it uses adb to set up the ssh forwarding for adb devices, and then does things over ssh16:51
ogra_zyga, note that the only change i'm currently working on for phablet shell is to drop the "start ssh" call from there and replace it with a dbus call, you should be able to easily do the same in your python-phablet code16:52
plarszyga: in the meantime, if I need a return code from an adb command, we just have a wrapper that feeds it back to us after running the command16:52
ogra_i had not planned to do any additional changes to it atm16:52
ogra_(especially since i lack the time for more)16:52
plarsit's only really a problem when you want to run more complex things - and that's where small shell scripts come in that get pushed to the device, run them using the adb wrapper16:52
ogra_(just looking at your github tree)16:53
zygaplars: we cannot use adt-run, we are not running DEP-8 tests16:53
zygaah, wait16:53
zygaadb-run?16:53
zygaogra_: excellent16:53
plarszyga: no, you had it right - autopkgtest16:53
zygaoh16:53
ogra_zyga, all you should need is to replace line 370 in your code :)16:54
zygaso we cannot use that, it's totally not what we do :/16:54
ogra_(in phablet.py)16:54
zygacool16:54
zygaogra_: that code is out of date, I had a few fixes to it (minor) later on16:54
ogra_notze that this wont fix anything in phablet-shell*s key behavior though16:54
zygaogra_: and some extra functionality (like phablet-rsync)16:54
zygaogra_: the key handling can be already customized in the python api16:54
ogra_thats a separate issue we need to fix16:55
zygaogra_: all that needs redefinition is the UI of how the key is picked16:55
zygaeyah16:55
zygayeah*16:55
zygaok16:55
zygaI should really EOD now16:55
zygaI've been doing this too long16:55
ogra_haha16:55
zygathanks for your time, both of you _)16:55
zyga:-)16:55
ogra_thanks for  the heads up16:55
=== alan_g is now known as alan_g|EOD
=== chihchun_afk is now known as chihchun
ogra_cyphermox_, so if i pull psk=* out of the NM file,  is that enough or are there other keys for the keys ... (i see wep-key[0-4], do we need to support that in phablet-network ? )17:16
ogra_err17:16
ogra_[0-3] actually17:16
cyphermox_yeah, there is also wep-key17:16
cyphermox_that's about it17:16
ogra_hmm, so i need to pull them out as well, k17:17
cyphermox_there's a chance the password actually isn't in the file though, where password-flags= is set IIRC17:17
ogra_well, then we wont find a ky and fail for now17:17
cyphermox_that's partly why asking for the AP name and password then in phablet-network might be a good idea17:17
=== gatox_lunch is now known as gatox
ogra_(i can add some interactive fancy "please enter your key manually" later)17:18
cyphermox_don't even need to do that much17:18
ogra_for now we just want to be sure to not break automation17:18
cyphermox_it could just straight proxy the values to the nmcli command17:18
=== bfiller_afk is now known as bfiller
cyphermox_well.. the automation is broken anyway17:18
ogra_who are supplying an artificial file anyway :)17:18
cyphermox_right. making it passed as a command-line parameter could simplify all of this17:19
ogra_currently all smoke and I testing uses phablet-network to bring the devices online when provisioning17:19
ogra_but since that happens from a server that isnt on the wlan they just provide a file for that17:19
cyphermox_yes, I understand17:19
cyphermox_I'm saying you wouldn't have to generate a file if you adjusted the automation as well17:19
cyphermox_it's not a lot of work to do so17:20
ogra_oh, like --ssid= --key= options17:20
ogra_yeah17:20
=== Ursinha-afk is now known as Ursinha
mterryrobru, phablet-shell is giving me "Received disconnect from 127.0.0.1: 2: Too many authentication failures for phablet" -- is this something you've seen?17:36
=== dandrader is now known as dandrader|afk
sergiusensmterry robru you probably have more than 5 keys which would trigger that and need to pass the key id manually18:09
mterrysergiusens, I understand the words... but not what you mean  :)18:10
ogra_mterry, might be related to bug 1355286 ?18:11
ubot5bug 1355286 in phablet-tools (Ubuntu) "phablet-shell conflicts with how SDK sets up ssh keys" [Undecided,New] https://launchpad.net/bugs/135528618:11
sergiusensmterry: your ~/.ssh has more than 5 id_rsa*; sshd fails auth for the 5th try iirc; they key that grants the access is probably 5+n away18:11
mterryhmm18:14
mterryI'll figure it out between those two problems, I'm sure one of them is it18:15
mterryI did recently play with the SDK18:15
olliawkward... how do I become root/su on the device18:15
olliiow what's the password18:15
ogra_there i none18:20
ogra_just hit enter18:20
ogra_*is none18:20
sergiusensogra_: olli if you set a pin, it's the pin18:26
ogra_yeah18:27
robrumterry, sergiusens : yeah sorry, phablet-shell has bitrotted some since it was introduced. i haven't tried it recently, would be surprised if it even worked frankly. didn't we disable the ability to launch ssh or something critical?18:27
sergiusensrobru: I'm using it fine18:27
ogra_robru, many people use it ... i have to change it for dev mode anyway18:27
robrusergiusens, nice18:28
ogra_i'll look into the key handling after dev mode landed and will try to sanitize it18:28
sergiusensogra_: and add the ability to run commands :-)18:28
robruogra_, phablet-shell attempts to mimic ssh-copy-id by just using the key with the most recent mtime.18:28
ogra_right18:28
sergiusensrobru: yeah, and playing with the sdk and having too many keys might break that :-)18:29
ogra_sergiusens, well, see the python tree thats attached to that bug above18:29
robrumterry, try doing 'touch ~/.ssh/id_rsa_some_key_you_have.pub' and see if that helps you18:29
ogra_seems there is actuall a python module that mimics phablet-shell and more18:29
ogra_something we should think about switching to ...18:30
ogra_(but indeed post RTM stuff)18:30
robruwow, that python module is 600 lines long. totally inscrutable18:33
robruphablet-shell is 94 lines to put it in perspective18:34
ogra_robru, it does a lot more ... like having proper return valuesfrom adb operations ... replacing adb push/pull with an rsync backend etc18:36
robruhm18:36
ogra_you would still need a phablet-shell to make use of it ... but that could then be 10 lines ;)18:36
ogra_and just use the bits the module ships18:37
ogra_(but as i said, thats post RTM stuff anyway ... no more heavy changes in the infrastructure if avoidable)18:37
robruyeah for sure18:38
kenvandineseb128, mind trying something ?18:42
kenvandinectx.font="normal normal normal %1px Ubuntu".arg(fontHeight)18:42
kenvandinein the battery panel18:43
kenvandineseb128, with antialias enabled18:43
kenvandineat least on the device, it looks good to me when all the properties are included18:43
kenvandinebut now after trying a bunch of variations, i don't trust my eyes :)18:43
seb128kenvandine, k18:44
kenvandineseb128, the first 3 properties are "optional"18:44
kenvandinebut it looks like ass if i leave them out :)18:44
seb128kenvandine, no, that looks crap compared to the commented property, at least on my desktop config18:46
kenvandineseb128, note: it still looks awefull on the desktop18:46
kenvandinebut on the device i think it looks much better18:46
seb128well, seems luck then?18:46
kenvandinefont rendering is different on the desktop, clearly :)18:46
seb128does it look better than the comment property on the device?18:47
* kenvandine thinks so18:47
kenvandineit looks quite smooth imo18:47
seb128k, let me try18:47
kenvandinebut i can't explain why specifying all the optional properties in the font string makes a difference18:47
seb128kenvandine, to me the version without antialiason still looks better (on the n4)18:50
seb128liasing18:50
kenvandineok18:50
kenvandinei knew i  shouldn't trust my eyes there18:50
kenvandineafter trying like 20 combinations :)18:50
seb128yeah, that's a bit tricky18:50
seb128but I that version also looks better cross devices18:51
seb128so I would prefer to stick to it18:51
seb128even if I don't understand what's going on18:51
seb128seems like a canvas/toolkit bug18:51
kenvandineyeah18:53
kenvandinesomething18:53
kenvandineoh...18:54
kenvandineseb128, add one more thing18:54
kenvandinerenderTarget: Canvas.FramebufferObject18:55
kenvandineright below antialiasing18:55
=== dandrader|afk is now known as dandrader
kenvandineseb128, something else that's interesting is the quality varies without code changes18:57
kenvandineseb128, i tried to take screenshots of the device with both antialiasing enabled and disabled18:57
kenvandinebut was changing the code on my desktop instead...18:57
kenvandineso no code changes on the device, and the 2 screenshots look pretty different18:58
=== dandrader is now known as dandrader|afk
seb128kenvandine, that's confusing :/19:01
kenvandineseb128, indeed... but i think it's more stable with changing the renderStrategy19:02
kenvandineto Canvas.Threaded19:02
kenvandineit defaults to Immediate19:02
seb128kenvandine, I don't like it still feels random19:03
seb128changing those strategy shouldn't impact on text aliasing for example19:03
kenvandinei would thinks so19:03
kenvandineit all feels weird19:03
kenvandineand... changing the renderTarget seems to trigger crashing the shell randomly :)19:04
seb128shrug19:04
kenvandinei've had 2 shell crashes while loading the panel :-D19:04
seb128quality toolkit!19:04
kenvandineso i guess we shouldn't mess with that :)19:04
seb128yeah19:04
seb128well, I'm not going to do more than my change to comment the property19:04
seb128if you want to submit another changeset I'm happy to review it though19:05
kenvandineyeah, that's a good start :)19:05
kenvandinei'll think about it19:05
kenvandinethat font rendering has bugged me for a while, but never enough to stop what i was doing and look at the code19:05
seb128thanks ;-)19:05
seb128I first pondered doing the legend out of the canvas with the toolkit19:06
seb128but it was challenging to align the yesterday/today "|" with the legend then19:06
kenvandineit's also really puzzling that antialiasing: false doesn't look better than just not setting it19:06
seb128yeah, I don't get it19:06
kenvandinewtf is up with that?19:07
seb128default value set or implicit should be the same19:07
kenvandineindeed19:07
kenvandineunless... there is a signal emitted there somewhere19:07
seb128it's like that codepath was creating issues19:07
kenvandineso setting it to false triggers a repaint19:07
kenvandineor something19:07
seb128there is no repaint19:07
kenvandinemaybe it's actually null by default19:07
seb128I put a console.warn in onPaint19:07
kenvandineok19:07
kenvandineweird19:07
seb128it's painted only once19:08
seb128then repainted if you e.g rotate or resize19:08
kenvandineseb128, do you have time for a review?19:22
kenvandinehttps://code.launchpad.net/~ken-vandine/ubuntu-system-settings/brightness_slider/+merge/23034519:22
kenvandinea little bigger than the ones you had me do :)19:23
seb128kenvandine, I'm about to go but I can have a look a bit later maybe, or tomorrow morning otherwise19:23
kenvandineno worries19:23
kenvandineor maybe i'll harass someone else :)19:23
seb128that works too ;-)19:23
seb128I'm going to try to do a landing tomorrow19:23
kenvandinejgdx, still around?19:24
kenvandineseb128, i'm doing one now19:24
seb128oh, great19:24
kenvandinewell, hijacking ralsina's :)19:24
seb128I was waiting on CI to do retries19:24
seb128but that takes a while19:24
kenvandineyeah, i did that already19:24
kenvandinewe can get them building in the silo and all19:24
seb128great19:24
kenvandineit'll be an hour or so before ralsina will be ready for a silo19:24
kenvandineso should be good timing19:25
kenvandinewe can test it all in the morning then19:25
kenvandineseb128, so feel free to check on it in the morning :)19:25
kenvandinei'll have it all built in a  silo before i leave tonight19:25
seb128kenvandine, sure, I'm going to try the silo tomorrow morning19:27
kenvandineseb128, the best thing about the time zones :)19:27
seb128;-)19:27
jgdxkenvandine, sure i19:37
jgdxs19:37
kenvandinejgdx, mind reviewing https://code.launchpad.net/~ken-vandine/ubuntu-system-settings/brightness_slider/+merge/23034519:38
jgdxkenvandine, sure19:38
jgdxmterry, also looking at yours now, got nowhere with adb on my other device19:39
mterryoh weird19:40
jgdxkenvandine, could I have one back? https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/default-sims/+merge/23022720:06
kenvandinejgdx, yup20:06
jgdxkenvandine, another one, small one :) https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/1350380-hide-radiosettings-when-offline/+merge/23022620:07
kenvandineok20:08
jgdxkenvandine, I'll have to wait a bit for the jenkins armhf packages, since sbuild is broken @ my laptop20:10
kenvandinejgdx, nod20:11
kenvandineCI is taking ages...20:11
=== Ursinha is now known as Ursinha-afk
jgdxkenvandine, should we land the rest of the dual sim stuff when default sims is gtg?20:12
kenvandinejgdx, maybe, now that CI should be fixed lets try to wrap it up20:13
jgdxawesooome20:13
kenvandinei have a big landing request right now, lets get the rest of the dual sim stuff lined up for the next landing20:13
kenvandinetomorrow20:13
kenvandineassuming we get builds out of CI20:13
kenvandinepeddle faster jenkins!20:14
jgdxpaddle20:14
kenvandine:)20:14
pmcgowankenvandine, whats going into the silo?20:19
kenvandinepmcgowan, look at line 29 of the spreadsheet20:20
* pmcgowan looks20:20
lotuspsychjepopey: great work on the pdf man! you just made my day20:20
lotuspsychjemy whole pdf collection on nexus7 touch :p:p20:21
popeyah, wasn't me ☻20:21
lotuspsychjeoh, you just replyed then20:22
pmcgowankenvandine, so just turning on location control pretty much, plus fixes20:22
lotuspsychjezhang boren it is :p20:24
lotuspsychjefantastic work20:26
lotuspsychjecheers20:26
kenvandinepmcgowan, yeah20:26
kenvandinemaybe the brightness control thing too20:26
pmcgowanwhats that?20:27
kenvandineactually, probably not today20:27
kenvandineit fixes one of the rtm bugs :)20:27
kenvandinebasically updated the battery panel to match design20:27
kenvandinedropping the brightness slider in favor of a push to the brightness panel20:27
pmcgowanah ok that was a might do but fine20:27
kenvandineso we can move that control into that panel20:28
kenvandinethen it'll get translated properly20:28
pmcgowanok20:28
mhall119is it just me or does the x86 emulator use more CPU while idle than it used to?20:28
=== dandrader|afk is now known as dandrader
mhall119cwayne: have you done any C++ scope dev? I'm stuck with an exception I don't know how to fix20:36
mhall119unity::ResourceException: /opt/click.ubuntu.com/com.ubuntu.developer.mhall119.ubuntucommunity/0.5/ubuntucommunityscope/libcom.ubuntu.developer.mhall119.ubuntucommunity_ubuntucommunityscope.so: undefined symbol: _ZN25UbuntucommunityscopeQuery16progress_handlerERKN4core3net4http7Request8ProgressE20:36
=== Ursinha-afk is now known as Ursinha
cwaynemhall119: nope, sorry20:42
dobeymhall119: are you using MODULE or SHARED as the target library type in the CMakeLists.txt?20:42
mhall119dobey: um....whatever the template used20:43
dobeymhall119: so, the problem is that your built scope is referencing an undefined symbol. using the MODULE target library type will hide these as it is expected some symbols may be resolved when the library is loaded into whatever process loads the plug-in. in this case though, the missing symbol is an internal one that is for some reason undefined, so it's not loading, and you don't get the error until the scope runner ties to d20:45
mhall119dobey: I'm afraid I really don't understand....I used the template to create a scope project, which produced the cmake files for me20:47
dobeymhall119: is the code visible somewhere on launchpad or such?20:49
mhall119dobey: https://code.launchpad.net/~mhall119/+junk/ubuntu-community-scope20:49
dobeymhall119: https://bazaar.launchpad.net/~mhall119/+junk/ubuntu-community-scope/view/head:/src/ubuntucommunityscope-query.h#L2320:50
dobeymhall119: that is not defined in the code20:50
dobeythe .cpp file has no UbuntuCommunityscopeQuery::progress_handler implementation, that is20:52
mhall119dobey: ah, leftovers from when I was trying to use net-cpp the wrong way20:55
jgdxyay, successful uss build!22:23
=== salem_ is now known as _salem

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