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

=== chriadam|away is now known as chriadam
MacSlowveebers, thomi: hey folks... did you have a chance to read my mail about tap_object() troubles yet?01:06
veebersHey MacSlow o/01:06
veebersMacSlow: I've had the chance to read it, but I haven't had the chance to dig into it01:06
veebersMacSlow: Are you able to supply an further error messages etc.?01:06
thomiMacSlow: hey, veebers is 'the autopilot guy' these days - I'll help him out if he needs it, but it does look like we'd need at least a traceback in order to diagnose it01:09
MacSlowveebers, sadly not... all I can say I stated in the email... objects are created and visible, but tap_object() does not have any effect. I'll can provide a console-output of running just the notification ap-test in question.01:09
MacSlowthomi, ah ok... :) thanks for the update01:10
MacSlowveebers, thomi: one minute...01:10
thomiMacSlow: ahh, so the test doesn't error, but it doesn't do what you want?01:10
MacSlowveebers, thomi: just doing a fresh build of all involved pieces01:13
veebersMacSlow: Am I able to build this on Trusty or do I need Utopic?01:13
MacSlowveebers, I'm on utopic01:13
veebersMacSlow: cool, I had assumed so :-) Can you run the test with the flag -vv and pastebin the results please?01:14
MacSlowveebers, I've no trusty-based system anymore01:14
MacSlowveebers, wilco01:14
MacSlowveebers, so... autopilot -vv run bla.test ?!01:15
veebersMacSlow: autopilot run -vv . . .01:15
parzzixHello everyone, what is the best device to throw Ubuntu on..phone or tablet doesn't  matter. I just want best experience...thanks01:15
MacSlowveebers, ok01:15
sarnoldparzzix: probably a nexus 401:17
veebersMacSlow: I'm just getting my Utopic machine up-to-date && building unity etc.01:17
MacSlowveebers, there you go pastebin.ubuntu.com/772915301:18
veebersMacSlow: cheers01:18
veebersMacSlow: That log shows that it's attempting to tap at location "Tapping at: 1879,609" (line 98) does that sound about right?01:20
veebersMacSlow: I need to grab something to eat, I'll be back in a little bit. I have my U machine building etc. so will be able to poke around.01:21
parzzixthanks sarnold01:21
veebersif you're not here when I get back I'll email any details that I come up with01:21
MacSlowveebers, yeah... it's on my desktop (some 3968x1152 ) so that's why the odd x/y-coordinates01:22
MacSlowveebers, bon apetit... I'll try to stay awake as long as possible :)01:22
veebersMacSlow: heh cheers. It looks like it might take ~20 to download updates branches and build etc. I can take a look today and email you an update over your night. I have a handful of stuff to keep me busy at the moment too01:50
MacSlowveebers, ok... I really need to get back to sleep :) thanks in advance!01:51
MacSlowveebers, looking forward to your findings... good night!01:51
veebersMacSlow: nw, hopefully I have some good news for you tomorrow01:51
veebersMacSlow: rest well o/01:51
MacSlowveebers, :)01:51
=== alexabreu is now known as alex-abreu|off
josharensonAnyone ever get FolderListModel working on ubuntu touch? I cant get it to list files/folders any lower than the root directory (/opt/pkg_name)03:55
=== dbarth-afk is now known as dbarth
=== chriadam is now known as chriadam|away
JamesTaitGood morning all; happy Second Second Half of the Year Day! :-D08:13
mandelElleo, do you have an example I can use to debug the segfault08:32
Elleomandel: yeah, just a sec, think I might have it working outside the browser08:35
Elleomandel: which'd save you having to grab a giant oxide package08:35
mandelElleo, that would be great08:36
=== vrruiz_ is now known as rvr
Elleomandel: right, seems its reproducable with even a very simple app; it's just that qmlscene hangs rather than segfaulting so I don't think I noticed it with my previous external test: http://mikeasoft.com/~mike/udmcrash.tar.gz08:44
mandelElleo, perfect, I'll get it fix in no time08:44
Elleomandel: with the package from jenkins build 36 it all runs fine and will get a download id, but with the ones from build 41 it hangs at "Beginning download..." (when calling the download() function on the single download)08:44
AskUbuntu_Problems installing Touch Controller - Ubuntu 14.04 LTS | http://askubuntu.com/q/49027509:09
sil2100ricmm: hi! So, I see there's a branch of yours for platform-api in landing 007 for the autopilot dbus issues - I remember Sergio mentioning that the papi part needs some love before this can land09:11
sil2100ricmm: any progress on that?09:11
ricmmsil2100: sergio was going to test a change for me09:14
ricmmwaiting on that09:14
pittido we have some documentation about /cache/recovery/ubuntu_commands ? there's nothing in the wiki09:15
pittifrom what I've heard, there's some "wipe" command which deletes all installed click apps, home dir, etc.09:15
pittiI'd like to use that to reset a phone to a virgin state after running a test, without having to do a full reinstall09:16
pittior asked differently, what's the recommended way to wipe a device without reinstalling it?09:20
AskUbuntu_how to touch ubuntu for HTC 3Devo | http://askubuntu.com/q/49027709:23
mandelElleo, can you give me a small hand?? Any idea why this docs would not be generated => http://bazaar.launchpad.net/~mandel/ubuntu-download-manager/expose-logger/view/head:/src/downloads/qml/logger.cpp10:26
mandelElleo, I think everything is ok10:26
Chipacadoes anybody know how i can get the .desktop file given an app id?10:36
Elleomandel: okay, will take a look now10:38
mandelElleo, thx10:38
mardypete-woods: hi! I just saw your MP about the youtube account10:42
mardypete-woods: what will use it?10:43
pete-woodsmardy: yes, the youtube scope (doesn't exist in distro yet)10:43
pete-woodsbut I wanted to get this started early10:43
pete-woodsmardy: we will also need to activate the youtube API in our google account (But I don't know who to ask about this)10:43
pete-woods"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."10:44
pete-woodsmardy: https://launchpad.net/unity-scope-youtube - if you're interested (but haven't pushed the auth code yet)10:45
mardypete-woods: we shouldn't follow this approach; the key in the .provider file should have as few permissions as possible, or the risk of having it abused and then revoked is too big10:52
mardypete-woods: the youtube scope should register its own application key10:52
mvoChipaca: for click packages or for "normal" ones?10:52
pete-woodsmardy: okay, that also works for me10:52
pete-woodsmardy: what does this mean for the MR? do I provide the different key in the .service file?10:53
mardypete-woods: I guess that the main target here is ubuntu touch?10:53
mvoChipaca: if click and the desktop hook is in use there will be a symlink in ~/.cache/upstart-app-launch/desktop/${id}.desktop10:53
pete-woodsmardy: for the moment, yes, until covergance and all that10:54
mardypete-woods: OK, and the scope will be preinstalled on the image?10:54
pete-woodsmardy: I think so, yes10:54
mardypete-woods: then I'd recommend shipping the .service file with the click package10:55
pete-woodsmardy: okay, that works for me10:56
Elleomandel: qdoc doesn't seem to like the lvl parameter type being defined as "Logger::Level", just as "Level" it generates the docs for that fine; not sure why it's not generating docs for the enum though10:56
Elleomandel: will continue to look at that10:56
mardypete-woods: we have a click hook for that, so that the .service file will end up in ~/.local/share/accounts/services/, where libaccounts will pick it up10:56
Chipacamvo: I don't know, at the point of needing the .desktop file, whether it is one or the other10:56
mandelElleo, thx, I really appreciate it10:56
Chipacamvo: I'll look in there10:56
Chipacamvo: hm, I don't have a ~/.cache/upstart-app-launch10:57
mvoChipaca: this is on a desktop system?10:57
Chipacamvo: phone10:57
pete-woodsmardy: okay, so now I need to speak to someone in IS (whoever owns the google account) to get them to create a new youtube application?10:57
mvoChipaca: ups, sorry - its nowdays called ubuntu-app-launch10:58
Chipacad'oh, i knew that :)10:58
mvo:)10:58
mardypete-woods: yes, but it's best if you create one yourself first (and you test it), so that you can guide them through and tell what permissions are needed (there are hundreds, it can be confusing)11:04
pete-woodsmardy: yes, I have already got my own application for testing :) do you by any chance know who to talk to on the IS end?11:05
Chipacagrr, still getting "could not find the desktop file for 'com.ubuntu.terminal_terminal_0.5.73.desktop'"11:05
Chipacathis requires lunch.11:05
pete-woodsmardy: okay, so I have created a service file for my own youtube application, where would I expect to see this in the accounts UI?11:15
pete-woodsit's possible also that I don't know what I'm doing with the service file :)11:17
pete-woodsmardy: should I be adding my own provider in addition to service for youtube? or should I refer to 'google' as the provider?11:18
mardypete-woods: I think it's better if you refer to "google"11:32
pete-woodsmardy: okay, so if I do that, and provide different client ID and client secret, how does that all work, do I expect another entry in the list off account types in the user interface?11:33
mardypete-woods: to install your service file, add a hook like this: "account-service": your-file-name11:33
pete-woodsmardy: I understand the hooks part, I'm just testing this on the desktop by manually creating service files at the moment11:33
mardypete-woods: no, this won't add a new provider to the list11:34
pete-woodsmardy: so how does the user actually use the youtube service type?11:35
pete-woodsI realise these are pretty basic questions, I just don't understand the workflow of the service types11:35
mardypete-woods: there will be a way in the unity UI to ask the user whether he authorizes the scope to use his google account11:38
mardypete-woods: if the user gives the authorization, the scope will see that the account service becomes enabled11:38
mardypete-woods: and at any time, the user can go to the System Settings->Accounts, click on the google account, and enable/disable the youtube scope11:39
pete-woodsmardy: okay, but surely if there are different account credentials for youtube, vs. gmail, the user is going to have to log-in more than once?11:40
=== MacSlow is now known as MacSlow|lunch
=== dholbach_ is now known as dholbach
=== alan_g is now known as alan_g|lunch
mardypete-woods: no, I don't think that the user will have to login twice, but even if that should be the case, we'll support it12:08
=== chihchun is now known as chihchun_afk
pete-woodsmardy: okay, well if you say that'll work, I'll just try do it then12:09
pete-woodsI guess I don't understand oauth well enough to understand how we can use two different client_ids (one for the provider, one for the service) and not need two log-ins12:10
pete-woodsat any rate I have a new youtube.provider and youtube.service working for the moment12:10
mardypete-woods: we cache the cookies, per-account, so the user generally logs in just once, until the cookies expire12:14
pete-woodsokay, but surely if I need to auth against the new youtube application you have asked me to create, that it a separate oauth workflow than the main "google" provider, right?12:16
WellarkSaviq: are we close to land the suru theme?12:17
SaviqWellark, closer then ever, yes (like today)12:18
=== psivaa_ is now known as psivaa-lunch
mardypete-woods: yes, the user will be presented with a webview containing the google page where he needs to accept your application12:18
pete-woodsokay, I hadn't realised that multiple oauth applications with different secrets could be authorised at once12:19
WellarkSaviq: oh, sweet. there are couple of icons I need from suru. so I can start preparing a branch.12:20
SaviqWellark, silo 004 is there for your testing pleasure12:20
=== MacSlow|lunch is now known as MacSlow
Elleomandel: I'm starting to think that qdoc might not generate enum docs for qml output; it looks like in content-hub we explicitly listed the enum entries in a \qmltype block, e.g. http://bazaar.launchpad.net/~phablet-team/content-hub/trunk/view/head:/import/Ubuntu/Content/contentscope.cpp12:25
mandelElleo, ok, and the other issue was related to Logger::Level, correct?13:03
Elleomandel: yeah, just specifying that as "Level" makes qdoc happy though13:04
mandelElleo, awesome, thx for taking the time13:04
Elleono worries13:04
Elleoany progress on that crash? my VMs been dropping in and out a bit, so I might have missed something13:04
* Laney stabs13:14
Laneysatoris: o hai13:15
satorisHello.13:15
LaneyAre there any NM logs?13:15
LaneyI turned the hotspot on but my laptop sees it not13:15
satorisDid you enable it on the device or on desktop?13:15
Laneydevice13:16
satoris(Some hardware is not able to do adhoc networks, I'm told.)13:16
LaneyAlso Unity 8 seems to have gone away or something now13:16
LaneyBlack Screen of Woe and Misery13:16
LaneyI see - this is a Nexus 413:16
satorisI tested it on the desktop with a USB wifi dongle. It works and I can join it with my laptop and it relays traffic. Did not test on the device because I don't have cellular data on the SIM atm.13:17
LaneyIs there a way to tell if it's going to work or not?13:18
LaneyAnd hide the option if so13:18
satorisAs far as I know that is a kernel/driver issue. NM at least won't tell you.13:19
satorisIf the call to enable hotspot fails, it should print an error message to stdout/stder..13:19
satorisWellark: is the above correct?13:20
=== alan_g|lunch is now known as alan_g
mardyalecu: hi! So, the reason why you want to raise the OA window, is it to create a new U1 account?13:22
satorisAlso, it may take a while for the adhoc network to show up on your laptop. I don't think it scans all that often.13:22
Laneycan I look for something in nmcli dev list?13:22
alecumardy: right, when the user wants to purchase some app, but is not logged into u1, the click scope opens that url13:22
mardyalecu: cool, then we have a way to do it more directly: that is we can already redirect the user to the U1 creation phase13:23
alecumardy: sounds great13:23
alecumardy: is that done via qml or also via urls?13:24
mardyalecu: please have a look here: https://code.launchpad.net/~mardy/reminders-app/app-access2/+merge/21979813:24
mardyalecu: QML, but there's an equivalent Qt C++ API13:24
alecumardy: what is applicationId used for?13:25
alecumardy: (I would be calling this from a scope, which technically has no ui)13:26
alecuapplicationId: "com.ubuntu.reminders_reminders"13:26
mardyalecu: right, let me think, maybe that's not exacly the thing you need13:26
mardyalecu: that applicationId tells us which application is making the request, and should be authorized to use the account13:26
alecuah, right13:27
mardyalecu: I can make it work, with some minor changes, but I'll soon be on holidays so it won't happen soon13:27
mardyalecu: so, for the time being, the best thing is if you leave both applicationId and providerId empty13:27
cwaynemardy: ping :)13:28
mardyalecu: that means that the OA panel will start like now, and not already starting on the U1 creation13:28
mardycwayne: I'm not here, I'm not here!!! ;-)13:28
mardycwayne: hi :-)13:28
cwayne:P13:28
=== psivaa-lunch is now known as psivaa
satorisHmm, retried it with my setup and it works.13:29
alecumardy: at least the system settings window will not be shown, right?13:29
cwaynemardy: was just curious -- what's the plan for allowing access to OA within scopes, like is there a snap-decision that pops up and asks to grant access?13:29
mardyalecu: correct13:29
alecumardy: great, thanks.13:29
Laneysatoris: ah13:30
mardycwayne: to be honest, I don't remember; we had a conference call some time ago, but I don't remember what was the final design13:30
LaneyFailed to start adhoc network: "Device not managed by NetworkManager or unavailable"13:30
cwaynemardy: i don't either, that meeting was like 6am for me :P13:30
mardythostr_: do you remember, what was the plan to authorize scopes to use accounts? ^13:31
satorisLaney: ok, so the question then becomes why does that happen or why does NM not think it is managing that device.13:32
Laneysatoris: yup13:33
Laneysatoris: Do you get the same?13:33
LaneyBTW I don't have any data there either but I expected to at least be able to see the network13:33
satorisLaney: on the desktop no.13:33
LaneyDo you have a phone?13:33
satorisYes.13:33
LaneyYou should be able to reproduce the same there13:34
satorisPhone flashing time. Again.13:36
kgunndobey: hey...i think you are ok to skip my meeting13:37
kgunnseems ted already met with security guys ahead of time last week13:37
WellarkLaney, satoris: what was the question again?13:39
WellarkLaney: what does "nmcli d" say to you ?13:40
Wellarkwhen you get that "Device not managed by NetworkManager"13:40
thostr_alecu: cwayne: mardy: IIRC the idea was to launch the OA plugin as trusted helper from dash (settings)13:41
thostr_for time being we can simply invoke the OA plugin13:42
mterryrobru, so since the adb change, phablet-shell gives me "Permission denied (publickey)".  I did re-enable adb, but still getting that.  Is there a setup step I'm missing now?13:42
thostr_pete-woods can comment on this as he is already using OA for vimeo and youtube scope13:42
mardythostr_: OK, but when should we launch the plugin?13:43
thostr_mardy: when the scope calls it?13:43
pete-woodsthostr_, mardy: we need to be able to make it optional13:45
pete-woodswe don't want the signon ui appearing as soon as you try and use the scope13:45
pete-woodsthe user needs to have the option of launching it13:45
LaneyWellark: ah, that's interesting13:46
LaneyI had wifi off13:46
Laneythat was the problem, now I see it13:46
Laneyit's greyed out in nm-applet13:46
dobeykgunn: ok13:47
mandelElleo, moving with the crash I think I got it, rebuilding and will test on the phone13:47
Elleomandel: excellent, thanks13:48
mardypete-woods, thostr_: yes, that was actually my question: whether OA should pop up as soon as the scope is loaded, or upon some explicit action from the user13:49
pete-woodsmardy: what we're looking for is for there to be a 'login nag' somewhere in the scope ui / dash that when clicked will send you to the login13:51
=== ogra_` is now known as ogra_
=== chihchun_afk is now known as chihchun
=== dandrader is now known as dandrader|afk
=== dpm__ is now known as dpm
=== dandrader|afk is now known as dandrader
pittivila, ev_, fginther: autopkgtest released with click+adb+nova etc. support, check http://www.piware.de/ for details :)15:22
pittivila: I suppose we should talk soon about the next steps/15:22
pitti?15:22
vilapitti: yes, before or after Friday ? ;-D15:24
pittivila: rather before; my relationship with my beloved French colleagues might suffer a bit after Friday :)15:25
vilahehe, naaaah15:25
pittivila: so, not today any more, but if you want, pretty much any time from tomorrow morning on is good for me15:27
vilapitti: well, next step is to use a more recent version of adt-run in the test runner aiming for the existing tests to pass (they use libpng and already provide different results for precise and saucy)15:27
pittivila: perhaps you want to play around with this a bit first15:27
vilapitti: yeah, I think it's on my plate, need to clean it up a bit first and check with fginther for priorities15:27
vilapitti: but we can talk tomorrow briefly to make sure we're still on the same page15:28
=== elopio_ is now known as elopio
pittivila: *nod*15:29
=== gatox is now known as gatox_lunch
alesageis there a --bootstrap equivalent for flashing dual-boot?  I'm aware of the 'delete Ubuntu data' option16:56
=== gatox_lunch is now known as gatox
=== alan_g is now known as alan_g|EOD
=== jsalisbury_ is now known as jsalisbury
=== dandrader is now known as dandrader|lunch
=== dpm is now known as dpm-afk
dobeyanyone around familiar with std::thread ?18:13
=== gnu is now known as Guest81701
AskUbuntu_Problem with QtWebkit and QML in PyQt5 App Ubuntu for Devices (Ubuntu Touch) | http://askubuntu.com/q/49047418:25
=== dpm is now known as dpm-afk
AskUbuntu_how to read text message that resides on it like windows with sony Ericsson wireless manager | http://askubuntu.com/q/49048819:11
=== dpm-afk is now known as dpm
=== dandrader|lunch is now known as dandrader
AskUbuntu_What is probability of porting ART to Ubuntu? | http://askubuntu.com/q/49053620:51
ahayzenbfiller, ping22:16
bfillerahayzen: pong22:22
ahayzenbfiller, hey i'm one of the music-app devs just trying to figure out this content-hub integration...22:22
ahayzenbfiller, so firstly i'm correct in saying we are only a destination?22:23
bfillerahayzen: yes, for now anyway22:23
ahayzenbfiller, then if i do get any code going, how can i test it on my device?22:23
bfillerahayzen: there is a hub-exporter example that you can have export music22:24
bfillerone sec22:24
ahayzenbfiller, oh this ? https://code.launchpad.net/~ken-vandine/+junk/hub-importer22:24
ahayzenoh no not that22:24
bfillerahayzen: same with hub-exporter22:24
ahayzenbfiller, ok thanks22:25
bfillernp22:25
ahayzenand now to figure out how to do this :)22:25
bfillerahayzen: you can look at gallery-app and address-book too for examples22:26
bfillerthey do it22:26
ahayzencool22:26
ahayzenbfiller, do you have any idea what the urls will look like? i assume similar to the UriHandler? so file:///path/to/music.flac ?22:32
bfillerahayzen: not sure22:33
ahayzenbfiller, so ~ken-vandine/+junk/hub-exporter  is exporting images, how do change it to export music? i've added a listelement linked to a mp3 file i bundled but the only apps i could 'open with' was the gallery? is there something else i need to change?22:42
ahayzenbfiller, ah contentType: ContentType.Pictures ... probably that ;)22:44
ahayzenbfiller, when you state 'the music-app is invoked and it's content-hub handler is called. it will simply store the downloaded file in the ~/Music directory and then probably either show the song detail page or just the main list of music' ... does that mean we will have to move the file to ~/Music or will the url already be within ~/Music?23:05
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader

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