/srv/irclogs.ubuntu.com/2015/06/19/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== _salem is now known as salem_
avi_shi. my app depend on lib that look for his mo files in /usr/share/locale how can i put the mo file in their place with click package?05:51
dholbachgood morning06:42
droppGood morning!07:00
=== chriadam is now known as chriadam|away
dropptype=1400 audit(1434697034.532:184): apparmor="DENIED" operation="open" profile="myap.bb_MyApp_0.1" name="/home/phablet/.local/share/" pid=9611 comm="qtc_device_debu" requested_mask="r" denied_mask="r" fsuid=32011 ouid=3201107:01
droppAnyone has an idea how to either remove this requirement from my app or to get permission to use it (i.e., which policy do I have to include)?07:01
dholbachzbenjamin, ^ is this something to do with debugging?07:02
zbenjamindropp: thats probably not the real problem, do you have the full output?07:04
zbenjamindropp: that error message comes from the debug helper script, it is testing wether it is running confined or not07:04
zbenjamindropp: normally it should not be visible07:05
zbenjamindropp: did you get that from QtC output or directly from syslog?07:08
droppzbenjamin: directly from syslog, the debug output says something else, one sec07:14
droppzbenjamin: hm, ok, no. i saw this message sometimes: shm_open() failed: Permission denied07:14
droppbut that doesn't have anything to do with it07:15
zbenjamindropp: as i said the apparmor message you posted is a result of running from QtC. Our helper scripts need to know if they run confined or not. If you sue the Publish page to install your app on the device that error should be gone07:16
zbenjamins/sue/use07:16
droppokay thanks! I have another issue and I'm kind of desperate since I can't solve it...07:16
droppSo sorry... :)07:16
seb128hum07:20
seb128after updating my bq/rc-proposed the clock application vanished from the dash07:21
seb128popey, is that expected?07:21
popeyseb128: uh. lemme try too07:22
seb128I got r4107:22
seb128as an update07:22
seb128not that I also had the clock app in the updates list but I didn't install that one07:22
seb128decided to go for the image update first07:23
popeythere is a problem with the clock click, which I emailed the landing guys about last night, i have a new one to upload07:23
popey→ #ubuntu-ci-eng07:23
seb128right, sorry for the wrong channel07:23
popeyno, its fine :)07:23
droppIs there any known problem when using QAudioRecorder? It's so weird since when starting to .record() the internal status does not change from StartingStatus(4) to RecordingStatus(5) and therefore freezes the app. On the desktop it freezes 1 out of 10 times, on the devices it's now more like 9 out of 10 times.07:26
droppI'm sorry, I asked this question a couple of times already. I don't know when is the best time (of day) to ask here...07:27
didrockszsombi: hey! I was wondering if you had any sample for the new style system for simple case (like I just want to edit one component and not the whole app theme as in your blog post)? I see a lot of applications are using TextFieldStyle {}, a sample would be nice I guess07:32
=== salem_ is now known as _salem
zbenjamindidrocks: zsombi is on vacation07:56
zbenjamindidrocks: maybe t1mp or kalikiana can help07:56
didrockszbenjamin: oh, thanks for the info!07:58
didrockst1mp, kalikiana : any idea on my theming question sample? ^07:58
didrockst1mp: kalikiana: for instance, I see that http://paste.ubuntu.com/11739136/ is used quite often in core apps, what would be the 1.2 styling equalivent?08:00
didrocksequivalent*08:01
=== JMulholland_ is now known as JMulholland
nik90meles: hey, your clock app patch has been released :)09:52
t1mpdidrocks: the new theming is well-documented, but I don't see the new docs in the packages or on the website :s10:05
t1mpdidrocks: if you branch lp:ubuntu-ui-toolkit/staging and qmake && make docs,  there is for example ubuntu-theming-subtheming.html10:05
t1mpdidrocks: or from overview-ubuntu-sdk.html, click the "Styling" link under General Topics at the top10:06
t1mpthat would be the 1.3 styling equivalent10:06
didrockst1mp: ah, it's only in 1.3, wasn't that in 1.2 as well?10:07
t1mplet me double-check that in the MRs10:08
nik90didrocks, t1mp: the 1.2 docs are also missing the Palette values btw..they were there in 1.1 docs.10:08
didrockst1mp: I only see in overview-ubuntu-sdk.html styling of apps theme, not just one component10:09
didrocksnik90: indeed10:09
nik90didrocks: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/143312110:09
ubot5Launchpad bug 1433121 in ubuntu-ui-toolkit (Ubuntu) "SDK docs missing palette values" [Undecided,Confirmed]10:09
nik90didrocks: turns out it is a sdk documentation bug10:09
t1mpdidrocks: if you click on Styling, you get a table of contents at the top with "Introduction,  Styles, Themes,  Sub-theming"10:10
t1mpat least I get that in the docs created from staging10:10
melesnik90: great! But since I use the new version of the app, my alarms just show up but they don't ring or vibrate10:11
nik90meles: I cannot reproduce it here..have you tried deleting and recreating the alarms?10:11
nik90meles: it seems alarms created before OTA-4 stop working after the upgrade.10:11
didrockst1mp: ah right, that leads to documentation/offline/ubuntu-theming-styles.html10:11
didrockst1mp: which seems exactly what I needed, thanks!10:11
melesnik90: yes i did. I also reinstalled the app from the Software Center10:12
nik90meles: then no idea..which device and channel are you using?10:12
t1mpdidrocks: the page with the subtheming is ubuntu-theming-subtheming.html, but it is best to read the other theming pages as well10:13
t1mpdidrocks: the new theming API is only exposed in 1.3, not in 1.210:13
melesnik90: BQ Aquarius E4.5 stable. So no other reports about this problem yet?10:15
didrockst1mp: ah ok, bad memory, I'm blaming the wine of course! :)10:17
nik90meles: doesn't seem to be..will you be online in about 5-6 hours? We will have another developer from indicator-datetime to help us debug then.10:17
didrockst1mp: thanks for the reference!10:17
nik90DanChapman: oh man v0.5.4 flies..loving the performance tweaks!10:18
melesnik90: no i can't make it.10:18
nik90meles: in that case can you create a bug report pls.and upload the following files?10:19
DanChapmannik90: :-) yeah it's alot better now. Still some more tweaks to do before i'll be completely happy with it10:20
nik90meles: upload the files found in .local/share/evolution/tasks folder pls. That will help us debug10:20
nik90DanChapman: the new theme and icon also looks cool.10:21
melesnik90: alright. I will make the bugreport in about 1 h10:21
nik90meles: cool10:21
DanChapmannik90: thanks for the bug :-) out of curiosity have you disabled the body previews because you prefer it without or was it for performance improvements in previous version10:49
nik90DanChapman: for performance improvements in previous version..I'll re-enable and check it again now10:50
nik90DanChapman: also it keeps the UI clean and simple imo.10:50
DanChapmannik90: ah ok well that shouldn't really be an issue now. It's the first screenshot i've seen with it disabled so I had to ask :-) thanks10:53
=== dholbach_ is now known as dholbach
popeyballoons: do you know how to re-trigger https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/ReadOnlyCal/+merge/261075 ?11:42
popeythe links 40411:42
balloonspopey, yea11:45
balloonscrazy it fell off the build already11:45
balloonspopey, http://91.189.93.70:8080/job/ubuntu-calendar-app-ci/1198/11:47
popeythanks11:47
mihirpopey: if you get time small MP  https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/fix-1464556/+merge/26224811:50
mihirto review11:50
popeyhah, i literally _just_ did it :)11:50
popey"Approved by:Alan Pope  a moment ago"11:50
mihirwow that was fast :D11:51
popey:)11:51
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|
=== MacSlow| is now known as MacSlow|lunch
popeyballoons: https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/ReadOnlyCal/+merge/261075 this looks horribly broken12:44
popeyhttp://91.189.93.70:8080/job/generic-mediumtests-utopic/2960/?12:44
popeyhttp://91.189.93.70:8080/job/generic-mediumtests-utopic/2960/consoleFull12:44
popeywonder if it's the merge that broke it, hiding calendars...12:45
balloonshorribly broken eh?12:50
popeywell, lots of tests failing12:53
popeyas opposed to just one going a but funny :)12:53
=== ara is now known as Guest87687
=== MacSlow|lunch is now known as MacSlow
kalikianamy kingdom for javascript typechecking...13:13
kalikianajust wasted a whole half hour because I didn't realize the keyboard constants are spelt differently13:13
kalikianat1mp: review https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/shortcuts/+merge/262413 should be mainly straightforward. the new property is what's specified in the menu doc, and I kept UCAction rather than using QAction as the latter isn't C++-friendly and I ran into compatibility issues13:29
t1mpkalikiana: ok, added to my list ;)13:38
ogra_kalikiana, mount -o remount,rw / doesnt know (or need to know) anything about the partitioning ;)13:57
kalikianaogra_: no. but *I* need to :-D13:58
ogra_why ?13:58
ogra_you want to install a deb for testing ... the above anbles you to ... and you can remount it ro right after installing the deb13:58
kalikianawell, knowing that I need to make / writable as opposed to say /usr13:58
ogra_*enables13:58
ogra_while touching writable_image is a) a permanent thing b) does a reboot after which your system is already tainted by files written to places that nromally would never be written to c) if additiojnally you used apt it is messed up already anyway and totally not comparable to the enduser system anymore14:00
ogra_and d) my typing sucks massively :P14:00
popeybrobostigon: lots of places, depends which bit - most are linked from https://wiki.ubuntu.com/Avengers14:00
popeybrendand: ask if you need help identifying which component to file a bug in14:01
kalikianaogra_: so that answers my question: it's a stupid historic mistake that this was ever even added and spread as the standard way of doing things14:01
kalikianagiven that it IS begin used for silo testing14:01
popeyoops, wrong channel14:01
ogra_kalikiana, it is helpful for working on the plumbing ... but thats about it14:01
ogra_and yeah, its a historical thing14:02
kalikianaso... who do I talk to to get rid of it? your wording makes me think it's irresponsible to even have it14:02
ogra_kalikiana, but being used for silo testing on freshly flashed devices is ok14:02
kalikianawhy is that okay?14:03
ogra_the risk here is that you just keep it that way ... or even worse ... apply an OTA on top of it somehow14:03
kalikianaright. which almost definitely will happen if you get development updates14:04
ogra_the citrain tool will only pull and install the changed packages and make sure the system level changes are as small as possible ... as lon as you do it on a freshly flashed device this is fine14:04
ogra_as soon as writable changes accumulated it isnnt anymore14:04
ogra_well, "fine" for some value of fine ...14:05
ogra_the only really clean way to test silos would be to have one image build per silo and actually flash a readonly image with the change14:05
ogra_(which is what i'm proposing since we started with the phones ... prob is that this needs enormous amounts of resources)14:06
ogra_(and time indeed)14:06
kalikianaogra_: and you still need autopilot packages on there14:07
kalikianaas long as that can't be solved with a snap/click14:07
ogra_yeah, thats on the TODO to be fixed since 2 years :P14:07
ogra_(dropping autopilot into home without making the image writable and some such)14:07
ogra_snapy can solve parts of that14:08
ogra_and luckily snappy doesnt hhave dpkg or apt at all ... so the reason for making an image writable is gone :)14:08
popeys/the/one/14:09
ogra_popey, what are the others ?14:09
ogra_specifically on snappy14:09
popeyI don't know yet, but I think it's misleading to assume people only go rw for apt14:09
ogra_(where you would anyway install a snap instead of making anything writable)14:09
popeythat assumes the snap exists14:09
ogra_if it doesnt you can use snapcraft to create it with a few commands14:10
ogra_surely easier than having to re-flash after you made your system writagble and cant boot anymore :)14:10
popeyagain, assumption14:11
popeyI don't think this constant "everthing that isn't snappy is crappy" attitude is healthy14:11
ogra_i dont say that14:12
popeyit's inferred14:13
ogra_hacking your device and asking for support or blaming us for the breakage is crappy though ... has nothing to do with snappy14:13
ogra_snpppy is simply a solution to many of these issues ... i'm not saying our current setup is crappy ... as long as you use it the right way14:14
popeyThat's not how it comes over to me.14:14
ogra_sorry then, i'll try to work on my wording14:14
popeyWe have thousands of devices running pre-snappy software out there. They need support.14:14
popeyPaying customers even.14:14
popeyThe "snappy fixes that" answer doesn't help them at all.14:15
ogra_well, they will get snappy installs at some point ...14:15
renatucharles, hi I just noticed that after I change the device timezone the indicator does not get updated14:16
charlesrenatu, in meeting, will pong in a bit14:18
charlesrenatu, what device/image are you using?14:30
renatucharles, mako Ubuntu 15.10 :D14:30
renatur22514:31
charlesrenatu, k. will test here14:31
t1mprenatu: hello14:34
t1mprenatu: I'm trying to build and run messaging-app on my laptop, but I get this http://pastebin.ubuntu.com/11740498/ any ideas?14:35
renatut1mp, hi14:35
renatut1mp, you need address-book-service running14:35
t1mprenatu: how do I get that?14:35
renatut1mp, and you need "qtdeclarative5-qtcontacts-plugin' installed14:36
renatut1mp, install 'address-book-service' package14:36
t1mpI have both14:37
renatut1mp, looks like you have a old version of qtdeclarative5-qtcontacts-plugin14:44
t1mpI have   Installed: 5.0~git20140515~29475884-0ubuntu914:45
t1mprenatu: ok, thanks. I'll try to get a newer version later.14:45
balloonspopey, re: calendar tests, I ran trunk and had 9 failures. The failures in the MP are interesting; the first fails because the new event page is missing the calendar selector.. A real issue :-)14:46
t1mprenatu: is the latest version in vivid?14:47
popeyheh14:48
t1mprenatu: I realized I'm on utopic. That may be the problem. Upgrading now.14:49
t1mprenatu: or do I need wiley?14:49
renatut1mp, should works with vivid14:49
balloonsnik90, I too get some failures for https://code.launchpad.net/~nik90/ubuntu-clock-app/migrate-to-15.04-framework/+merge/260336 on my desktop14:53
nik90balloons: AP or QML ones?14:54
nik90balloons: I need to quickly run out to do some grocery shopping..when I get back I will take a closer look at it. Meanwhile can you attach your failure logs that I can use to debug further.14:56
* nik90 brb in 45 mins14:56
balloonsnik90, qml ones, as you wanted me to have a look15:00
balloonsnik90, just confirming that my results seem to match jenkinsis all15:03
=== salem_ is now known as _salem
=== _salem is now known as salem_
mzanettirpadovani, http://notyetthere.org/data/video20150619_113725894.mp416:41
rpadovanimzanetti, /o\ wow dude, that's awesome!16:44
rpadovanipopey, ^^16:44
popeyYa!16:44
dpmnice one mzanetti!16:50
ogra_geez 6AM ?!?16:52
dpmmzanetti, something else: on your e-mail to the user who was trying to run Notes on a Unity 7 desktop: "and then you can set up the account in the normal unity7 system settings" <- does that work? Last time I tried it (on utopic, though) I had to install the phone's system-settings app for the account to be configured, as unity7's system settings wouldn't add it16:55
mihirpopey: ping16:59
mzanettidpm, for me the phone one doesn't work, only unity7s settings thing17:01
mzanettiogra_, not sure... maybe there's UTC issue still17:01
dpmok, probably things have changed in vivid17:01
mzanettidpm, no, for me it was always like that17:02
mzanettidpm, it fails to show the username, but still works17:02
ogra_mzanetti, yeah, just dont forget tomorrow is saturday, you may sleep in :)17:03
dpmmzanetti, weird. At some point I had to install system-settings and a bunch of other deps to make it work. Good to know it works seamlessly on a desktop (even without username)17:03
mzanetti:)17:04
=== dpm is now known as dpm-afk
nik90Does anyone know more about OAuth2? I am trying to register my app to Trakt, and they are requesting for a redirect_url. I am sure what to enter there.18:12
ogra_nik90, i bet dobey18:12
dobeyhuh?18:12
ogra_you dont ?18:13
dobeyoh18:13
nik90dobey: I have some basic questions about OAuth2.18:13
dobeynik90: https://www.ubuntu.com/, if you're asking in reference to redirect_url to use with an online-accounts plug-in18:13
dobeynik90: basically, see what the google/twitter/etc plug-ins are doing and roughly copy it, adjusting for whatever service you're using needs18:14
nik90dobey: No this is for a 3rd party service called Trakt (trakt.tv). Their API v2 dictates users login using OAuth2. So while trying to register my app with them, I am asking to enter a redirect_url.18:14
nik90dobey: Do I need to use a online-accounts plug-in?18:15
dobeynik90: you're writing an ubuntu app no? i think you should probably be providing a plug-in for online-accounts for the login to the service, yes18:16
dobeylike untappd, meetup, fitbit, etc scopes do18:16
nik90ok18:17
mhall119balloons: that autopilot plugin for the SDK is fantastic19:24
balloonsmhall119, isn't it just? :-)19:39
balloonsit just needs to land!19:39
=== salem_ is now known as _salem
davidcallealex-abreu, I want to buy you and marcus a TON of beer. That is all.22:44

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