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

runefirefoxhey00:31
runefirefoxso i would like to port ubuntu touch onto a galaxy tab 2 7.0 p311300:32
runefirefoxhelp?00:32
runefirefoxanyone00:33
runefirefox?00:33
runefirefoxquit00:34
runefirefoxleave00:34
=== chriadam|away is now known as chriadam
=== kyrios is now known as Guest40534
=== chihchun_afk is now known as chihchun
shuduorsalveti: hi, may i know if current ubuntu-touch already support dual screens or not?06:17
dholbachgood morning07:16
shuduodholbach: morning :)07:25
dholbachhi shuduo :)07:26
bzoltan1popey:  could you please help me to push a bit this MR to land on the music app? https://code.launchpad.net/~canonical-platform-qa/music-app/fix1348055-do_not_depend_on_position/+merge/22805107:27
shuduodholbach: hi, do you know recent build from devel channel is broken to boot with dualboot.sh on Nexus 7?07:27
dholbachshuduo, I'm afraid I don't know - ogra_: ^ do you know?07:29
ogra_no, sorry, it seems to work fine in the lab, tests ran and all07:30
ogra_so it shoudl wrok07:31
ogra_*work07:31
shuduoogra_: i can boot latest build of trusty on N7. latest of devel channel will fallback to android. :(07:32
ogra_shuduo, latest devel image was 133 .... http://ci.ubuntu.com/smokeng/utopic/touch/flo/133:20140715.2:20140715.2/9079/  that are the test results for flo (N7) with that image ... seems it booted fine (a bunch of tests failed, but doesnt look earth shattering bad)07:34
ogra_so if there are issues i would expect the dualboot app causes them07:36
shuduoogra_: i see the install-and-boot is passed. but do you know if it cover dualboot too?07:36
ogra_no, we dont support any dual boot method, so we indeed dont test them+07:37
ogra_(up to the people that provide it to you)07:39
shuduoogra_: i got it. :( actually someone does wanna have a dualboot tablet07:40
ogra_oh, i assume there are many people wanting dual boot support07:40
shuduoogra_: actually it worked good in previous builds. but broken in recent builds07:41
shuduoand always works good on N407:41
ogra_we might even provide it ourselves by default one day ... but today everyone is so busy to get the OS ready for the phones that will sell this year that there are simply no resources07:41
shuduoogra_: understood.07:41
shuduoogra_: do you know if current ubuntu touch support dual screens?07:42
ogra_no, it doesnt07:42
shuduoogra_: ok.. got it.07:42
ogra_(well, #ubuntu-mir might correct me, i'm not a mir dev, probably it does and i dont know ;) )07:43
shuduoogra_: i see blueprint of mir is saying mir support multimonitor via xmir. so i suppose current ubuntu touch does not support it. :)07:44
ogra_yeah, there is no working xmir for the phones yet ... it might work on the desktop indeed07:46
=== chriadam is now known as chriadam|away
JamesTaitGood morning all; happy Tell An Old Joke Day! :-D08:32
liuxgdoes anyone know how to run an click package application using command ubuntu-app-launch on the phone. I previous tried it worked. I do not know why it did not work any more.08:47
jgdxseb128, hey, do you have time for a look at https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/1319044-carrier-design-dual-sim/+merge/227318 ? Thanks08:51
Elleomandel: heya, had a bit of a chat with ahayzen last night about some issues they're running into with downloads to the music app caused by bad file names, he's added the details to this bug: https://bugs.launchpad.net/ubuntu-download-manager/+bug/120535508:51
ubot5Launchpad bug 1205355 in ubuntu-download-manager "Content-Disposition is not used to get the file name" [Medium,In progress]08:51
mandelElleo, yes, I have been ignoring that bug focused on others, is it affecting them really bad?08:52
Elleomandel: I know we discused the content-disposition file name stuff a bit in the past and it sounded like it would be quite time consuming, but I've added a comment to that bug report about a possible alternative solution specific to the browser that might be more doable08:52
Elleomandel: it basically stops them downloading any music from services that don't have the filename in the URL, as mediascanner is extension based08:53
Elleomandel: so all downloads from a lot of services like jamendo, etc. that just have a url like http://storage-new.newjamendo.com/download/track/1108495/mp32 fail to be recognised unfortunately08:54
seb128jgdx, hey, I can have a look, but I think Ken was going to review it (I asked him yesterday, he knows the sim stack/codebase better)08:54
mandelElleo, because it is downloaded as mp32??08:54
Elleomandel: yeah08:54
jgdxseb128, ack08:55
Elleomandel: mediascanner ignores it because it's filename doesn't look like a music file08:55
Elleomandel: we work around it in the gallery for images and videos by adding the extension ourselves based on qt's mimetype detection, but music app is pure QML so isn't able to do that08:55
mandelElleo, content-disposition is the way to go and I'll implement that no matter how time consuming it is, the issue will be present nevertheless if the content-disposition is not present08:55
mandelElleo, what I mean is, you will have an issue if the server side does not send us that data08:56
Elleomandel: yeah08:56
Elleomandel: I think they also need to have a discussion with the mediascanner folks about their approach08:56
mandelElleo, we can, as you mentioned add a hint for the extension, that is, if content disposition is not present, append .mp4 etc..08:56
Elleomandel: but I think that'll be a much rarer case08:56
mandelElleo, but that is a hack08:56
mandelElleo, I'll get to content-disposition asap then08:56
Elleomandel: since most servers will either serve a URL of the form http://blah.com/music.mp3 or serve a url like http://blah.com/myservice/12323213 + a content-disposition header08:57
Elleoso it'll at least be covering most major cases08:57
Elleomandel: thanks very much08:57
mandelElleo, yes, I think the way to go is head request to get the content-disposition header (to ensure that we do not step on other files) if present, we are happy, if not present we user the url08:58
Elleomandel: yeah08:58
mandelElleo, if the url is not correct, well, we will need to add something else, but lets do that later08:58
Elleomandel: yeah, having download manager report the mime-type as part of the final download object could be enough to let apps handle things better08:59
Elleoor mime-type + suggested extension, since QML apps can move things via content-hub's bindings now09:00
Elleomandel: alternatively I guess we might just want to wrap Qt's mimetype stuff in QML and make it available as another module09:00
mandelElleo, indeed.. that might mean that we have to change the api so that the finish signal provides the info and that would break a number of things09:01
mandelElleo, we can add an api2 dbus api so that we mantain both09:01
mandelElleo, I'd say, lets do the content-disposition for rtm, the other approach, which I like, should be done after09:01
Elleomandel: sounds good, I think ahayzen should be involved in any discussions for the future improvements too, since he knows more about what limitations they have internally and from mediascanner09:02
mandelElleo, +109:02
mandelElleo, I'm more than happy to make udm as robust as possible09:03
Elleomandel: yeah, I know it's a pain having to tackle this one, but it'll be a big improvement for things besides music app too, since we'll get much better filenames for a lot of image/video downloads too (e.g. all downloads from gmail are just a 32 bit md5sum or something at the moment)09:05
Elleomandel: so thanks for tacking it on :)09:06
Elleotaking*09:06
Elleo32 char*09:06
mandelElleo, sure, my pleasure to help with this, is something I knew about but was postponing :-/09:06
Elleoyeah, understandable, and I hadn't really considered the impact it'd have on music app until ahayzen raised the issue09:07
=== shuduo is now known as shuduo_afk
asac-rw-r----- 1 phablet whoopsie 847942 Jul 22 19:58 /var/crash/_usr_bin_messaging-app.32011.crash09:27
asacev: i have that crash that didnt get submitted. shall i do something?09:27
asacjus restart whoopsie and it will be sent?09:27
evasac: do you have a .upload file for it in that directory?09:27
asacev: no, neither .upload nor .uploaded09:27
asaci have two other crashes that have both09:28
evasac: does manually running /usr/share/apport/whoopsie-upload-all create the .upload files?09:28
* asac tries09:29
asacseems its doing something /me waits09:29
asacCollecting info for /var/crash/_usr_bin_messaging-app.32011.crash...09:29
asacev: what does that mean? interestingly i just had rebooted my phone, so i assume it should have run that on boot?09:30
* asac thinks at that time wifi might not have been up yet09:30
asacev: now i get something waiting for upload or so09:31
asacMarking /var/crash/_usr_bin_messaging-app.32011.crash for whoopsie upload09:31
asacWaiting for whoopsie to upload reports (timeout: 1800 s) missing (remaining: 1800 s): /var/crash/_usr_bin_messaging-app.32011.uploaded  missing (remaining: 1790 s): /var/crash/_usr_bin_messaging-app.32011.uploaded09:31
asacthat is looping09:31
asacev: normal?09:31
* asac is on wifi09:32
asacping works also09:32
* asac waits09:32
* ev looks09:32
asacev: i think its buggy. that thing is just 800k of size and shouldnt take mor than a few secs to upload09:33
asacdbarth: hello :)09:33
dbarthasac: hi09:33
asacdbarth: do you know about the webbrower-app showing only grey areas if you go to activity?09:34
evso I'm pretty sure I know the second bug you're running into, but I'm first trying to do some archeology to see why we turned what was a perfectly good set of asynchronous operations into something synchronous.09:34
asacdbarth: e.g. i dont see any website surface there09:34
dbarthasac: olivie was telling me he can't get thumbnails right now09:34
dbarthasac: should have favicons instead09:34
dbarthlet me check the branches around09:35
evasac: so you can work through this in parallel, do you now have .upload files in /var/crash? If so, does `sudo restart whoopsie` result in .uploaded files existing in /var/crash?09:38
dbarthasac: right, we have a branch in review to cache favicons and display them in the gray parts of the history09:38
pittiasac: if it keeps waiting, try restarting whoopsie; I had that a few months ago, it was due to the inotify bug09:41
evpitti: do you remember why we're waiting on whoopsie at all in whoopsie-upload-all? This seems weird to me. Apport should write the .crash file, whoopsie-upload-all should write the .upload file, and whoopsie should process the two and create the .uploaded. It should be asynchronous handoff, no?09:42
pittiev: this was written for usage in CI, like the autopkgtest runner or MPs09:43
pittiev: we need to block on the uploads to finish, as immediately afterwards we destroy the testbed or reset the phone09:43
evpitti: mm, wasn't whoopsie-upload-all written for the phone first, before CI was a thing?09:43
evthey seem to me like two separate concerns09:43
pittiev: I wrote it because we wanted to pick up crash reports from autopilot runs09:44
pittiyou can run it with -t 1 to set the timeout to 1 second, and ignore the exit status09:44
pittiif you basically want async mode09:44
pittior -t 0 even09:45
pittiev: it was never really designed for calling manually, though; seems people now do that?09:45
evwell, apport-noui calls /usr/share/apport/whoopsie-upload-all without arguments09:47
evpresumably it should call it with -t 0?09:48
everr /etc/init/apport-noui.conf that is09:48
pittiev: not sure -- don't we want at least some serialization there, to avoid running too much in parallel?09:48
pittimaybe we do09:48
evpitti: that strikes me as something better accomplished in the upstart job? Something akin to the old GTK trick of moving a timer slightly forward into the future every time you have an event, so you wait for things to settle before acting on it.10:02
ev(that probably predates GTK by some significant amount of time, but that's where I first encountered it)10:02
evI don't know. I just worry that we've now made these things all dependent on one another, when they can better handle failure modes separately10:03
pittiev: so, using -t 0 in the upstart job seems fine to me10:14
evoh, cool10:14
pittidoesn't solve the problem of whoopsie never getting triggered (above bug)10:14
pitti(that was an inotify problem, right?)10:14
evyeah, that's https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/134060410:15
ubot5Launchpad bug 1340604 in whoopsie (Ubuntu) "[phone] crash files are only uploaded on boot" [Undecided,New]10:15
evand yay, I get to make my first patch submission to apport in bloody ages10:15
pittiand in practice it shouldn't make a difference, as this is an "instance" job which can run in parallel anyway10:15
evah right10:15
asacpitti: ev: i restarted whoopsie, ran upload-all again10:16
asacstill not .uploaded10:16
asac/var/crash/_usr_bin_messaging-app.32011.crash already marked for upload, skipping10:17
pittiyes, that's whoopsie-upload-all10:17
pittiif there's an .upload stamp, its job is done10:17
asachmm. but seems noone is uploading it10:17
pittihm, does whoopsie has some verbose mode these days? a few months ago it was still awfully quiet10:18
evasac: can you pastebin /var/log/syslog?10:18
asacin apport.log i see stuff like this: http://paste.ubuntu.com/7846754/10:18
asacnot sure if thats related, but doesnt look too good10:18
asacev: http://paste.ubuntu.com/7846758/10:19
pittiasac: unrelated, but indeed worrying -- that means that the kernel called apport and ripped the process away underneath it10:19
pittiwhile the kernel calls the core handler, the process ought to stay around10:19
asacpitti: whats the symptom from such an error? we dont get a dump of a crash processed?10:19
evyou could also `sudo stop whoopsie; sudo CRASH_DB_URL=https://daisy.ubuntu.com whoopsie -f`10:19
asace.g. no .crash file creation?10:19
pittibut if that happened, there's nothing that apport can do to create a .crash file anyway, so low prio10:19
pittiasac: yes, you won't get a crash file10:20
asacev: would that help getting to the bottom of the problem?10:20
pittiasac: and we can't find out what pid 7446 was10:20
asacmy primary objective is to help finding out whast buggy, not to get that upload done10:20
pittiasac: the "doesn't upload" is indeed the main concern here10:20
asacpitti: ok. i guess that might be coming from our lifecycle magic?10:20
pittias you did get a .crash report for another crash, so that's working in general10:20
asacanyway, i have a crash file that apparently cannot be uploaded. let me know what info you need10:21
pittiasac: no, I don't think so; processes should be sleeping, not killed10:21
pittiasac: anyway, you can't kill a process while it's dumping core10:21
asacwould it help if i upload that somewhere?10:21
pittiso maybe something funky with the android kernel10:21
asacok, lets first check why the "simple" code that should upload this, doesnt do its job10:21
pittiasac: does ev's "run whoopsie in the foreground" command say anything?10:21
asacok if that helps, let me try10:21
pittiideally that would tell what it tries to do, and perhaps spit out an error message10:22
asacseems to work10:22
asachttp://paste.ubuntu.com/7846779/10:22
asacalso got10:22
asacSent; server replied with: No error10:22
asacResponse code: 20010:22
asacnow10:22
asacso guess that worked10:22
asachmm10:22
asacev: pitti: anything you need?10:23
evhmmm interesting. If you kill the foreground process and sudo start whoopsie, then touch the .crash file, does the timestamp on .uploaded change?10:25
evI wonder if our daemonising code is busted.10:25
pittiev: we could drop the "expect fork" and just run with -f?10:26
pittisimpler all around10:26
asacev: shall i just remove the .upload* files?10:26
asacor is touch important?10:26
pittiand upstart logging should then work10:26
evpitti: yeah, seems reasonable10:26
evasac: sure, that's another way of doing it10:26
evbut then do run whoopsie-upload-all again to create the .upload file10:26
pittiasac: remove the .uploaded, keep the .upload10:26
evor that ^ :)10:27
asactimestamps didnt change yet. didnt remove anything, just touch10:27
asacwill wait a bit.10:27
pittiev, asac: http://paste.ubuntu.com/7846812/10:28
pittithen "sudo restart whopsie"10:28
pittisudo restart whoopsie10:29
pittiand magically /var/log/upstart/whoopsie.log starts to exist and work10:29
pittimaybe that will already magically make the uploads work, but if not we should at least see why10:29
asacok /me changes conf10:31
asachmm. cannot write that conf file :)10:31
pittisudo mount -o remount,rw /10:32
asacpitti: can i go back to ro after?10:32
pittiyes10:32
asacdid that, waiting10:33
asacno timestamp changes yet10:33
pittiasac: sudo tail -f /var/log/upstart/whoopsie.log10:34
asacdoesnt exist :(10:34
asacodd10:35
pittiasac: ah, then you didn't restart whoopsie10:35
asacdouble checked. the init has the right thing10:35
pittiasac: or perhaps try sudo stop whoopsie10:35
pittisudo killall whoopsie10:35
evsyslog, no?10:35
pittisudo start whoopsie10:35
evwhoopsie logs to syslog10:35
pittiev: not any more with -f, then it goes into the upstart log10:35
pitti(I suppose)10:35
evoops10:35
pittiI mean, it does go to the upstart log10:35
evsorry, I came back and just read the bottom10:35
evyou're right10:35
pittinot sure whether it additinally syslogs10:36
asacok now it uploaded10:36
evI missed the part where you gave him a diff to apply10:36
asacrestart didnt really work it seems10:36
asacwhat does this mean?10:36
pittiyeah, restart might have gotten confused due to the forking change10:36
pittiasac: stop/kill/start ought to work though (that's what I did, even without the killall)10:36
asacso this seems to work10:37
* asac readds the expect10:37
nik90seb128: ping, I noticed that after flashing ubuntu touch, the time shown always default to UTC. Shouldn't it default to the local time?10:39
seb128nik90, not sure, there is a bug open about that though10:39
asacpitti: should i keep init patched like this?10:40
pittiasac: what changed now? just that you get logging, or does the actual uploading work, too?10:40
seb128nik90, hum, I was thinking about bug #1289481, could be a different issue10:40
ubot5bug 1289481 in ubuntu-system-settings (Ubuntu) "Default time zone is unlabelled" [Low,Triaged] https://launchpad.net/bugs/128948110:40
asacbefore rebooting and going back to ro10:40
evpitti, asac: okay, so it sounds like the daemonise behaviour is broken. I'm happy to have it use -f until we get to the bottom of this. I'll make the change to the whoopsie upstart job.10:40
asacpitti: the upload works10:40
asactried twice10:40
nik90seb128: it seems a bit weird that the user should come to the date&time settings to set his timezone manually10:40
asacboth time it just worked10:40
pittiasac: just at starting whoopsie, or also when it's already running? i. .e it picks up the new .upload?10:41
seb128nik90, sure, but you are talking to the wrong person there10:41
pittiasac: if ev agrees, I'd like to upload that whoopsie change, it's simpler anyway10:41
seb128nik90, settings are an UI to change settings, they don't run on start10:41
asacpitti: i stop, start whoopsie10:41
pittiasac: so you can keep it10:41
asacthen it just reuploads10:41
seb128nik90, we need another service or unity8 or something to do the work if it needs to happen on start10:41
seb128nik90, but isn't that the job of the wizard?10:41
nik90seb128: I would think yes, but I dont remember seeing a slide in the welcome wizard which provdes that option10:42
asacpitti: its wierd... stop and start doesnt return anymore10:42
nik90seb128: but I will talk to the designers and check the intended behavior10:42
asacjust sits there10:42
seb128nik90, the wizard is still incomplete though10:42
seb128nik90, sounds like the thing to do10:42
seb128nik90, thanks10:43
pittiasac: hm, that works here :/10:43
pitti(with the modified job)10:43
pittiasac: you did drop teh "expect fork", did you?10:43
asacyeah10:43
asacthat and added -f10:43
* asac reboots and hopes the phone will start like this10:43
asac510:44
asac410:44
asac310:44
asac210:44
asac...10:44
asacgood bye phone :P10:44
pittioh dear, alex rebooted himself -- human bodies can't take this very often!10:44
evlol10:44
asaclol10:44
asacok the phone booted properly10:46
* asac will keep eyes open for crashes10:46
pittiasac: now stop/start ought to work?10:46
pittiI suppose the "restart" left upstart in a weird state10:46
=== Guest40534 is now known as KyriosBrastianos
asacpitti: ack. works now after reboot10:54
pittiev: curious, curious10:59
evpitti: seems to point the finger at daemonize, no?11:00
pittiapparenlty11:01
pittiev: so, not sure whether we should upload the -f; logging to /var/log/upstart/ might collide a bit with ogra's goal of logging everything to /var/log/syslog only11:06
pittibut then again, I suppose there are still tons of things that log to /var/log/upstart/ anyway?11:06
ogra_pitti, oh, i didnt mean to drop logging for /var/log/upstart ... we only want all the system related logs from /var/log in a single file11:07
pittiogra_: ah, ok11:07
ogra_making them log as less as possible would be a goal for the upstart logs though11:07
ogra_and we'll definitely not keep old logs around ... i'll mangle logrotate to only keep the current one11:08
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
pittiev: seems we could upload that then, unless you or bdmurray want to investigate the daemonizing code?11:34
evpitti: happy to do that in parallel. Sorting an upload now11:41
pittiev: oh, I can do that, just want to coordinate11:42
evoh cool11:42
evthanks11:42
pittiev: the systemd unit does the same, btw11:42
pittiso logging/daemonizing/restarting can be handled properly by init11:42
evplease do cite this conversation in the changelog, just so we have something to trace back to11:42
pittiyep (after lunch)11:43
evyeah11:43
evmuch appreciated11:43
asacev: pitti: so on the current error tracker i couldnt find a good retrace. is that because of the lack of dbgsym of universe?12:13
=== alan_g is now known as alan_g|lunch
asace.g. once we rebuild its all good?12:13
evasac: for what bucket identifier?12:14
asacev: armhf12:15
asacok unity-system-compositor is good'ish it seeems12:16
asacbut shows an error on top even though i see something that looks reasonable12:16
asacguess we didnt have all, but enough to get some data12:17
asacpitti: do we have a list of what needs rebuild somewhere?12:17
* asac thinks would be great if that could be done before the next promotion12:17
asacwithout deferring the promotion of course12:18
asacSaviq: does that crash trace look useful for you? https://errors.ubuntu.com/problem/4516e6922810983409f4f3aa7df79aa7b97f87b312:18
pittiasac: I put a good errors.u.c. retrace in my summary mail from yesterday12:23
=== salem_ is now known as _salem
=== MacSlow is now known as MacSlow|lunch
pmcgowanjgdx, morning, has your branch gotten approval or are we waiting for ken12:33
pmcgowanmy transfer indicator going a bit crazy12:37
=== MacSlow|lunch is now known as MacSlow
Saviqasac, looks like bug #134705312:48
ubot5bug 1347053 in mir (Ubuntu) "Clients are crashing with a fatal exception in MirSocketRpcChannel::send_message()" [High,Triaged] https://launchpad.net/bugs/134705312:48
asacSaviq: ok good. so i guess thi crash would have been helpful?12:49
Saviqasac, to the mir folk, probably12:59
pmcgowancharles, just filed several transfer indicator bugs for you ;)13:01
jdstrandMacSlow: hey, you should have the archive grep results in your inbox13:04
MacSlowjdstrand, thanks!13:06
pittiasac: we don't have a list, no13:07
jdstrandMacSlow: you're welcome13:08
=== alan_g|lunch is now known as alan_g
=== _salem is now known as salem_
=== pete-woods is now known as pete-woods|lunch
kenvandinejgdx, testing your branch on my desktop with phonesim14:01
kenvandinecellular data starts out as off, which i doubt it was off before i ran it14:01
kenvandineand changing cellular only works after i select a sim14:02
kenvandinewhich makes sense14:02
kenvandinei guess it starts out as off because it hasn't chosen a sim yet?14:02
kenvandinealso, once setting that it doesn't always let me switch tech preference14:02
kenvandine2014-07-24 10:00:31,262 - WARNING - file:///usr/share/ubuntu/settings/system/qml-plugins/cellular/Components/CellularDualSim.qml:116: TypeError: Cannot read property 'radioSettings' of null14:03
kenvandinejgdx, and i keep seeing that, maybe it's related14:03
kenvandinei need to step out for a few, bbs14:03
kenvandinejgdx, oh... and closing system-settings and starting it again, cellular data is off again14:07
kenvandineso you must not be getting that value from ofono at start?14:08
kenvandineor is that because we aren't storing which sim to use for cellular data?14:08
jgdxkenvandine, phonesim cant do radiosettings14:12
jgdxkenvandine, does not support that interface at all14:12
* jgdx will be back later as well.14:13
=== pete-woods|lunch is now known as pete-woods
kenvandinejgdx, ah... ok, that makes this much harder to really test :)14:14
* kenvandine really leaves now :)14:14
cwayneal life14:14
=== alan_g is now known as alan_g|tea
=== alan_g|tea is now known as alan_g
=== dandrader is now known as dandrader|afk
faLUCEhello. I'm search for a tablet with 8 inches, sim slot under 200 Euros where I can install ubuntu touch... any idea? thanks14:52
kenvandinepmcgowan, do you have a dual sim phone to test jgdx's branch?14:55
cwaynefaLUCE: the latest nexus 714:55
faLUCEcwayne: it is 7 inches, not 8 inches14:56
=== gnu is now known as Guest13970
pmcgowankenvandine, I dont, rsalveti and tiago do15:02
pmcgowankenvandine, should be one in the mail to jgdx15:02
kenvandinepmcgowan, can you get me on the list to get one?15:04
pmcgowankenvandine, you are on the list for next batch, may be in the mail as well15:05
kenvandinecool15:06
faLUCEI really don't understand why nobody answers to a so simple question... is this channel dead?15:10
kenvandinefaLUCE, i guess nobody has an answer15:11
kenvandinei know i don't know of one15:11
faLUCEkenvandine: the problem is that I don't know where to ask15:12
Rienzillareut15:23
=== salem_ is now known as _salem
=== dandrader|afk is now known as dandrader
rsalvetikenvandine: meanwhile ping tiago, he got the phone basically for dual sim work as well15:42
kenvandinersalveti, i did15:43
=== gatox is now known as gatox_lunch
achiangdoes anyone know how to actually uninstall a click app? pkcon remove ... doesn't seem to work for me15:50
=== boiko_ is now known as boiko
ogra_achiang, i have the runes somewhere gimme a bit16:04
ogra_achiang, http://paste.ubuntu.com/7848420/16:26
achiangogra_: wow. so 'pkcon remove' doesn't do it but click unregister does...16:28
achiangvery sneaky/strange16:28
achiangogra_: danke16:28
ogra_and you need the right name16:28
ogra_(from click list)16:28
achiangogra_: seems that should go into askubuntu16:29
ogra_feel free :)16:29
achiangha16:30
achiangwho needs karma? ;)16:30
=== _salem is now known as salem_
=== jfelchne_ is now known as jfelchner
=== gatox_lunch is now known as gatox
mhall119cwayne: is there a nice simple way of converting a REST/JSON feed into a scope?16:50
cwaynemhall119: not trivially, although depending on the api it could be pretty easy16:51
mhall119cwayne: I'm thinking something like JsonListModel I have in QML16:52
mhall119but I guess I can make do with something like simplejson in python16:52
=== alan_g is now known as alan_g|EOD
=== kyrios is now known as Guest69589
kenvandinejgdx, ok, i just commented on your MP again, found a problem on my single sim device, easy fix17:20
kenvandinejgdx, otherwise it seems to work well for single sim17:21
bzoltandobey: ping17:21
dobeybzoltan: hi17:22
bzoltandobey: Hello. I have run into this https://askubuntu.com/questions/500601/how-to-create-an-ubuntu-touch-app-with-a-c-backend-and-a-qml-interface17:23
bzoltandobey: you suggested the dude to file a bug :)17:23
dobeyyes, well17:23
bzoltandobey:  well... he did17:23
dobeynot being able to build a click package of a C++ app for ubuntu very clearly seems like a bug to me :)17:24
bzoltandobey:  creating click package for Desktop target is not supported yet by the SDK. The developer should select either an emulator or a real device as a target. All they need is  to pay a little attention when the project is opened. It offers all the existing Kits to be linked to the porject. Or it can be later added to the project on the Project page.17:25
bzoltandobey: The Kits are automatically created when a device is plugged in or an emulator is started.17:26
dobeybzoltan: if i open the sdk, and choose anything under the "Ubuntu" set of targets, should those not be Ubuntu SDK targets, as they are meant to be projects using the Ubuntu SDK?17:27
bzoltandobey:  I would suggest the developers who do not find their way with the SDK Tools to join here an ask17:27
dobeybzoltan: the bug seems to me that that item is a "desktop" target instead of an "ubuntusdk" target17:27
bzoltandobey: I am not sure that I understand what you mean17:28
bzoltandobey:  when you create a template app the SDK offers you all the available Kits ... or you can make one later or you get one for free when an Ubuntu device is available.17:29
bzoltandobey:  A 14.04 desktop sadly is not a valid target. Trusty does not support apps packaged in click17:30
dobeybzoltan: if i open the sdk right now, create a new project and choose "App with QML extension library" it's only offering the Desktop kit17:30
dobeybzoltan: if i choose "App with Simple UI" it doesn't offer any kits at all during the creation wizard17:31
dobeybzoltan: if i choose "App with Simple UI" it doesn't offer any kits at all during the creation wizard17:31
dobeyhmm17:34
=== jfelchne_ is now known as jfelchner
=== dandrader_ is now known as dandrader
=== dandrader is now known as dandrader|afk
dobeybzoltan1: anyway, i can reproduce the problem here. choosing "App with QML Extension Library" only has the "Desktop" kit available. that seems to be the issue that results in not being able to build a click package.17:55
bzoltan1dobey:  try to plug in a device or create/start en emulator. You will see new Kits. The SDK can not know what devices you want to target without seeing at least one17:57
mhall119bzoltan1: I've managed to build an i386 scope binary and click package, how do I run it on the emulator?17:58
dobeybzoltan1: my phone has been plugged in for days. it does not show me the kit when creating the package. and i shouldn't need the device plugged in or an emulator set up, to be able to have a project that can build a click package, really17:58
dobeywith my phone plugged in it still only shows "Desktop"17:59
bzoltan1dobey: on the Devices tab you have your device with a large button what say Autocreate18:20
bzoltan1dobey: the Kits are offered once when you open the projet. If you miss that than it is two click on the Project page18:21
dobeybzoltan: i am failing to understand why as a developer i have to go through all that to be able to build a package of my app. why can't i just create a project and have making a click just work?18:25
=== dandrader|afk is now known as dandrader
mhall119dobey: you need to know what arch and release you click package targets18:28
mhall119if it's pure QML, arch isn't a concern, but you mentioned using the template with a C++ extension18:28
mhall119the issue then is being able to find enough information to properly build for that target, and that information isn't in the Host OS if you're running something other than the target arch and release18:29
dobeymhall119: so the bug is "click packages targetting multilpe archs don't exist yet" ?18:29
mhall119that's part of it, the other part is knowing which "multiple archs" to target18:30
dobeywell, we only really support armhf and i386 at the moment18:31
dobeyso surely that's not a terribly hard problem to solve :)18:31
mhall119we support amd64 too18:31
dobeythere's an amd64 emulator?18:32
mhall119no, but there might be an amd64 ISO with Unity 818:32
beunowell, there's an amd64 ISO with unity8 now18:33
beunoand no i38618:33
beunofor 14.10 preview session18:33
dobeywell sure18:33
mhall119so, yeah, the question isn't quite so simple18:33
beunobut dobey has a point that the multi-arch story isn't well fleshed out18:33
mhall119really QtCreator just needs a better Kit management story18:34
beunowhich is probably fine since RTM is armhf18:34
dobeyanyway, pretty much everyone building apps right now wants to target the phone18:34
beunobut a problem we should recognise18:34
dobeyso defaulting to allowing building on armhf might be a good thing to do for now18:34
beunoand I don't say dobey has a point often!18:34
=== kyrios is now known as Guest99999
bzoltandobey:  because you need a sysroot to build you app against18:35
mvo_on the low level click chroot should support all of the cross-build environments armhf, i386, amd64 in utopic. I don't know much about the qtcreator integration though18:38
dobeymvo_: right, seems like the integration with qtcreator is where that falls short18:39
* mvo_ nods18:39
mvo_to be precise(sic) 14.04 had some issues with certain chroot types (armhf was fine though), but I think we fixed this all in utopic18:40
mhall119If I understand correctly, that's partly because QtCreator doesn't use or understand schroots18:40
mhall119Everything in QtCreator uses Kits, and Kits use sysroots18:40
mvo_oh, I wasn't aware of that. the click chroot schroot integration is pretty nice in this regard18:40
dobeyi don't know. i just know it's a problem, and we're only going to get more questions about it in the future. developers having to do all that extra work just to build an app that uses c++ on the phone, seems like it takes away from our developer story18:42
dobeyto me it's a bug, so when i see a question about it on askubuntu, i tell them to file a bug :)18:43
mhall119it does, yes18:43
mhall119ideally we would be able to create a Kit by simply specifying an arch and release18:44
mhall119which would create the necessary chroot and/or emulator18:45
=== _salem is now known as salem_
mhall119bzoltan: I'm still lost as to how to run my scope click package in the emulator19:09
mhall119do I just adb push it and pkcon install-local like I would an app?19:09
cwaynemhall119: btw re: your earlier question -- we do have a scope template for an RSS based scope (though not one for a JSON api): lp:unity-scope-template-rssĀ 19:12
mhall119thanks cwayne19:14
mhall119I don't suppose that's going to make it into the SDK will it?19:14
cwaynemhall119: it may be, am working with dpm to do that19:15
jgdxkenvandine, pushed r788, and also ran the test_code bit to see if pep8/flake passes, which it does.19:15
kenvandinejgdx, cool19:15
bzoltanmhall119:  you package the scope install the .click on the device and run it manually19:22
bzoltanmhall119:  there is no way to run a scope on the device remotely19:22
mhall119bzoltan: is pkcon used for installing scope packages?19:22
bzoltandobey:  please do not suggest people to file a bug. We should explain to people how the SDK works.19:23
bzoltandobey:  we are working on to make the SDK ux better and the development flow more convenient. It is a work in progress. But feel free to request features and suggest your ideas.19:24
dobeybzoltan: if we have to explain a complicated process to build a click, then the sdk isn't working, and that's a bug :)19:24
bzoltandobey: with all respect I disagree19:25
bzoltandobey:  in my view it is not complicated to build a click. You need certain things, not less and not more than any other SDK. You need a target device or emulator and you need a builder rootfs19:26
bzoltandobey:  what we need is better documentation and better guides19:26
mhall119bzoltan: building a click package is easy, getting all of the things you need in place is complicated19:26
dobeybzoltan: you're telling me that the only way for a developer to target a device, is to own a device and plug it in19:27
bzoltanmhall119:  I agree that you can make it complicated. But you do not have to...19:27
bzoltandobey:  no, an emulator is a valid device19:27
mhall119bzoltan: anything more than installing the SDK, starting a project and clicking the package button makes it complicated19:28
dobeyexactly19:28
bzoltanmhall119:  I agree19:28
mhall119understandably we will have some level of complexity beyond that, but that should be our goal19:28
mhall119so anything beyond those 3 steps should be minimized as much as possible, that included having to create chroot, having to create emulators, having to create kits, etc19:29
dobeyanything that hinders the process of a developer creating a project, building a click package, and putting that click package in the store, is a bug19:29
dobeywe can argue all day about whether it's a bug in the sdk ux, the docs, or what, but it's still a bug19:30
=== kyrios is now known as Guest6762
=== jfelchne_ is now known as jfelchner
asacbfiller: had a bad keyboard bug... typed long text, then tried to delete on char with backspace key and it just continued deleting all characters :/20:36
asacever heard of that?20:36
bfillerasac: were you pressing and holding?20:37
asacall: anyone knows why i sometimes dont have an active send button in the messaging indicator?20:37
asacbfiller: i dont know.. maybe i tried typing too fast which could be a holding20:37
asacbfiller: so i hit backspace, suddenly the 'e' character showed the especial characters20:37
asacthen i got haptic feedback and couldnt stop the cursor from deleting text20:38
asaci didnt even type the e character i think20:38
asachmm. not sure if you get the picture :P20:38
bfillerasac: haven't seen that. if you can reproduce it please file a bug20:38
bfillerasac: regarding messaging menu, I believe that is a bug if the send button is not enabled20:38
asacbfiller: who would own that? do you know?20:39
asac(send button)20:39
bfillerasac: indicator-messages, tstrehl's team20:39
asactedg: you know who works most in your team on indicator-messages? see above20:40
* asac checks for crashes20:41
asacok good news is that all crashes i had since earlier today got submitted :)20:41
tedgasac, It's probably charles or me.20:41
asactedg: do you know the send button bug?20:41
tedgasac, No, I'm not aware of it.20:41
asaccharles: ? i type my reply in the messaging indicator directly, but regularly send button isnt active20:42
asacanyone aware?20:42
charlesI'm not aware of that one either20:42
asacits currently in such state, so let me know what you need20:42
charlesasac, could you see if there's a ticket already on it? if not, could you create one and if possible attach a photo of the phone in that state20:44
asacthis bug annoyed me20:45
asacmor than once20:45
asaccharles: its not hard to grasp, not sure how a photo would help: indicator has message, type response in there, send button not active20:45
asaci have signal20:46
charlesokay so it's just insensitive20:46
charleslarsu, have you heard of this?20:47
charleshm, no larsu20:47
charlestrying him in another channel20:48
asaccharles: https://bugs.launchpad.net/ubuntu/+source/indicator-messages/+bug/132928920:48
ubot5Launchpad bug 1329289 in indicator-messages (Ubuntu) "Messaging indicator sometimes fails to send a reply" [Undecided,New]20:48
asacthats it20:48
* asac did some tagging, priority, confirming, assigning :P20:52
=== renato is now known as Guest26054
=== kyrios is now known as KyriosBrastianos
=== salem_ is now known as _salem
=== kyrios is now known as Guest86821
=== Guest86821 is now known as KyriosBrastianos
=== nexus is now known as Guest65599
Guest65599i'm having issues with trying to load ubuntu touch on my nexus 7 code name grouper22:30
Guest65599is there a forum somewhere to help me through this22:31
thomislangasek: FYI: autopilot-qt build flags are sorted - in the process of going through the silo release process now. Should be in the distro by next week22:31
slangasekthomi: cheers :)22:33
thominw22:33

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