/srv/irclogs.ubuntu.com/2015/01/15/#ubuntu-app-devel.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
=== aaron__ is now known as ahoneybun
ahoneybunpopey,03:24
dholbachgood morning08:22
kalikianaLaney: oh, I will do that then, thanks a lot!08:23
dpmrpadovani, mzanetti, I need perhaps another 30 mins to finish testing offline mode. Would you mind if I move the meeting time to start later?09:12
dpmOtherwise, I'm happy to keep the time, but I'm still building the branch09:13
mzanettidpm: works for me09:13
dpmgreat, thanks09:13
rpadovanidpm, it's ok for me too :-)09:21
dpmthanks rpadovani :)09:21
dpmmzanetti, what will happen if I've got Reminders configured to use Evernote, then select "offline only", and then select my Evernote account? I'm guessing my notes won't be lost or there won't be a reupload of all notes, right?09:30
=== chriadam is now known as chriadam|away
mzanettidpm: it's like switching accounts09:36
mzanettidpm: the other is completely separated from the other (except reminders in the calendar are saved for all accounts the same)09:36
dpmmzanetti, ok09:36
dpmmzanetti, it seems to lock up for me. I've got 2 accounts enabled: my personal one and evernote300. I switched from my personal to evernote300, which worked. Then switched to "offline only", which locked up the app, and then it crashed. Is there any way to debug this?09:39
dpmother than just looking at the log09:39
mzanettidpm: running it in the debugger I guess09:40
dpmhm, can't reproduce it now :(09:40
dpmRestarting the app and doing the switch worked09:41
=== greyback__ is now known as greyback
JamesTaitGood morning all; happy Super Bowl I Anniverary Day! :-P09:53
=== lotu is now known as lotuc
=== chihchun is now known as chihchun_afk
=== _salem is now known as salem_
=== chihchun_afk is now known as chihchun
mivoligomzanetti: I've finally passed the level 9 :)11:30
mzanettimivoligo: did you upgrade?11:30
mzanettireminds me. need to distribute new packages11:31
mivoligomzanetti: what do you mean?11:31
mzanettimivoligo: well, beginning of the week I broke the lighthouse, boom box and hammersmith towers11:31
mzanettithey were way too weak11:31
mzanettifixed that yesterday11:31
mivoligomzanetti: that might be the reason, I used boombox this time11:34
mzanettipopey: mivoligo: rpadovani: update the game please. http://notyetthere.org/data/com.ubuntu.developer.mzanetti.machines-vs-machines_0.1.1_armhf.click11:40
mzanetti(if you're installing it on a device that is)11:40
mzanettiif you're compiling yourself from source, make sure to bzr pull the game, delete the data/lpbuild directory and run setupdata.py again11:41
=== MacSlow is now known as MacSlow|lunch
popeymzanetti: k12:12
mzanettiahayzen: update please: http://notyetthere.org/data/com.ubuntu.developer.mzanetti.machines-vs-machines_0.1.1_armhf.click12:27
ahayzenmzanetti, thanks :) ... that click is massive!12:28
=== chihchun is now known as chihchun_afk
mzanettiahayzen: yeah... I need to keep sounds compressed...12:31
mzanettiahayzen: to improve performance, the setupdata converts all sound effects to wav files12:31
mzanettiI need to disable that for the soundtracks12:31
=== chihchun_afk is now known as chihchun
DanChapmanpopey: you seem to be no longer in #dekko or #u-t-meeting are you joining the hangout?13:00
popeyah yes, killed irc client, thanks!13:02
ahayzenmzanetti, installing that click on device caused something to explode and crash lol13:07
mzanettiahayzen: define "something"13:07
ahayzenmzanetti, "_usr_lib_arm-linux-gnueabihf_ubuntu-app-launch_desktop-hook.32011.crash"13:07
mzanettihmm13:08
mzanettiodd13:08
ahayzenmzanetti, while it was doing $ pkcon install-local --allow-untrusted /tmp/my.click13:08
mzanettipopey: did it work for you? ^13:08
popeyyes13:09
ahayzenmzanetti, well it 'worked'13:09
popeyi see no errors on either flo or krillin13:09
ahayzenmzanetti, just while it was installing the CPU went mental as something else exploded lol13:09
=== chihchun is now known as chihchun_afk
popeymzanetti: still says 0.1 in the about page13:11
mzanettiright... I just bumped the package version to avoid confusion when installing13:13
mzanettistill need to make the about page read it from the manifest file somehow13:13
=== MacSlow|lunch is now known as MacSlow
dholbachmhall119, how do we fix https://bugs.launchpad.net/developer-ubuntu-com/+bug/1409391?13:19
ubot5Launchpad bug 1409391 in Ubuntu App Developer site ""Page does not exist" error with cookies policy link" [High,Triaged]13:19
gcollurapopey, I know I must study for my exams, but this idea came in my mind and I had to write it down, could you please check it out if you have some spare time? https://code.launchpad.net/~gcollura/ubuntu-calculator-app/reboot-delay-db-transactions/+merge/246565 :) thank you very much!13:28
popeyof course!13:28
popeyGet back to your studies! :D13:29
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
dholbachballoons, what happened to https://code.launchpad.net/~flscogna/ubuntu-weather-app/reorganization-and-native-launcher/+merge/241  351?14:03
dholbacherr, sorry14:03
dholbachhttps://code.launchpad.net/~flscogna/ubuntu-weather-app/reorganization-and-native-launcher/+merge/24135114:03
=== seb128_ is now known as seb128
davmor2nik90_: the recurring alarm bug, the alarms are displayed correctly elsewhere it is only the clock app, so is it just a this alarm has gone off flag at fault rather than the data for the alarm in EDS?14:13
nik90_davmor2: I am not too sure if the fault lies in the EDS data...since indicator-datetime shows the recurring alarm correctly14:14
nik90_however clock app also reads and displays EDS data14:14
nik90_^^ they contradict one other so it is confusing :P14:14
nik90_but i am pretty sure it is related to https://bugs.launchpad.net/ubuntu-clock-app/+bug/136234114:14
ubot5Launchpad bug 1362341 in Indicator Date and Time "OneTime alarms are not automatically dismissed or delete after they are triggered" [High,In progress]14:14
nik90_somehow fixing that bug has resulted in a new issue14:15
davmor2nik90_: nice14:15
nik90_I have pinged charles. Will talk to him and see if we can find the issue14:15
=== rmescandon is now known as rmescandon|lunch
dholbachmhall119, dpm: when I'm playing around with a local copy of the developer site- what's the default user/password for /admin?14:22
dholbachmhall119, dpm: if I log in using openid, I get redirected to a page where I have to log in using django auth14:23
dpmdholbach, I think it's admin/password14:34
mhall119dholbach: after you syncdb and migrate, run initdb14:34
mhall119there is no default username/password, but initdb will setup the groups needed for django_openid_auth to give you access14:34
mhall119you don't go directly to /admin/ either, use the django-cms toolbar14:35
nik90_zsombi: ping14:36
zsombinik90_: pong14:36
zsombinik90_: I know what you want14:36
nik90_zsombi: I doubt it :P14:36
nik90_I need your thoughts on something14:37
dholbachmhall119, I used the instructions in the README.md file14:37
zsombinik90_: ah, ok :) I thought Alarms again :D14:37
nik90_zsombi: charles has fixed https://bugs.launchpad.net/ubuntu-clock-app/+bug/1362341 on his side.14:37
dholbachbut whatever I click in the toolbar, I get taken to the login page14:37
ubot5Launchpad bug 1362341 in Indicator Date and Time "OneTime alarms are not automatically dismissed or delete after they are triggered" [High,In progress]14:37
nik90_zsombi: well it is alarms ofc...14:37
nik90_zsombi: however the UI needs to be refreshed on the clock app side of things...we discussed this earlier and we came to the conclusion that when clock app loses focus the alarm model can be reloaded to perform a ui refresh14:38
mhall119dholbach: and you checked the team boxes during the SSO login process?14:39
dholbachmhall119, yes14:39
mhall119hmmm...., not sure then what's going on14:39
mhall119try logging out and back in?14:39
zsombinik90_: yes...14:39
dholbachmhall119, yes, tried that as well14:39
dholbachit was a fresh checkout14:39
mhall119and you have cookies enabled, yes?14:39
dholbachbut I can try again and see if leaving out the dbbackup step will help14:39
nik90_zsombi: however I am facing the issue that the alarm switches of all the alarms reinitiate their position when the user opens the indicator or returns to the clcok app14:39
dholbachI never disabled them14:40
zsombinik90_: uhm... I don't get it14:40
nik90_zsombi: since this is rtm we are talking about where your new alarm backend hasnt landed14:40
mhall119ah, yeah, the sample data section may not be accurate anymore...14:40
zsombinik90_: so, is this caused by teh refresh() <14:41
zsombi?14:41
zsombinik90_: or by teh fact that the alarm is dismissed by the indicator?14:41
nik90_zsombi: well the refresh() function is not available on ubuntu-rtm..so I am manually setting the listview model to null and then back to alarm data14:41
nik90_^^ when the clock app loses/gains focus14:42
zsombinik90_: it does not help, teh model won't be reloaded14:42
zsombinik90_: you'd need the refresh() to be there explicitly14:42
zsombinik90_: setting the ListView's model to null and back does not call the model refreshing14:43
nik90_zsombi: EDS has already been updated by indicator-datetime and the model picks that up correctly though14:43
zsombinik90_: you'd need to delete teh model and reinstantiate it14:43
nik90_zsombi: ok I will try that14:43
nik90_atm the model is loaded using a QML Loader14:43
zsombiouh... so it means that the data is updated14:43
zsombinik90_: ah, ok, then it works as you desired14:44
nik90_yeah the data is updated..just the UI is lagging behind14:44
zsombinik90_: and the ListView will refresh, and flicker14:44
nik90_yup exactly14:44
zsombinik90_: well, s*t happens, as Forest Gump said :)14:44
=== chihchun_afk is now known as chihchun
nik90_can I fix this in a smarter way to avoid the flicker issue :P14:44
nik90_let me try the model reload to see if that helps14:45
dholbachmhall119, with a fresh checkout, without dbbackup, I get: http://paste.ubuntu.com/9756120/14:45
zsombinik90_: nott really.... or with a huuuuge workaround: you copy AlarmModel data into a separate ListModel, and sync that...14:45
=== chihchun is now known as chihchun_afk
zsombinik90_: so then the current AlarmModel will be just a data bearer14:45
zsombinik90_: and you can no longer use Alarm as model element anymore14:46
nik90_that's too much of a workaround14:46
zsombinik90_: yep14:46
zsombinik90_: or we take the Alarm fixes from Vivid to RTM14:47
nik90_zsombi: you mean your new alarm backend?14:47
zsombinik90_: then you shoudl have all the fancy things there... though seemed to have probs in Vivid...14:47
nik90_zsombi: no, there are lot of alarm issues in vivid14:47
zsombinik90_: yes, and had no time to check it yet14:47
nik90_I still can edit an alarm time in vivid14:47
nik90_zsombi: exactly..lets open that can of worms later when we have time for it14:48
nik90_s/can edit/cannot edit14:48
zsombinik90_: we coudl tryu to expose the refresh() slot in RTM... but that will cause flickering as well, as calls clear(), which will invalidate the whole content, and your ListView will empty first, then refill14:49
dholbachmhall119, also: do you know how we can fix https://bugs.launchpad.net/developer-ubuntu-com/+bug/1409391?14:49
ubot5Launchpad bug 1409391 in Ubuntu App Developer site ""Page does not exist" error with cookies policy link" [High,Triaged]14:49
zsombinik90_: so you'd be at the same situation as you are now14:50
nik90_zsombi: well I can achieve the same with just 5 lines of code. So I rather use that than waste your time with backporting the refresh() function14:50
zsombi:)14:51
zsombinik90_: have you had time to check teh new ListItem?14:51
nik90_zsombi: no I haven't yet..although I have kept track of the commits to the sdk staging14:52
nik90_I will see if I can check them out tomorrow14:52
zsombinik90_: if you branch staging now, and build it, you'd see a gallery item, you can try to check it, and see the API (make docs)14:52
zsombinik90_: I think the gallery change is even released now to Vivid14:52
nik90_zsombi: I broke my vivid lxc container and have been meaning to recreate a new one..hence the delay in checking them out14:53
zsombinik90_: we have #76, 77, 78, 80, 82, 83 to come, and at the end (83) ListItem reordering (dragMode) is also gonna be available14:53
nik90_hmm I am suprised that developer.ubuntu.com is not pointing yet to the new 15.04 qml api docs14:54
zsombinik90_: I'll try to create a video with teh features, hope to have some time in the near future14:55
dholbachmhall119, ok, the 'trans' bug I fixed in an MP14:55
dholbachstill I can't log in - let me see if I can find it14:55
zsombinik90_: most probably because due to RTM, we are still having 1.1 open14:55
nik90_ah ok14:55
zsombiok, eod now14:56
nik90_bye14:56
zsombinik90_: take care!14:56
nik90_you too..talk to you later14:56
mhall119dholbach: I'll look into the bug, but I have a fix for the blog and sub-nav ready so if it'll take all day ot fix it I'mgoing to package up this release firs14:58
dholbachmhall119, https://code.launchpad.net/~dholbach/developer-ubuntu-com/missing-load-i18n-in-template/+merge/246583 is the fix I mentioned - it's tiny and it can wait if necessary14:59
dholbachit's just that I'm seeing a login failure for some reason15:00
dholbachit's bizarre15:00
dholbachaha!15:01
dholbachI just tried in firefox15:01
dholbachwhere I got a message saying that some parts are going via http as opposed to https15:01
dholbachit could be that a plugin I'm using in chromium blocked this15:01
dholbachand that's how I ended up not being logged in15:02
dholbachmhall119, ^15:02
dholbachso ignore me for nwo15:02
mhall119can do :)15:04
dholbachthought so ;-)15:04
mhall119dholbach: didn't realize you had an MP already, merged it into trunk15:05
dholbachwoohoo!15:06
_gpg_hi15:09
_gpg_hi15:10
_gpg_i was reading i18n.tr and i'd like to know if it was designed with dynamyc language change in mind, any idea please ?15:10
_gpg_many API's include "at the time when the QML application is started" sentence giving the feeling that if you need to change the language you have to restart your application15:12
mhall119dpm: ^^ do you know how that works?15:13
dpm_gpg_, dynamic language change is currently not possible. Generally, if you change the language on system settings, you'll need to restart the phone for the new language to be used15:14
dpmwe did look into that,15:14
dpmbut it turned out to be quite complex15:15
dpmI can't find the bug right now15:15
_gpg_dpm: think about Ubuntu in Pone/TV/Car/Airplanes :)15:15
dpm_gpg_, you don't need to convince me, I do want it to happen too :)15:16
dpmhowever, for the first phone release it's something that won't be included15:16
_gpg_i see, thanks15:16
mhall119_gpg_: how often do you change languages on those?15:22
dpmI'm not sure about the others, but I'm guessing it's most common on airplanes15:23
mhall119dpm: dholbach: any other code fixed to lp:developer-ubuntu-com before I request a deployment?15:24
=== rmescandon|lunch is now known as rmescandon
dholbachmhall119, no, not for now15:24
mhall119oh, favicon, let me see if I can fix that15:25
dholbachmhall119, are you looking at the "broken link to legal page" bug too?15:43
mhall119no15:44
dholbachmhall119, ok... I just saw the bug and had no idea how to fix it15:48
mhall119dholbach: what bug #?15:49
dholbachmhall119, https://bugs.launchpad.net/developer-ubuntu-com/+bug/140939115:50
ubot5Launchpad bug 1409391 in Ubuntu App Developer site ""Page does not exist" error with cookies policy link" [High,Triaged]15:50
dholbachballoons, you pinged me about the weather app at some stage - it looks like the MP is still up: https://code.launchpad.net/~flscogna/ubuntu-weather-app/reorganization-and-native-launcher/+merge/24135115:50
dholbachballoons, I'm not sure what to do about it, but didn't want to leave it sitting there15:50
balloonsdholbach, ack, let's look15:50
mhall119dholbach: ah, if it's in developer.u.c/assets/ then it's something for the web-team to fix15:52
dholbachmhall119, ah... ok15:52
mhall119not sure what project that would be, ask tayna maybe?15:52
balloonsdholbach, I rebuilt it to see the errors. I assume your packaging fixes should have worked15:52
mhall119/assets/ requests are redirected to assets.ubuntu.com/15:52
dholbachmhall119, will ping them15:53
dholbachballoons, I looked at it weeks ago - just saw an old mail in my inbox and thought I'd check15:53
mhall119dpm: can you get be chinese translations for the string "Blog" to use in the menu?16:04
mhall119also, did you guys see https://medium.com/@brunn/how-to-get-honest-user-feedback-646a28fb78ff ?16:04
mhall119bzoltan: is there an API for an application to get a device-unique ID?16:05
mhall119beuno: ^^ don't you have to do this for the store scope?16:05
beunopush does it16:06
mhall119right, Tommy mentions that, but it requires the user has setup their U1 account16:06
beunomaybe, probably16:07
bzoltanmhall119:  try like this - http://bazaar.launchpad.net/~bzoltan/+junk/SystemInfo/view/head:/ui/DeviceTab.qml16:08
bzoltanmhall119: I used to play with it some time ago16:09
mhall119bzoltan: DeviceInfo is from QtSystemInfo?16:10
bzoltanmhall119: yes16:49
mhall119bzoltan is that not an officially supported API? It's not on the developer portal16:50
bzoltanmhall119:  it is certainly available on the device17:02
bzoltanmhall119:  as the system settings is importing it17:02
bzoltanmhall119:  but it is not present in the SDK seeds ... what is a bug indeed. Thanks for discovering it. I will fix it.17:05
Purebe|WorkHello!  Anyone have any idea how to launch a full screen program from a script, while another full screen program is running, without causing ubuntu to flash the desktop?17:18
mhall119dholbach: blog fixes are on http://91.189.93.108:8080/zh-cn/community/blog/17:46
mhall119going to file an RT for staging/production deployment now17:47
dholbachmhall119, which blog fixes?17:47
mhall119dholbach: allowing us to separate english and chinese entries17:48
dholbachahhh great17:48
dholbachyou're a hero17:48
dholbachliuxg will be please to hear :)17:48
=== aaron__ is now known as ahoneybun
mhall119rpadovani: am I doing something wrong, or is there no way to close the sqrt( on the calculator reboot?19:52
mhall119oh, swipe the keyboard sideways, I see now19:53
rpadovanimhall119, anyway, interesting feedback :-)20:05
mhall119rpadovani: my big complaint right now is how much you have to flip the keyboard back and forth to do something like cos(45)<equals>20:07
mhall119-> cos( <- 45 -> ) <- =20:07
mhall119I have no idea how to make that better though20:07
rpadovanimhall119, try to rotate the device ;-)20:08
mhall119I saw that, yeah, that's quite nice (and also ruled out by initial suggesting of putting [=] on both sides20:08
rpadovanimhall119, btw, thanks for spamming my blog around :D20:11
mhall119always happy to spam stuff like that around :)20:19
ahoneybunahayzen__, I showed off your game to someone yesterday, he liked it!20:21
ahayzen__ahoneybun, awesome thanks :)20:22
ahoneybunahayzen__, to show off some awesome Bacon2D20:22
ahoneybunahayzen__, but of course :)20:22
ahayzen__ahoneybun, bacon2d is awesome :)20:22
ahoneybunyep for sure20:22
Purebe|WorkHey, so, if you're running a script that's basically nohup x &; pkill y; nohup y &; sleep 5s; pkill x20:37
Purebe|Workonce a minute roughly20:37
Purebe|Workand that script is called Z, and program y runs "sh Z" every ~minute to call that script20:37
Purebe|Workis that some kind of a race condition?20:37
Purebe|Workbecause, I don't see why it wouldn't work (probably because I'm misunderstanding something fundamental about linux and it's shell)20:38
Purebe|Workand it works fine for a few minutes, but eventually the sync gets messed up and x or y gets run or killed before it's supposed to and things go to hell20:38
ahoneybuncan scopes login to a account?20:52
mhall119ahoneybun: yes!20:54
ahoneybunmhall119, cool I'm looking at making a Steam scope20:54
ahoneybunlike you could look though their database and see if a said game had linux support20:55
rpadovaniahoneybun, yes it can https://github.com/rschroll/gmail-scope20:55
ahoneybunthanks rpadovani I was also looking at this https://github.com/Micahnator/Panpipe/blob/master/panpipe.qml too20:56
mhall119ahoneybun: https://www.youtube.com/watch?v=s_Y_ORqjD9g&list=PL-qBHd6_LXWYSvPX1uyD5ADBMhl41zbcw&index=520:56
ahoneybunrpadovani, maybe you could provide some help since I know nothing of using scopes20:56
rpadovaniahoneybun, well, I never used account in a scope, but if you have a question feel free to ask :-)20:57
ahoneybunrpadovani, for now I just want to make it read the steam game database then worry about login and such :)20:57
ahoneybunI have never used APIs or anything lol20:58
ahoneybunwell the ubuntu touch apis lol20:58
rpadovaniahoneybun, I used this guide: https://developer.ubuntu.com/en/scopes/tutorials/write-a-json-scope-in-cpp/20:59
ahoneybunrpadovani, lol I just started downloading the branch for that lol21:00
ahoneybunrpadovani, does this look like the right place for what I want in a scope? https://developer.valvesoftware.com/wiki/Steam_Web_API21:04
nik90_hey guys, my mind kind of blanked out :P... what's the command to ssh into the device?21:05
nik90_obviously adb shell will work..but there was a ssh command as well21:05
DanChapmanphablet-shell21:07
DanChapmannik90_: ^^21:07
nik90_DanChapman: thnx a lot. Cant believe that slipped my mind21:07
DanChapman:-D21:07
ahoneybunSteam wants me to enter a domain name to get the api key21:13
* ahoneybun thinks twitter api would be easier to use21:15
ahoneybunrpadovani, I;m thinking of making a twitter scope now lol steam does not have apis to use in this case I think21:20
ahoneybunI don't even know what to look for in the api21:28
=== salem_ is now known as _salem
ahoneybunI'm getting so many errors22:08
ahoneybunI'll be back got class22:08
Purebe|WorkAnyone know a method of forcing the shell to block until a process had finished loading?22:09
Purebe|Workhas finished*22:09
gcollurabeuno, I saw your latest email in the mailing list. how this change will affect existing apps with their configurations saved to .local/share/com.ubuntu.developer.blabla../ ? all user configurations will be lost if the app domain changes, right?22:22

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