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

=== salem_ is now known as _salem
=== chriadam|away is now known as chriadam
avi__how to run strace on click package? run it on qmlscene dosnt work. i got this "connection to Mir server failed "06:29
dholbachgood morning06:51
seb128hey dholbach07:22
dholbachhey seb12807:26
mardyseb128: glad to see that I'm not the only one being confused by the latest blog posts about GU07:58
seb128mardy, :-)08:00
=== chriadam is now known as chriadam|away
=== chihchun_afk is now known as chihchun
dpmpopey, do you have a fat package with amd64 for dekko?09:21
DanChapman dpm do you want a fat or just an amd64 click?09:22
dpmhey DanChapman!09:22
dpmDanChapman, actually I'm just after an amd64 click09:23
dpmeither would do09:23
DanChapmandpm morning. here is an amd64 click http://dekko-ci.cloudapp.net:8080/job/dev-trunk-build/releasetype=Release,target=amd64/lastSuccessfulBuild/artifact/dekko.dekkoproject_0.5.4_amd64.click09:24
dpmawesome09:24
karnizbenjamin: t1mp: not sure who would own that one - https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/146641009:48
ubot5Launchpad bug 1466410 in ubuntu-ui-toolkit (Ubuntu) "Tabs/Pages don't work correctly when Repeater used" [Undecided,New]09:48
karniI followed instructions on d.u.c, still didn't get the expected result when a Repeater is used to generate tabs.09:49
=== chihchun is now known as chihchun_afk
karnipage head sections don't scroll, they just overflow when don't fit screen width09:55
nik90karni: regarding the page head sections, thats why the SDK recommends a max of 3 head sections.10:00
nik90karni: in the new design, they will start scrolling..but that will most likely be only in ubuntu.components 1.3 (wily)10:01
karninik90: yes, I know they recommend. it should be _requirement_ if it's not more flexible ;)10:01
karninik90: I see :)10:01
nik90:)10:01
karniIs there any way I could overlay the MainView / PageStack header with a slide-in pane (full height, from the left)?10:07
karniIt seems that page sections is always on top, and so is header title10:07
dubstar_04Is there a document with all the ui elements on? I know what i want to use i just don't know the name of the component.10:11
karnidubstar_04: this can be helpful https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components/10:12
dubstar_04karni Thanks. I was hoping there was something visual.10:13
t1mpdubstar_04: there is the ubuntu-ui-toolkit-gallery, included in the ubuntu-ui-toolkit-examples package10:14
dubstar_04like this: https://developer.ubuntu.com/static/devportal_uploaded/83fb1edc-d5f3-47da-b486-a4e4e29c1cbd-59473339-35bc-48da-874f-0b8ff797194e-media/2015/04/15/sdk2-blog.jpg10:15
t1mpdubstar_04: sudo apt-get install ubuntu-ui-toolkit-examples && cd /usr/lib/ubuntu-ui-toolkit/examples/ubuntu-ui-toolkit-gallery && qmlscene ubuntu-ui-toolkit-gallery.qml10:16
DanChapmandubstar_04: yes either search "Ubuntu UI Toolkit" in the dash or go "Tools -> Ubuntu -> Showcase gallery"  in QtCreator10:16
dubstar_04thank you.10:16
DanChapman:-)10:18
dpmpopey, have you managed to install click packages on the unity 8 session? When I try myself, I get a "cannot get authentication" message, regardless of if I try it from the host or from within the session10:19
dpmDanChapman, in the meantime, as it seems I can't install .clicks on the unity8 session, do you happen to have recent .deb builds of dekko?10:20
dpmIIRC there was a PPA10:20
popeydpm: hmm, let me see, i tried your ppa when you mentioned it, noticed a couple of busted builds10:21
* popey reboots10:21
DanChapmandpm: no sorry there is no debs. The ppa version was set up to build the 0.3 branch, so it's pretty old now.10:21
dpmpopey, yeah, neither file manager nor clock built. I couldn't figure out why, but at least one of them looked to me to be a builder issue.10:22
dpmI'd rather install clicks, but I don't seem to be able to10:23
popeyyeah, me too10:23
popey(would rather, that is)10:23
popeydpm: do you get the swipe tutorial every time you login to unity8?10:23
dpmDanChapman, no worries. Is the development branch imported into LP. I could trigger a daily build on a PPA from that10:24
popeydpm: http://people.canonical.com/~alan/core_apps_daily_clicks/  btw10:24
dpmpopey, yeah, I get the swipe tutorial too, I reported it and listed it as known issues here: https://wiki.ubuntu.com/Unity8inLXC10:24
popeyok10:24
DanChapmankarni, can't you just raise the slide in panels z order to get it to go over the top of the title & sections?10:25
dpmpopey, ah, cool, will grab them from there. But it wasn't clear to me: can you or can you not install clicks on your own unity8 session?10:25
karniDanChapman: tried that. set z: 100, title & sections still on top of it. I tried to put an element outside of MainView (regardless if that was a good idea in context of rotation), but that got a syntax error.10:26
popeydpm: yeah, booting now, not got to that yet10:26
dpmah, no worries10:26
DanChapmandpm, I would need to sort out the install paths first. It's only setup for click installs atm10:26
dpmDanChapman, no worries. If click installs are busted in the unity8 session, then we can also wait until they're fixed. I was just very impatient to test dekko on a big monitor alongside the other core apps ;)10:28
popeydpm: I get "Failed to obtain authentication"10:28
dpmpopey, same here10:28
popeyyou're using pkcon, right?10:28
dpmyeah10:28
popeyah!10:28
popey"alan is not in the sudoers file"10:29
popeythat wont help10:29
popey(I suspect)10:29
dpmbut pkcon is executed without sudo, isn't it?10:29
popeyit is10:29
popeybut suggests to me something else is awry related10:29
mcphaildpm: if it is any consolation, dekko runs very well on a big monitor and standard unity7 :)10:32
dpm:-)10:32
popeylooks like pkcon is failing when doing a makedev10:32
dpmpopey, bug 146643210:38
ubot5bug 1466432 in unity8-lxc (Ubuntu) "Cannot install click packages" [Undecided,New] https://launchpad.net/bugs/146643210:38
DanChapmankarni, http://paste.ubuntu.com/11734774/ is the only way i can get it to overlay the header fully10:44
karniDanChapman: superb, thank you :))10:45
kalikianat1mp: small branch good for a short break https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/3guTextHandler/+merge/260970 another easy one https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/unitTestApiCheck/+merge/26034811:29
kalikianaMirv: qt5.5.0 build fix https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/stateSaverUrlType/+merge/26231911:31
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|lunch
Mirvkalikiana: cool! I'm trying it out right away.11:47
dubstar_04Are there any good tutorials on QML layout? I'm getting mixed up with Columns, Rows and Anchors.12:07
voldymanhow can i make the system a wireless hotspot, can't find an api for it12:09
kalikianabrendand: would you take another look at https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/autoPilotConverge/+merge/26165812:18
kalikianavoldyman: you can't right now12:18
voldymankalikiana: so is there a way?12:22
voldymanjust do something like os.system ?12:23
kalikianavoldyman: no, the only option I'm aware of is usb networking12:23
ogra_someone should add a toogle for that in system-settings ;)12:24
ogra_(usb i mean)12:24
voldymanusb networking?12:24
kalikianaogra_: +112:24
kalikianavoldyman: you know, 90s style cable plugged in :-D12:24
voldyman:/12:24
* voldyman was building an "Internet of Things" applicance12:25
kalikianavoldyman: you could maybe route through ssh, depending on what you need12:25
voldymanall i wanted to do is to just have a button that it switches to hotspot mode and once the user is done with it it connects to a access point12:26
* ogra_ thinks what you might want is ubuntu snappy instead :)12:27
voldymanogra_: that won't make anything easier, or would it?12:27
voldymansnappy would be nice for updates and stuff but the API's would be the same12:28
ogra_it gives you more abilities to manage hardware access etc ... the current phone is really only designed ot be a phone ... it will swithc to a snappy base soon12:28
voldymanoh wait, how does the phone create a wifi hotspot?12:28
ogra_also snap packages are way more flecible (but also more restrcited) than click packlages12:28
voldymankalikiana: IIRC you work on ubuntu phone for your day job?12:28
kalikianavoldyman: yeah. ui toolkit/ sdk/ qml components12:29
voldymankalikiana: do you know any person that might have dealt with something related to what i am dealing with?12:29
=== MacSlow|lunch is now known as MacSlow
voldymanor point me to the ubuntu phone source code(s)12:32
popeysource for which bit?12:32
voldymanthe wifi manager12:33
voldymani just need to see the part where it deals with the wifi12:33
popeyhttps://launchpad.net/indicator-network12:33
* voldyman needs to list the wifi networks available, connect to them and switch between AP mode and client mode12:33
voldymanthanks popey12:34
voldymanbtw nice podcast! :)12:34
kalikianaI'm just checking the bugs.. https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/?field.searchtext=hotspot somehow it suggests the hotspot feature exists, yet I don't have it on my bq12:34
popeyheh, thanks12:34
voldymanpopey: any plans of changing the music ;)12:34
popeyvoldyman: i think some network manager changes are in the works based on designs from mpt12:34
popeyvoldyman: NEVER!12:35
voldyman:)12:35
voldymanhey guys i only see include files no implementation, src folder is empty, http://bazaar.launchpad.net/~indicator-applet-developers/indicator-network/trunk.15.10/files/head:/src/connectivity-api/connectivity-cpp/12:37
Mirvkalikiana: that fix seems good to land, even though there's still another bug that I just filed about install_plugins_qmltypes - but the fact that next bug is there means all unit tests passed (also on armhf) so that's good news12:38
kalikianaMirv: link? I'll check the other one12:39
Mirvkalikiana: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1466484 I'm just trying a build locally so I can see what it hides with that 2> /dev/null12:40
ubot5Launchpad bug 1466484 in ubuntu-ui-toolkit (Ubuntu) "UITK install_plugins_qmltypes fails with Qt 5.5" [High,New]12:40
kalikianaah12:41
kalikianathe hotspot ui is hidden (https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1421583/comments/5)12:41
ubot5Launchpad bug 1421583 in ubuntu-system-settings (Ubuntu) "Allow users to create WiFi AP hotspots" [Undecided,In progress]12:41
kalikianagah, gotta be careful, the nexus is so slippery12:43
kalikianavoldyman: http://bazaar.launchpad.net/~system-settings-touch/ubuntu-system-settings/trunk/files/head:/plugins/cellular/12:45
voldymankalikiana: <312:45
kalikianabrb12:45
popeydholbach: I have tried that offline maps app and it doesn't work (on any device). Do you have contact details for the guys, would be good to let him know.12:48
dholbachpopey, I used his email address from the list - let me PM it to you12:50
popeythanks12:51
Mirvkalikiana: hmm weird, it build locally just fine, but the ALARM_BACKEND=memory /usr/lib/x86_64-linux-gnu/qt5/bin/qmlplugindump -notrelocatable Ubuntu.Components 0.1 ../../ failed on all archs on the PPA builders :( harder to debug at least.12:55
mivoligodubstar_04: IMHO the best way to learn QML is to look into others code ;) Some basic video tutorials here: https://www.youtube.com/watch?v=Y4utTBcSjdM&list=PLB22HyVdO1GkLFrvRi5vIo5XcWS0EflxD12:59
mivoligodubstar_04: here's also good explanation: http://qmlbook.github.io/en/ch04/index.html#positioning-elements13:02
popeyits quite alarming (huh) that clock and reminders fat packages are approximately the same size13:03
dubstar_04brilliant!! Thank you.13:03
Mirvkalikiana: updated bug #1466484 with the error gotten after removing the "2>/dev/null" from qmlplugindump.. but that doesn't happen locally :(13:16
ubot5bug 1466484 in ubuntu-ui-toolkit (Ubuntu) "UITK install_plugins_qmltypes fails with Qt 5.5" [High,New] https://launchpad.net/bugs/146648413:16
karniDanChapman: hey buddy. I had time now to check your snippet http://paste.ubuntu.com/11734774/ - however, I'm not seeing the panel at all. am I missing something? I took your QML as is and ran that on the phone.13:45
DanChapmankarni :-) you can drag it in from the left of the screen13:47
DanChapmanahh you ran it on the phone13:48
karniit seems I'm hitting the edge gesture13:48
DanChapmanthat would be why.13:48
karniI see13:48
karniBut I can use something else than a panel, and just play with animated width13:49
DanChapmanI should have just used a rectangle instead of a panel :_)13:49
karniDanChapman: silly me. that's a good start :)13:49
karniDanChapman: score :)! Thanks a lot :)13:51
dpmpopey, bug 1466518 - I've marked it to medium instead of low, as while we're not using the .deb packages, people could use them to test convergent designs/behaviour on a unity7 session14:11
ubot5bug 1466518 in Ubuntu Weather App "Icon not shipped in the .deb package" [Medium,Triaged] https://launchpad.net/bugs/146651814:11
popeydpm: yeah, I'll take a look at that14:12
dpmpopey, not urgent or anything, just a heads up that I filed the bug as we talked about it earlier14:13
popeyyup yup14:13
dubstar_04I'm trying to get a layout like Column { OptionSelector {} Row {Label{} TextField{} }} and its not working.14:17
ogra_balloons, meet dubstar_04 (daniel wood from the ML  ;) )  ^^^14:21
ogra_(noticing that he still has no developer talking to him)14:21
dubstar_04ogra_ i don't understand?14:22
ogra_dubstar_04, you are daniel, or not ?14:22
dubstar_04yes, that is me?14:23
ogra_well, given the mailing list thread and your concerns yesterday that you never get an answer when asking here i thought i should push it a bit ;)14:23
ogra_dubstar_04, ballons is nicolas skaggs ...14:24
ogra_i thoguht i'd introduce you too14:24
ogra_*two14:24
dubstar_04Ah ok. I don't want to be a nuisance to the devs, I know they are all busy trying to build a new platform and don't really want bothering with my silly questions. It would be nice to get some help thought!!14:25
ogra_dubstar_04, you are no nuisance for anyone .. the reason we do development in public IRC channels is that everyone can ask questions and get help :)14:25
dubstar_04balloons is nicolas. Ok now your message makes more sense!!14:25
ogra_heh14:26
ogra_just idle a little here, i guess you'll get an answer soon14:27
mcphaildubstar_04: the other advantage of doing this in the open is complete amateurs like me can lurk and soak in the help. I'm interested in the answer to your question as I've found some components don't respect the column layout14:28
mcphail(or rather, they may respect it but I'm doing it wrong)14:28
droppHi. In the Ubuntu SDK Qml+C++ example; how can I get the mainView object to connect a QML signal to a C++ slot? All examples do this in  main(), which is not how the SDK example works.14:32
dubstar_04mcphail I completely understand what you mean.14:33
balloonshey guys14:42
ogra_:)14:42
balloonsdubstar_04, can you paste the qml you are trying so we can figure out what's wrong?14:43
nik90dubstar_04: hey there..let me try to help as well :)14:49
droppanyone has an idea for my question as well? :)14:50
nik90dubstar_04: best way to get help is either a sample app which you need troubleshooting or paste.ubuntu.com it14:50
nik90dropp: lol..let me create a sampel qml c++ example.14:51
nik90dropp: I presume you chose the QML App with C++ plugin (cmake) ?14:51
nik90dropp: generally if it is a public slot that you defined in your c++ plugin, you should be able to call it as pluginname.slotname()14:53
droppnik90: yes, that's correct.14:54
nik90dropp: in the SDK template example, you see them access myType.helloWorld14:54
droppnik90: I defined a signal in the QML file and wantto connect it to a C++ slot14:54
droppnik90: I assumed I have to connect ot from C++?14:55
nik90if your signal is called "signal clicked()" for instance .. you could do14:55
nik90onClicked: { myType.slotFunction() }14:55
nik90this way everytime your signal is called, the c++ slot is called14:55
nik90that's one way of doing it14:55
droppokay, will it send a signal or just call the slot?14:56
nik90well when you signal is fired, the signal will take care of calling the slot.14:57
nik90so in your qml side, you will need to ensure that your signal is called appropriately14:57
droppnik90: let me try14:57
droppnik90: i think it doesn't work. QML assumes when I write "onClicked: { ... }" that there is a C++ slot called clicked() (Q_PROPERTY style). This is what I get:15:02
droppnik90: Cannot assign to non-existent property "onClicked"15:02
droppeh sorry, I mean a C++ signal called clicked()15:03
nik90I think you're confusing between signals and slots. Slots are functions defined in the c++ plugin that you can call to perform a certain task while signals are used to tracks events.15:03
nik90i think it is better you describe what you want to do rather how to debug your issue.15:03
droppsorry, yes, I corrected myself.15:03
dubstar_04Hi balloons I don't have it with me. Its on my machine at home. Sorry.15:04
droppOkay, one sec15:04
nik90I mentioned that you need to define a signal() in the qml end and then use that to call the c++ plugin slot.15:04
nik90so if you didn't define the signal in your qml code, then when you try onClicked: {} it is going to complain that it is missing.15:05
droppnik90: yes, i defined the signal via "signal clicked();"15:07
droppnik90: consider this example: http://andrew-jones.com/blog/qml2-to-c-and-back-again-with-signals-and-slots/ there is a section called "Emitting a signal from QML and listening to it from C++"15:07
droppnik90: this is exactly what I want to do, except that I don't have the mainView object to connect them15:07
droppQObject::connect(window, SIGNAL(submitTextField(QString)), &handleTextField, SLOT(handleSubmitTextField(QString)));15:08
droppI don't have the "window" object in the SDK example15:08
nik90hmm yes I see15:09
droppIt would be great if I could connect it from the QML side. I defined the signal though, yet it still complains as described above.15:10
nik90dropp: Here's what's I tried...http://paste.ubuntu.com/11735792/ ... calling the signal in the qml end worked for me15:13
popeymzanetti: meeting?15:32
mzanettipopey, coming15:34
didrockszsombi: hey, small question about our TextField implementation. I can see in the API that we have maximumLength property as well, but it doesn't seem to do anything (contrary to the same example with QtQuick.Controls 1.3), is that known? (I'm using Ubuntu.Components 1.2)15:57
didrockszsombi: forget me, seems to have been my bad :)16:01
=== rickspencer3_ is now known as rickspencer3
popeynik90: when do you want r280 uploaded?16:06
nik90popey: that's your call16:18
nik90popey: I have a few others MPs to merge to trunk now that the update has been approved.16:19
popeynik90: oh, okay. I'll upload it in a little bit today then16:19
nik90cool16:19
popeythanks nik9016:19
nik90popey: looks like the new icon will be revealed with the update :)16:20
popeynope16:20
nik90oh :P16:20
popeyI am ripping that out and rebuilding the click right now :)16:20
nik90damn it .. shouldn't have said anything. ;)16:20
popeyoh, I was on it :)16:20
popeythey dont want them going in retail devices till OTA516:20
popeyso I have a mental note to do this every time16:21
* popey is now automating this16:21
nik90ah ok..yeah changing them all in one go with OTA-5 will provide a completely fresh experience I guess16:21
popeyya16:21
rhuddiehi, I'm looking for a way to be able to delete an sms or mms message that I receive during a test, without using the UI to do it. Is there a dbus api I can use to do this?16:22
* popey hugs zbenjamin 16:32
popeynik90: do you have a changelog apread prepared from r192 to r280?16:58
popey(for the store)16:58
popeythere's like a thousand bugs fixed in this ㋛16:59
* popey makes http://pad.ubuntu.com/ClockAppChangeLog17:02
dubstar_04balloons is your still about this is the code: http://paste.ubuntu.com/11736334/17:04
nik90popey: http://pad.ubuntu.com/clock-app-changelog17:06
nik90popey: wouldn't that work?17:07
nik90popey: nvr mind..I see your more compact and cleaner changelog17:08
zbenjaminpopey: huh?17:09
zbenjaminpopey: what was the hug for?17:10
dubstar_04could anyone tell me how to get the textfield to fill the rest of the space? http://paste.ubuntu.com/11736334/17:10
nik90dubstar_04: if you give me 5 mins I can :)17:10
popeyzbenjamin: just a hug of appreciation17:11
DanChapmanawww17:11
popeynik90: yeah, nobody reads them anyway :)17:11
dubstar_04nik90 i'm just about to put my daughter in bed. I will be back later. Thank you.17:11
* zbenjamin hugs popey back :D17:13
popey\o/17:13
popeynik90: done17:15
nik90\o/17:15
popeyThanks for the hard work!17:15
nik90wow clock is 12.8 mb? since when?17:15
popeyfat package17:15
nik90np :)17:15
nik90ah yes17:15
dpmliterally fat :)17:16
nik90:P17:16
popeyadb shell sudo rm -rf /opt/click.ubuntu.com/com.ubuntu.clock/current/lib/*86*17:16
popey:)17:16
nik90popey: is this something snappy might do in the future?17:17
nik90s/might/will17:17
popeyoh god, you'll wake ogra_17:17
popeytelling us how snappy fixes everything17:17
nik90oh boy I woke the giant17:17
ogra_snappy will fix everything17:17
popeyBINGO!17:17
nik90dubstar_04: this should make you happy ;) paste.ubuntu.com/11736334/17:22
balloonsnik90, wins :-)17:22
nik90balloons: ?17:22
nik90dubstar_04: sry, this one http://paste.ubuntu.com/11736432/ .. (wrong link before)17:23
dpmogra_, now that we've got your attention... :) Quick question about the ancient click and dpkg technologies: so I'm trying to install a .click on the unity8 LXC container, which fails. Then I tried to see if it can be installed on a unity7 session, where I'm getting this error - do you happen to know why it's failing complaining about dpkg?17:23
dpmogra_, as per http://pastebin.ubuntu.com/11736394/17:24
ogra_because click uses dpkg for unpacking i think17:24
dpmpopey, so I gave the dekko installation another go, but this time from my unity7 session. I didn't succeed, but this time I know at least why it's stalled: it's trying to show the sudo graphical prompt and it can't17:25
ogra_i dont really know the details of click17:25
nik90balloons: btw I'm reviewing your branch..I might not understand the CMakeParserPlugin.py stuff..but I will test the whole thing out and comment in the MP17:25
dpmogra_, nm, thank you anyway17:25
ogra_dpm, sergiusens might know more than I17:25
dubstar_04nik90 how do isend hugs??17:25
dpmsergiusens, would you be able to help with this? ^^17:25
dpmsergiusens, essentially, it's about bug 146643217:26
ubot5bug 1466432 in unity8-lxc (Ubuntu) "Cannot install click packages" [Undecided,Confirmed] https://launchpad.net/bugs/146643217:26
nik90dubstar_04: lol..just enjoy..feel free to ping me in case you hit any other road bumps.17:26
balloonsnik90, awesome.17:26
balloonsmore or less things should be better / easier for building and running the tests now17:26
dubstar_04are row layouts in the sdk docs?17:27
nik90balloons: ok. btw I need some help with the transition to the 15.04 framework..the AP tests are failing because the MainView is incorrectly referenced now in the clock app tests.17:27
DanChapmandubstar_04: http://doc.qt.io/qt-5/qtquicklayouts-index.html17:27
nik90dubstar_04: I don't think so..usually I just use upstream qt docs when using qt components. as simple as that.17:28
dubstar_04thanks DanChapman17:28
dubstar_04thanks nik9017:28
dpmhi jdstrand, would you be able to comment on the apparmor part of bug 1466009?17:28
ubot5bug 1466009 in ubuntu-system-settings-online-accounts (Ubuntu) "Cannot add U1 account on Unity8 Desktop" [Medium,Confirmed] https://launchpad.net/bugs/146600917:29
nik90dubstar_04: also the upstream qt docs that DanChapman linked are very well displayed with good styling that I like very much.17:29
kass117hello . I have a bq 4.5 . how can I test my first "hello word" application using my phone .17:29
nik90kass117: hello. I suggest you take a look at https://developer.ubuntu.com/en/apps/ to get started.17:31
sergiusensdpm: ogra_ nik90 i'm just guessing, but you may not have a click database initialized17:33
nik90sergiusens: ? .. I think you meant popey17:33
sergiusensnik90: maybe, I haven't really read the backlog in detail :-P17:34
dpmsergiusens, thanks. In case it's that, how do you initialize one?17:34
sergiusensnik90: btw, what happened to flashback?17:34
nik90sergiusens: its in deep slumber atm..17:35
dpmsergiusens, I did then run 'click install', as per the suggestion on the original failure message, but that didn't work either (btw, what's the recommendation, to use pkcon or click install?) -> http://pastebin.ubuntu.com/11736490/17:35
nik90sergiusens: I just felt like contributing to projects which has more than 1 person ... makes it more interesting17:35
dpmgood news for podbird :-)17:35
nik90sergiusens: with flashback I got to worry about everything..and also it required massive rewrite due to API v2 and local data caching.17:36
nik90dpm: ;)17:36
popeynik90: shame really, flashback is one of those apps we loved to show off to people17:38
sergiusensdpm: pkcon install won't work unless you have the right security polkit bits setup17:38
popeysergiusens: That's what we're missing - and no idea how to set that up17:38
sergiusenspopey: dpm https://click.readthedocs.org/en/latest/databases.html17:38
nik90popey: hopefully podbird will take over that need17:39
popeypodbird is also awesome of course :)17:39
dpmsergiusens, and on the question of using pkcon install-local vs. click install? What's the recommended tool?17:40
popeywell, given running click tells you to run pkcon :)17:40
popeyit feels like there's some fu being done on the click based touch images which isn't being done on the unity8lxc image17:41
sergiusenspopey: dpm you would need to setup the polkit rules, check the phone, under /etc/polkit something17:41
sergiusenspopey: dpm and I think the right bits for polkit are in lxc-android-config17:42
dpmpopey, well, what confused me was the other way round: pkcon tells you to use click: http://pastebin.ubuntu.com/11736394/17:43
dpmL2417:43
popeythats a red herring17:44
popeydodgy click package IMO17:44
popeyyou need to be doing the install inside the container17:44
popeyoh, you are?17:44
dpmpopey, I tried it inside the container, it failed on "Waiting for authentication". Then I tried outside to see if it'd work (I didn't expect it to), and that's that pastebin ^17:45
popeywaiting on authentication is basically "where's the sudo prompt"17:46
dpmexactly17:46
dpmand it shows the prompt on a unity7 session, but not on a unity8 one17:46
popeyif you do it via ssh then use the unity8-setup maint thing, it _does_ prompt you for your sudo password17:46
popeyjust not from inside the terminal on the machine17:46
popeynot sure how you're getting a graphical prompt17:46
dpmpopey, I'm not sure why you're using unity8-setup to install clicks17:47
popeybecause I had no terminal on it17:47
dpmpopey, you mean lxc-console17:47
popeyso ssh'ed in to the machine than used the unity8 script to get "into" the lxc17:47
popeyyes17:47
dpmok, gotcha.17:48
dpmyeah, I've tried all these options17:48
popeybut, I agree with sergiusens, we need the polkit bits17:48
dpmseems like it, yes17:48
dpmsergiusens, does this look like what would be needed to have installed? http://pastebin.ubuntu.com/11736562/17:48
dpmdoesn't seem to list any polkit rules, though17:49
popeyyeah, no mention of PolicyKit or polkit through the source package17:50
dpmthe policykit-1 package seems to include the contents of what's under /etc/polkit17:51
kalikianaI wonder if you could take a look if I'm missing something here... https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/orientationManual/+merge/254753 I can't make tests/autopilot/ubuntuuitoolkit/tests/components/test_popover.py work, it reliably hits the wrong button, small instead of huge, that is true even if I replace the test case so it's not17:59
kalikianaa simple race condition17:59
kalikiana^^ brendand17:59
=== mhall119_ is now known as mhall119
=== alex-abreu is now known as alex-abreu|afk
sergiusenspopey: looking at the phone now, but yeah, polkit bits are gone18:33
nik90balloons: commented on your MR. minor confusion but otherwise looks good.19:39
balloonsnik90, for your paste, how did you build it?19:41
nik90balloons: on a vivid desktop19:43
balloonsI meant the location. You still have to build it; it simply doesn't matter where you do so19:44
nik90balloons: I called cmake and make right from the root directory without creating any special builddir19:44
balloonsnik90, ahh indeed19:44
nik90balloons: reading your MP description, I got the impression that a special builddir wasn't necessary. I am fine with it, just wondering if that's what you expected.19:45
balloonsnik90, I expected you to be able to build in whatever folder you wish19:46
balloonsso you are correct.19:46
nik90ok19:47
balloonslet me merge trunk and check19:48
nik90dubstar_04: you might want to use paste.ubuntu.com to paste stuff.19:49
balloonsqueue bzr love19:50
balloonsnik90, indeed so something isn't quite right. I guess I should look closer19:51
nik90balloons: if you want you could do that in the next MP and let this be only about the Emulators.py to __init.py__ change19:52
balloonsnik90, ohh lol, I see the issue. Curious how that got reverted19:52
nik90ah cool19:52
balloonsboom works.. let me try a few different ways of building to make doubly sure19:53
nik90ok...ping me when you're done and I will test and approve.19:53
nik90also changelog pls :)19:53
balloonsI updated the changelog already so ;-)19:54
nik90karni: hey, I know you are EOD, but pls do ping me tomorrow when you're free.19:56
karninik90: I'm not EOD :) what's up?19:56
* karni still @work19:56
nik90karni: oh .. you work late ;)19:56
karniI'm quite busy these days19:56
nik90karni: anyway I wanted to help migrate telegram over to ubuntu-sdk-15.04 in order to use the new sdk listitems. It will greatly help with performance issues IMO.19:57
nik90karni: however I seem to be out of touch with the whole building and testing telegram. I might need help with that.19:57
=== alex-abreu|afk is now known as alex-abreu
balloonsnik90, so how do things work now if you use the SDK to build the app?20:09
balloonsnik90, basically the changes mean the tests read the cmakelists.txt.user file and find the build dir. Then go looking inside of it for what needs to be launched. I noticed when the SDK does it's out of tree build, things seem a bit off20:10
nik90balloons: What do you mean by using the sdk to build the app? I just open the cmakelist which it then uses to build the app and deploy to the phone to run it.20:12
balloonsnik90, I simply meant, rather than using cmake from the command line, instead let the sdk build it20:13
* balloons compares20:13
nik90balloons: ah ok..hmm I could try that..20:13
balloonsthat doesn't seem to work as it doesn't put the qml in the build folder20:13
nik90balloons: I know that when I build stuff using the SDK, it creates a builddir outside my project directory and goes about its buisness20:14
balloonsyea.. weird, it looks the same20:14
balloonsok20:14
nik90yea at some point my cmake understanding goes out of the window when it does stuff like that20:14
balloonslol20:14
nik90shall I start to test your branch?20:15
nik90all pushed20:15
nik90?20:15
balloons1 sec20:15
balloonspushed rev 28820:15
* nik90 tests20:15
balloonsargh, bzr keeps wiping my stuff20:17
balloonsnik90, I can say it's not doing what I want it to20:29
nik90balloons: it works from root, but when I create a builddir it fails http://paste.ubuntu.com/11737282/20:29
nik90it seems unable to find the c++ plugin DateTime20:30
balloonsso basically I can change the default to 'builddir' again20:32
nik90yeah I suppose :P20:33
balloonsnik90, but that said.. I don't see any binaries or qml in the build dir. I think this is incorrect20:34
nik90balloons: I see the binaries in the builddir though..all 3 of them20:35
dubstar_04how can i get data from a model of an OptionSelector when i have the selected index?20:35
balloonsnik90, maybe it just hates me. Where are they?20:35
nik90balloons: inside builddir/backend/plugin-name/*.so20:35
nik90dubstar_04: sec, /me checks api20:36
nik90dubstar_04: can you provide code with the optionselector..I don't see any obvious API methods for it..but can give it a shot20:38
nik90balloons: but I don't see qml code..the qml folders are just filled .cmake files20:38
balloonsnik90, right.. I think I've got things sorted now20:38
dubstar_04nik90 i expected it to be something like OptionSelector.model.index.name20:39
nik90dubstar_04: may be its something with get() .. I used this a long long time ago..may be I should dig up old clock app code to check ;P20:40
nik90popey: erm -> https://bugs.launchpad.net/ubuntu-clock-app/+bug/146664820:41
ubot5Launchpad bug 1466648 in Ubuntu Clock App "Current click package in the store ships with files from other core apps" [Undecided,New]20:41
nik90popey: probably that's why the fat package was fat indeed20:43
balloonsnik90, ok, I feel good about this: rev 29020:43
* nik90 updates and tests20:43
dubstar_04nik90 I've don it now. model.get(Index).data20:50
nik90balloons: I'm afraid it fails with the builddir..http://paste.ubuntu.com/11737376/20:50
dubstar_04I had model in a seperate QML file and it wasnt working20:50
nik90dubstar_04: ah awesome man..I suspected get() .. but wasn't sure20:50
droppnik90: sorry for the delay. It works now! :) Thank you!21:16
droppI forgot to put the "page." before test()21:16
droppin "page.test()" that is21:17
droppthanks again and bb21:17
ahoneybunis there a way to pull information (html) from a site and display it a custom way?21:28
dubstar_04Anyone awake to help with publishing apps?21:58
nik90dubstar_04: sup again ;)21:59
dubstar_04I have these errors: https://lh3.googleusercontent.com/L5QryBwOHRHW_DTf6i6W033coI2z-HrPqaFbIPS5W-4X=w1074-h671-no21:59
nik90dubstar_04: which button did you press? validate existing click package or build and validate click?21:59
nik90dubstar_04: also do you have a source zip somewhere I can test on my local machine21:59
dubstar_04build and validate22:00
nik90dubstar_04: frankly no idea why you see that. want me to test and build you a click?22:01
dubstar_04I will send you a zip but i would rather know what was going wrong and build the click myself.22:02
nik90dubstar_04: well I can atleast confirm it is not an issue with your click and help you debug22:02
nik90dubstar_04: https://imgur.com/gVoAae522:15
dubstar_04do i need to change the name?22:17
nik90dubstar_04: not sure..I am opening the askubuntu link shown for more info..22:18
nik90https://askubuntu.com/questions/417371/what-does-functional-qml-applicationname-matches-manifest-mean/41737222:18
nik90it seems correct to me22:19
nik90not sure why it is complaining22:19
nik90although when running on the phone, the UI is a bit messed up22:19
* nik90 takes a screenshot22:19
nik90https://imgur.com/OASYfEt22:21
nik90it seems the width is not respected, causing stuff to be cut out22:21
dubstar_04what would cause that?22:21
nik90normally when you run on the phone, it should dynamically adjust the appplication size to the phone dimensions.22:23
nik90dubstar_04: I am going to create a new project and copy files over to see if it fixed it.22:23
nik90then we look at the code diff to spot the mistake22:23
dubstar_04cool thanks22:23
dubstar_04nik90 what if you change the name in the manifest to MachinistsMate.marthamengineering22:28
dubstar_04with capitals?22:28
* nik90 tries22:29
=== salem_ is now known as _salem
nik90dubstar_04: I created a sample project where I called it machinistmatenik90.nik90 and that worked..22:31
nik90changing the capitals didnt help22:31
nik90with my sample project the width is not respected either when I copied over your code22:31
nik90frankly this is puzzling and annoying :P22:31
dubstar_04I think I might have to leave it tonight. I'm up for work in 5 hrs. Thanks for all the help.22:32
nik90dubstar_04: same gtg sleep.22:33
nik90dubstar_04: will check tomorrow when I find time22:33
nik90dubstar_04: found it!22:34
dubstar_04Thanks again.22:34
balloonsnik90, sorry crazy storm and power outage22:42
nik90balloons: where is this adventurous place do you live in ?22:42
balloonsthe US ;p22:43
nik90not sure if you got my msgs before the storm22:44
nik90balloons: rev 290 AP tests fail when using builddir I am afraid.22:44
nik90.http://paste.ubuntu.com/11737376/22:44
balloonsnik90, yes I saw. It's weird because it worked for me, but not on a fresh checkout. I do get why it doesn't work tho22:44
nik90balloons: hmm not on a fresh checkout..seems like bzr is messing with you then22:45
balloonsnik90, so what we can do is support builddir, or the sdk.. which is an improvement from before22:45
balloonsbut, not any arbitrary directory22:46
nik90balloons: its your call. As long as the README files instructions are up to date we should be fine.22:46
nik90the only reason I am not a fan of building in the root dir is to avoid getting it dirty22:46
nik90which is why we used the builddir setup22:47
balloonsyea.. I just wanted to support any arbitrary directory22:47
balloonsso you didn't have to say 'builddir'22:47
balloonsbut the sdk support is really nice, so22:47
nik90hmm true22:48
nik90dropp: before you left I was about to say that the method described in the blog post you linked seems like a better way of doing things and that you should get the help of someone else here to figure that out.22:49
droppnik90: sorry, i had to go... i found another site showing even more advanced ways of connecting (from QML)22:50
nik90dropp: can you paste the link here. I'll like to learn as well22:50
droppnik90: http://doc.qt.io/qt-4.8/qmlevents.html22:50
droppit features a .connect() from QML22:50
balloonsnik90, ok, pushed rev 291. This should let you build with SDK, and it will find the directory and use it, or use builddir22:50
balloonsreally sad we don't generate a file we can parse via cmake otherwise22:51
nik90balloons: so I build using the sdk and then run the tests from the terminal as usual?22:51
balloonsthe sdk creates one..22:51
balloonsnik90, yep you can do that.. Or follow the readme22:51
balloonsif Akiva finishes his plugin soon, you'll be all set to run them as a run config in the SDK22:52
droppnik90: however, it seems that the signal/slot mechanism is not asynchronous, which was the whole point for me to use it22:52
nik90balloons: ok. Can I test this tomorrow and then top-approve? Its late here now22:52
balloonsnik90, yep for sure. So for the messup.. I thought it was all ready to go22:53
balloonsseems my original tree was a little corrupted or something.. an extra build I guess, that let things work when they shouldn't have :-)22:53
nik90balloons: no worries, btw I am noticing test fails in my 15.04 transition branch ... they pass locally on my machine.22:53
balloonsnik90, test fails on?22:54
nik90balloons: test fails on jenkins22:54
droppI have an issue with QAudioRecorder. Sometimes (on the Desktop -- most times on the Nexus4) .start() or .stop() does not return and hangs indefinitely. I was hoping to still have a responsive UI this way...22:54
balloonsnik90, ahh.. right.. qml tests I assume?22:54
nik90balloons: yes22:54
balloonsnik90, I'll look tomorrow at them as well22:54
balloonswow that sentence22:55
nik90balloons: ok. I don't want to delay landing features due to testing infrastrcuture .. we can always get back to them later.22:55
nik90;P22:55
nik90alrite I am off to sleep..tty tomorrow.22:56
droppgn nik9022:56
nik90dropp: gnite22:56
droppAnyone knows whether or not there is a way to asynchronously call a C++ function from QML? Sort of like fire and forget.22:57
droppBecause right now, my GUI becomes unresponsive once the QAudioRecorder functions don't return for whatever reason...22:58
droppHmm23:00
droppIs QAudioRecorder known to be buggy? It seems quite weird that this happens...23:01

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