[09:23] <om26er> bzoltan, Hi! which ppa contains the armhf chroot for click ?
[09:23] <bzoltan> om26er: the SDK PPA
[09:24] <om26er> bzoltan, https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa ? whats the package name
[09:35] <bzoltan> om26er:  ubuntu-sdk-api-15.04-armhf
[09:40] <zzarr> hello! when installing a 15.04 armhf schroot on a x86_64 host I get this error line 68, in create return chroot.create(args.keep_broken_chroot) File "/usr/lib/python3/dist-packages/click/chroot.py", line 599, in create self.full_name, ret_code))    It's a short bit of the error
[09:41] <zzarr> I found this https://bugs.launchpad.net/developer-ubuntu-com/+bug/1575378
[09:42] <zzarr> and this https://bugs.launchpad.net/ubuntu/+source/click/+bug/1572041
[09:49] <bzoltan> zzarr: would you please tell me what version of the click package do you have installed ( apt-cache policy click)
[09:49] <zzarr> I got 0.4.43+16.04.20160203-0ubuntu2
[09:50] <zzarr> are there any dependency that are not installed when installing ubuntu-sdk?
[09:52] <zzarr> it's the latest one
[09:55] <zzarr> bzoltan, do you have any idea?
[09:57] <bzoltan> zzarr: hmm... I have asked for the apt-cache policy :)
[09:57] <bzoltan> zzarr:  but from the version number i can tell that you do not have tha latest version installed from the SDK PPA
[09:57] <zzarr> bzoltan, I responded "I got 0.4.43+16.04.20160203-0ubuntu2"
[09:58] <zzarr> latest version none ppa
[09:58] <bzoltan> zzarr:  try to type in $ apt-cache policy click
[09:58] <bzoltan> zzarr:  that  tells  not only the version but also where the installed package and the candidates are from
[09:58] <zzarr> click:
[09:58] <zzarr>   Installerad: 0.4.43+16.04.20160203-0ubuntu2
[09:58] <zzarr>   Kandidat:    0.4.43+16.04.20160203-0ubuntu2
[09:58] <zzarr>   Versionstabell:
[09:58] <zzarr>  *** 0.4.43+16.04.20160203-0ubuntu2 500
[09:58] <zzarr>         500 http://se.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
[09:58] <zzarr>         100 /var/lib/dpkg/status
[09:59] <bzoltan> zzarr: Yeps.. that shows the real problem. You do not have the SDK PPA enabled. https://developer.ubuntu.com/en/phone/platform/sdk/installing-the-sdk/
[09:59] <zzarr> "installerad == installed", "kandidat == candidate", "versionstabell == version table"
[10:00] <zzarr> I don't recall enabling any ppa
[10:00] <bzoltan> $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa &&  sudo apt update && sudo apt install ubuntu-sdk && sudo apt dist-upgrade
[10:01] <bzoltan> zzarr: for the SDK you need the SDK PPA - https://developer.ubuntu.com/en/phone/platform/sdk/installing-the-sdk/
[10:04] <zzarr> thank you bzoltan, it will take a while to install, I'll tell you about the result once it is
[10:05] <bzoltan> zzarr: good luck :) please ping me if you have any problem
[10:19]  * ahoneybun uses no PPA 
[10:29] <bzoltan> ahoneybun: in that case you do not use the Ubuntu SDK :)
[10:34] <ahoneybun> yep
[10:34] <ahoneybun> installed from the repos
[10:37] <ahoneybun> mm why does developer.ubuntu.com keep taking me to the zh-cn version?
[10:37] <bzoltan> ahoneybun: The Ubuntu SDK IDE is not released to the archive, neither the Dev Kit or the static API packages. Also the click in the archives are bogus. The best way is to enable the SDK PPA as the instructions guide. You do save lots of time  using the the official release.
[10:37] <ahoneybun> bzoltan I'v had it installed for 2 months now
[10:38] <ahoneybun> I've installed it on afew new image machines with no PPA
[10:38] <bzoltan> ahoneybun: I do not know what you have installed :) and from where... but the SDK is released _ONLY_ to the SDK PPA. For real :) I am not kidding.
[10:39] <ahoneybun> I'm telling you it is in the repos
[10:39] <bzoltan> ahoneybun:  here is the instructions - https://developer.ubuntu.com/en/phone/platform/sdk/installing-the-sdk/
[10:39] <ahoneybun> I've seen them
[10:39] <ahoneybun> that ppa was for before 14.04 or so
[10:39] <davidcalle> ahoneybun: try visiting https://developer.staging.ubuntu.com/en/ and see if it keeps taking you to the chinese version (cookies)
[10:39] <ahoneybun> http://packages.ubuntu.com/xenial/ubuntu-sdk
[10:39] <bzoltan> ahoneybun: I am telling you :) I am the one who released the SDK. Believe me, the archive repositories do _NOT_ have the latest releases for long time. What you have there is an old and buggy one.
[10:40] <ahoneybun> davidcalle that works davidcalle
[10:40] <ahoneybun> bzoltan works fine for me
[10:42] <ahoneybun> mm now it works fine davidcalle
[10:42] <ahoneybun> kinda
[10:42] <bzoltan> ahoneybun: of course it does work... we have not release broken SDK back then :) but that edition will not receive updates, bugfixes and new feature. If you want to use the Ubuntu SDK and want to enjoy the support we provide for that, then please install the latest official release.
[10:42] <ahoneybun> events are still chinese
[10:42] <ahoneybun> mm
[10:43]  * ahoneybun has to pull out his laptop to test 
[11:02] <zzarr> bzoltan, do you know if there is a arm64 (aarch64) schroot and qmake?
[11:04] <zzarr> I had some problems with colliding packages, but it's fixed now... so I'm installing the 15.04 armhf schroot (hopefully it works now)
[11:22] <bzoltan> zzarr:  We do not have arm64 chroot. Do you need one?
[11:23] <zzarr> I wish to make applications for my dragonboard 410c
[11:24] <zzarr> I have snappy core on it now (on an sd)
[11:25] <zzarr> I have some questions about that too, but I'll ask them in #snappy
[11:35] <bzoltan> zzarr: We will have LXD image for that with the next big IDE release
[11:39] <zzarr> okey, bzoltan, when will that be?
[11:41] <bzoltan> zzarr:  in few weeks... we are doing the pre-release tests already
[11:41] <zzarr> nice, thanks bzoltan
[11:43] <zzarr> will there be a qmake for aarch64? (or instructions how to compile it?)
[11:44] <zzarr> the installation of the armhf 15.04 click worked like a charm :) thanks bzoltan
[11:45] <zzarr> an alternative to qmake for aarch64 is if it's possible to run armhf applications
[11:46] <zzarr> (in the same way x86/x86_64 can coexist)
[12:05] <t1mp> mardy: hello
[12:05] <t1mp> mardy: I was checking out this bug https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1578619
[12:05] <mardy> t1mp: hi!
[12:05] <t1mp> is that one visible in an app?
[12:06] <mardy> t1mp: yes, it happens to be the same app in which I found the other issue :-)
[12:06] <t1mp> why do you push a new page inside onRefresh?
[12:06] <t1mp> ah, ok
[12:06] <t1mp> that's a naughty app ;)
[12:06] <mardy> t1mp: well, that's only the test case
[12:07] <mardy> t1mp: the problem generally appears then the user starts the refresh, and then clicks on a list item before the refresh has completed
[12:07] <t1mp> see my comments on the bug report, the actual bug in this case seems to be in PullToRefresh. It always messed up the topMargin, but that was hidden previously by resetting the topMargin when the page was pushed
[12:07] <t1mp> mardy: ah, okay. That makes sense :)
[12:07] <mardy> t1mp: yes, even in OTA10 it's not perfect, I happen to see some issues occasionally
[12:08] <t1mp> mardy: yes, I can reproduce it on my laptop with a single page (without a pagestack) if I release the mouse button while the listview has a velocity
[12:10] <t1mp> I'm not sure the bug is "Critical", but I'll dive deeper into the PullToRefresh code to see why it is broken
[12:10] <mardy> t1mp: now that I test my app, I notice other nasty issues:
[12:11] <mardy> t1mp: I don't pull the pull-to-refresh item, and open a list item; then I navigate back, and the topMargin is *decreased*
[12:11] <mardy> t1mp: I'll see if I can make a test case for this
[12:12] <t1mp> that is weird
[12:12] <t1mp> ok, thanks
[12:12] <t1mp> see if you can also reproduce it when there is no PullToRefresh component, to see if it is related to that component
[12:14] <mardy> t1mp: it's related to that component, now I think understood what it is:
[12:15] <mardy> t1mp: basically, if the PullToRefresh status changes while navigating through the page stack, the topMargin gets messed up:
[12:15] <mardy> t1mp: it can be increased or decreased, depending on the PullToRefresh state before and after
[12:15] <t1mp> right
[12:16] <t1mp> still I managed to reproduce the increased topMargin without a PageStack, so more is wrong
[13:30] <mhall119> popey: is there any plan to add thumbnailing to the file manager app's icon view?
[13:30] <mhall119> or, at the very least, a preview of selected items when it's used to pick files for content-hub transfers?
[14:03] <mhall119> popey: I also miss being able to click links in the terminal, I wonder of KTerminal might give us that feature somehow
[14:30] <t1mp> zsombi: maybe we should put the PullToRefresh in the Header.extension ;)
[14:33] <t1mp> zsombi: is there no maximum how far I can pull down the flickable with PullToRefresh?
[14:33] <zsombi> t1mp: bahh... We have it in the UbuntuListView :/
[14:33] <zsombi> t1mp: yes, there's no such a value
[14:33] <t1mp> ok
[14:34] <t1mp> there are a bunch of bindings, connections, propertychanges, ... maybe those get updated in the wrong order in certain circumstances
[14:34] <t1mp> but I haven't been able to track down where it goes wrong yet
[14:34] <t1mp> zsombi: I tested with UbuntuListView and it has the same issue as a regular ListView with a PullToRefresh added
[14:35] <zsombi> t1mp: because UbuntuListView is after all a ListView witha  PullToRefresh :)
[14:35] <t1mp> zsombi: right :)
[14:35] <t1mp> hmm
[14:36] <t1mp> I cannot reproduce the bug if there is a delay between refreshing = true and refreshing = false
[14:36] <t1mp> only if the refresh finishes really fast
[14:37] <t1mp> ok, with an interval < 100, it is broken, with > 200 it always behaves as expected
[14:37] <t1mp> on my machine, that is
[15:20] <t1mp> zsombi: do you know if, when a Page becomes invisible, all the Transitions inside it, just stop? Even when alwaysRunToEnd is true?
[15:20] <t1mp> if that is the case, I don't see how we can make the PullToRefresh return the flickable to its bounds, when in onRefresh a new Page is pushed
[15:23] <t1mp> I can add a                     control.target.returnToBounds();
[15:23] <t1mp> in the end of the transition to idle. That fixes the bug, but only if the Page does not become invisible, in which case the ScriptAction is not executed
[16:19] <cyraxjoe> mcphail: thanks
[20:15] <ahoneybun> mhall119 have sometime for API lessons? lol
[20:20] <mcphail> popey: I'd appreciate it if you could look at http://themcphails.uk/bg1.njmcphail_0.25.1_armhf.click and see if it still works. No hurry: not in a rush to update in store. Currently under influence of moderate wineage, so there may be a typo or 2
[20:21] <popey> :)
[20:21]  * popey gets wine and joins in
[20:31] <mhall119> ahoneybun: depends on what you need
[20:31] <ahoneybun> openweathermap mostly
[20:31] <ahoneybun> but API's in general work work
[20:31] <ahoneybun> *would work
[20:37] <ahoneybun> mhall119 ^
[20:39] <popey> mcphail: anything in particular I am looking for?
[20:39] <mcphail> popey: just to see if it works. I made some tweaks for case sensitivity and want to make sure I haven't trashed things in the process
[20:40] <popey> well, step 1, it installed!
[20:40] <mcphail> popey: cool! If you already have a config file, can you delete it before launching?
[20:40] <popey> sure, it launches fine with the one I currently have, will re-launch clean
[20:41] <mcphail> Ta
[20:41] <popey> just ./.config/bg1.njmcphail/bg1.cfg ?
[20:41] <mcphail> yep
[20:41] <popey> kk
[20:41] <mhall119> ahoneybun: well, if you have questions, start asking them :)
[20:41] <popey> launches fine
[20:41] <mcphail> popey: brilliant. Ta!
[20:41] <popey> np
[20:42] <ahoneybun> mhall119 https://github.com/Maledictus/Meteor/blob/master/Meteor.qml
[20:42]  * mcphail pours popey a glass
[20:42] <ahoneybun> this uses the API
[20:42] <popey> \o/
[20:42] <popey> shhh,wife will hear
[20:42] <ahoneybun> but it sets the Location as undefined
[20:42] <popey> forgot how long the titles were
[20:42] <ahoneybun> all I need is know how to request the current weather in a zip code
[20:42] <mcphail> popey: yeah. You can edit config file to skip them
[20:42] <ahoneybun> the rest I can kinda get
[20:42] <ahoneybun> once I get the concept of calling the api
[20:45] <mhall119> ahoneybun: what line is failing?
[20:45] <ahoneybun> property string location: typeof (Location) == "undefined" ? "undefined" : Location
[20:45] <ahoneybun> as Location is not defined
[20:45] <ahoneybun> I don't need to use GPS and stuff... yet
[20:45] <ahoneybun> just a zip code
[20:46] <ahoneybun> that's not my code though
[20:46] <mhall119> ok, trying to use QtLocation?
[20:47] <ahoneybun> is that the right way to use an API?
[20:47] <ahoneybun> I don't need to use GPS at the moment
[20:47] <ahoneybun> just a set zip code
[20:47] <ahoneybun> mm
[20:48]  * ahoneybun wished for a hangout but understands why not 
[20:49] <mhall119> ahoneybun: yeah, I'mcurrently a a community college hanging out in the lobby
[20:49] <ahoneybun> oh
[20:50] <ahoneybun> that example refers to rootRect
[20:50] <ahoneybun> would that be the iteam?
[20:50] <ahoneybun> item
[20:51] <mhall119> rootRect is the id for the top-level item in that QML file
[20:51] <ahoneybun> right
[20:51] <mhall119> I'm not sure what Location object is
[20:52] <mhall119> it might be from org.LC.common
[20:52] <ahoneybun> yea thats the problem with using this code
[20:52] <mhall119> let's use something else then, maybe the weather core app?
[20:53] <ahoneybun> yea I have the code for that but its alien to me lol
[20:54] <ahoneybun> I also need to get ListItemsActions to work for me XD
[20:54] <ahoneybun> I want to do like the weather app does with the little weather icon in the ListItem
[20:55] <ahoneybun> but that is for another day
[20:56] <mhall119> ahoneybun: sorry, I don't know how to convert zipcodes to weather data
[20:57] <ahoneybun> http://api.openweathermap.org/data/2.5/weather?zip=94040,us&appid=b1b15e88fa797225412429c1c50c122a
[20:57] <ahoneybun> :)
[20:57] <mhall119> ahoneybun: ah, ok then, so you just need to call that?
[20:57] <ahoneybun> I mean if we can use the GPS even better but not a top issue now
[20:57] <ahoneybun> yea
[20:58] <mhall119> ahoneybun: so what you want is from line 35 to 50 of https://github.com/Maledictus/Meteor/blob/master/Meteor.qml
[20:59] <mhall119> but on line 49, use the URL you just gave
[20:59] <ahoneybun> all in function {} ?
[20:59] <ahoneybun> place that where in the code of my app thouhg?
[21:00] <ahoneybun> out of the Page {} ?
[21:00] <mhall119> inside any function
[21:00] <ahoneybun> I don't have any function lol
[21:00] <ahoneybun> he/she put it in an item
[21:00] <mhall119> you'll need to replace lines 41-42 with code that sends the data the API call returns to the right variables in your app
[21:01] <mhall119> ahoneybun: well somehow the user has to give you a zipcode and request data for it, have a function that is called then
[21:01] <mhall119> the basic steps for calling APIs are:
[21:01] <mhall119> 1) create an XMLHttpRequest object
[21:01] <mhall119> 2) Attach a state change listener to it
[21:02] <mhall119> 2.1) check that a state change puts it in XMLHttpRequest.DONE state, meaning it's finished making the call
[21:03] <mhall119> 2.2) check that the http response status is 200 (otherwise you got an error you need to handle)
[21:03] <mhall119> 3) open the request object to your target URL (with parameters if you have them)
[21:04] <mhall119> 4) send the request, which will return immediately, and your state change listener will be called asynchronously later
[21:04] <ahoneybun> how do I put the request into text?
[21:04] <mhall119> what do you mean "into text"?
[21:04] <ahoneybun> mm
[21:05] <ahoneybun> the result
[21:05] <ahoneybun> like mostly cloudy
[21:05] <mhall119> that depends on what openweathermap sends you
[21:06] <mhall119> on line 41 of Meteor.qml they expect to get JSON in the response, so they parse it and save it to the weatherData variable
[21:06] <mhall119> then they pick individual data out of that object
[21:07] <ahoneybun> oh ok
[21:07] <mhall119> that's line 41 and 42
[21:07] <ahoneybun> weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}]
[21:08] <mhall119> so, let's say you use JSON.parse to store that into a variable 'foo'
[21:09] <mhall119> foo["weather"][0]["main"] == "Clear"
[21:12] <ahoneybun> mm
[21:12] <ahoneybun> copying for this example is not working
[21:12] <ahoneybun> I want "text: "Sun" + weatherData" or something that works lol
[21:14] <ahoneybun> it says weatherData is not defined
[21:15] <mhall119> yes, weatherData is a variable defined by Meteor.qml
[21:15] <ahoneybun> by the file?
[21:16] <mhall119> on line 25, it's just a variant
[21:16] <mhall119> it's just a place that dev chose to store the response data from their API calls
[21:16] <ahoneybun> hell I could be putting the function in the wrng place too
[21:16] <ahoneybun> I guess it is not calling it then
[21:16] <mhall119> if you didn't define a variable called weatherData in your app, then you can't use that variable name
[21:16] <ahoneybun> I did
[21:16] <mhall119> are you using Metor.qml?
[21:17] <mhall119> ok, show me *your* code
[21:17] <ahoneybun> I copied it and edited it
[21:17] <mhall119> put it in an etherpad or something
[21:17] <ahoneybun> 33023
[21:17] <ahoneybun> http://api.openweathermap.org/data/2.5/weather?zip=33023,us&appid=753a953085551461ddf5555c772c06c2
[21:17] <mhall119> ahoneybun: I need to see *your* code
[21:18] <ahoneybun> I saw zip code lol
[21:18] <mhall119> no no, your QML
[21:19] <ahoneybun> k
[21:19] <mhall119> popey: I likey the new PDF Viewer :)
[21:19] <ahoneybun> pastebin.ubuntu.com/16324653
[21:19] <mhall119> is that a custom page header?
[21:19] <ahoneybun> mhall119 ^
[21:20] <ahoneybun> the Doc viewer?
[21:20]  * ahoneybun misses his Nexus 4 
[21:21] <ahoneybun> this damn IRC does not let me copy and paste
[21:22] <mhall119> ahoneybun: ok, so your code looks alright (though I hate that you left our the {} on some of your if/else blocks)
[21:22] <mhall119> but requestWeaZip isn't called anywhere that I can see
[21:22] <ahoneybun> that's how the meteor code it
[21:23] <ahoneybun> not sure how it is called
[21:23] <ahoneybun> oh
[21:23] <mhall119> no, Meteor.qml called it on a timer down on line 83
[21:24] <ahoneybun> yea I see that
[21:24] <mhall119> ahoneybun: also, line 68 in your code won't work
[21:24] <mhall119> what data do you want there?
[21:24] <ahoneybun> just that a icon
[21:24] <ahoneybun> openweathermap provides some temp graphics
[21:24] <ahoneybun> till I make my own
[21:25] <mhall119> then use weatherData["weather"][0]["icon"]
[21:25] <ahoneybun> no () ?
[21:25] <mhall119> the () isn't needed in that context
[21:26] <ahoneybun> it gets rid of my Sun though
[21:26] <mhall119> you can also just use your iconID variable, since that's being set to weatherData["weather"][0]["icon"] too
[21:26] <mhall119> it shouldn't, but whatever, leave the () in then
[21:26] <ahoneybun> I set the requestWeaZip for onClicked and it gives me
[21:26] <ahoneybun> requestWeaZip is not defined
[21:27] <mhall119> onClicked where? Put this code in an etherpad so I can see the changes you're making
[21:27] <ahoneybun> on the Mon ListItem
[21:28] <popey> heh mhall119
[21:28] <ahoneybun> pastebin.ubuntu.com/16324702
[21:28] <ahoneybun> mhall119 ^
[21:28] <ahoneybun> oh
[21:28] <mhall119> do you hate etherpad?
[21:29] <ahoneybun> did not read that one right
[21:29] <ahoneybun> not sure how to get that to work
[21:29] <mhall119> etherpad love you, it's your friend, it just wants you to be happy ;)
[21:29] <ahoneybun> the site says to demo or download
[21:30] <mhall119> ahoneybun: go to pad.ubuntu.com, log in, click "Create new pad" and then share that new link with me
[21:30] <mhall119> embrace the etherpad, become one with the etherpad
[21:31] <ahoneybun> yea yea lol
[21:31] <ahoneybun> rifmBrv3bd
[21:31] <mhall119> the whole URL please
[21:31] <ahoneybun> pad.ubuntu.com/rifmBrv3bd
[21:32]  * ahoneybun thinks he should use the Timer thing 
[21:54] <mhall119> ahoneybun: I need to head out soon, son's class is almost over
[21:54] <ahoneybun> oh ok
[21:54] <ahoneybun> I think I was using a key from that example not mine
[21:55] <mhall119> you were, and it's not working
[22:02] <mhall119> sorry ahoneybun, time for me to bail, I'll be around tomorrow to help
[22:03] <ahoneybun> alright thanks big time
[22:03]  * ahoneybun should upload to LP now 
[22:07] <ahoneybun> damn it
[22:07] <ahoneybun> branches have diverged?
[22:07] <ahoneybun> this is why I don't like bzr
[22:17] <ahoneybun> it is pulling in data mhall119
[22:17] <ahoneybun> got it to show the main and a few other info