[00:39] bzoltan_: I managed to solve the problem: by launching the command that failed int he sdk I got the full ouput, which included "Unknown filesystem type overlayfs". I was on a custom kernel, rebooted on a ubuntu one and it worked [00:50] how do I teach Ubuntu SDK that the emulator I set up and have running is a connected device that I can deploy apps to? [00:51] the button on the left side of the Ubuntu SDK window with a red/orange/green dot has a red dot, even though the emulator is running (and I created and ran the emulator from Ubuntu SDK, not from the command line or anything). [01:03] and trying to run the app (in debug mode or not) just pops up the "please attach your device" popup. [01:05] http://developer.ubuntu.com/apps/sdk/tutorials/using-the-ubuntu-emulator/ seems to be out of date; the Devices screen doesn't look like the screen shots, and although the emulator shows up in adb devices, Ubuntu SDK does not seem to think it's present and the documentation suggests that that shouldn't happen. [01:16] So I'm not sure what to try, now ;( [01:21] ah. I think the project thinks it's building for the armhf emulator, not the x86 emulator. [01:21] perhaps I need to add a new "kit" to the project. [01:24] aha! success! [01:24] although it is not at all clear to me what I have succeeded *at*; did I add a "kit" to the project, or to Ubuntu SDK as a whole? [01:27] aquarius: I think kits get added on a per device basis (and the emulator is considered a device) [01:27] aquarius: so it'll persist across projects [01:27] OK [01:27] aquarius: could be wrong though, the SDK is a mystery to me at times too ;) [01:27] am massively confused by all this "kit" stuff. [01:28] also massively confused as to whether my scope is actually running on the emulator or not. [01:28] aquarius: if it's in a window saying "Unity Scope Tool" then it's probably not running in the emulator [01:28] as you can also run scopes natively on the desktop using that [01:29] which is what the SDK will do if you select the desktop build profile [01:29] Elleo, as I understand it, I have to be running 14.10 for that :( [01:29] ah, right, yeah probably [01:29] this makes me rather sad. [01:29] hence trying to use the emulator. [01:31] you can't even build it on 14.04 because the scopes projects need gcc 4.9 and 14.04 only has 4.8.2. [01:31] so no desktop testing for me. :( [01:32] I thought 14.04 had gcc 4.9 available, just not set as the default gcc install [01:32] ooh, really? [01:32] oh, maybe not; there's gcc-4.9-base but doesn't seem to be gcc-4.9 :/ [01:32] at least according to package.ubuntu.com [01:33] seems not [01:33] $ apt-cache search gcc-4 | grep '^gcc-4\.. ' [01:33] gcc-4.7 - GNU C compiler [01:33] gcc-4.8 - GNU C compiler [01:33] gcc-4.4 - GNU C compiler [01:33] gcc-4.6 - GNU C compiler [01:33] bah humbug :( [01:36] oh well, bed time for me; good luck ;) [01:36] cheers, pal! === chihchun is now known as chihchun_afk === VDVsx_ is now known as VDVsx [07:35] Hey guys, i wonder if someone here could help. Im busy writing a scope for the competition and was wondering how i can reference a default image in my code that i will use if the rest service i am using does not supply album art? Where would i store the image in my project? Under the data folder? im using c++ === rmescandon is now known as rmescandon-brb === rmescandon-brb is now known as rmescandon [09:43] Ah figured it out nevermind :) [10:11] spazzymoto_, what solution did you come up with? :) [10:13] Added the file to my project. If my image_url from service is blank then i assign it ScopeBase::scope_directory() + "/whatevermyimageis.png". Not sure if that is the correct way but seems to work [10:35] Good morning all; happy Monday, and happy Cliché Day! :-D === _salem is now known as salem_ [11:45] spazzymoto_, cheers! [11:46] aquarius_, no problem :) [11:56] How do I change the emulator to be on a new channel? [11:57] when I *create* an emulator, I only get the options of "devel", "devel-proposed", or "stable". I chose "devel", and that's given me a 14.10 r243 emulator, but I'm now being told that that's too old. [11:58] and when I compile and deploy the default scope project, I don't seem to get any results from it; is this because I have too old an emulator? Or is the default scope project not *meant* to do anything? this might be a davidcalle question :) [11:59] aquarius, should give you weather results ootb [11:59] davidcalle, that's what I thought. It does not; I've created a new scope project, hit "run" which should be deploying it to the emulator, and in the emulator Dash searched for "birmingham, uk", and all I get is "search for birmingham, uk in the store". [11:59] I don't know what I might be doing wrong [11:59] aquarius, when you start the scope on the emulator, does it actually launches the scope? [12:00] davidcalle, I don't know. How do I know whether the scope is launched? [12:01] aquarius, ubuntu logo in the header like this : http://developer.ubuntu.com/wp-content/uploads/2014/10/soundcloud_unbranded.png [12:01] (note: I get three warnings (:-1: warning: scope_ini_gjs_scope_unknown_fields: Unknown field in 'gjs/org.kryogenix.gjs_gjs.ini': debugmode, :-1: warning: security_policy_groups_safe_gjs (debug): (REJECT) reserved policy group 'debug': not for production use [12:01] The debug policy group is automatically injected and should only be used for development. :-1: warning: security_policy_groups_scopes (gjs.apparmor): found inappropriate policy groups: debug), but they're warnings, not errors, as far as I can tell)To create a package for the store use the publish tab!, [12:01] aha! [12:01] yes, I get that scope [12:01] right, that makes more sense now! [12:01] thank you [12:02] aquarius, these warnings are ok :) np [12:02] however, doing a search from the normal Dash doesn't give me any results from that scope [12:02] and I do not know how to get back *into* the scope, once I've gone back to the normal Dash [12:03] aquarius, swipe from the bottom of the dash and search for it [12:03] * davidcalle takes notes on what to add to the doc [12:03] aha! [12:04] totally did not know about that :) [12:04] davidcalle, this is why I'm trying to give you feedback as I come across these problems, so you'll know about them :) [12:04] why does the scope not show results when I search in the Dash? that's the *point* of scopes, isn't it? [12:04] aquarius, you can also make it a favorite my clicking the star in the top right, it will be appended to the list of default scopes [12:06] aquarius, I don't know, any output looking like an error in QtCreator? [12:06] no error-looking output [12:06] I can find the scope by using Manage Dash from the bottom edge [12:06] and so I can get back into it fine [12:06] and searching *in it* works fine [12:06] ah! [12:07] but if I do a search from the front page of the Dash, that scope doesn't pop up [12:07] is it no longer supposed to? [12:07] aquarius, so it works as expected. The "Home Dash" as we knew it is gone. [12:07] oh [12:07] so if I want to search in a scope, I have to go and explicitly open that scope? [12:08] I don't understand. What's the point in all the work which analyses your query and picks appopriate scopes then? [12:09] aquarius, that or in the Manage Dash page (bottom swipe), searching recommends scopes (and also return wikipedia stuff, but that will go away as well). [12:10] oh [12:10] I wonder if anyone who is not completely involved with the project actually *knows* this, then :) [12:13] aquarius, the scope management part is being reworked, so once that has landed, I think (and hope) it will be easier to grasp (and document). [12:13] ok [12:13] so, I have now successfully compiled and run a scope, yay [12:13] that was, I'll be honest, a lot harder than it should be :( [12:18] aquarius, it is, but we are collecting feedback to improve it. Go bindings should help and bindings for other languages will arrive sooner or later. [12:19] davidcalle, those things will most certainly help actually writing the code for a scope, but I haven't actually written any code here -- I've spent two days and had to ask a bunch of questions on irc just to get an environment where I can create a scope project and click "run" on it (without changing anything) and have it work [12:19] I am really looking forward to writing some scopes, once I don't have to do it in C++ :) but that's not the parts I've found hard, so far. All this stuff about "kits" is really, really confusing [12:25] I havent managed to get mine to run in an emulator either haha, just using the default kit thing and it opens in a window on my desktop. [12:35] mzanetti: hi, after messing around with complicated version of the game icon, I decided to do a simple (but colourful) icon. Take a look into the drive folder when you have some time and let me know if you like it :) [12:35] mivoligo: ack [12:41] mivoligo: to be honest it doesn't really blow my mind :) But it's still ok I guess. [12:42] mivoligo: can you try to give it a shot making the tower white? Like most of my icons here: http://developer.ubuntu.com/pioneers [12:42] hmm... that doesn't work with the way you do edges/shadows though [12:43] I do like the tower itself, but it's a bit too little color/contrast to the background imo [12:43] maybe not fading it out completely towards the end [12:44] In any case I'll start with using this one... [12:54] spazzymoto_, I can't do scopes on the desktop because that requires 14.10 :( === MacSlow is now known as MacSlow|lunch [13:32] mzanetti: yeah, I'm not good at icon making :) we can use it for now, maybe you (or someone else) can come up with something better in the future [13:33] mivoligo: ok, works for me. [13:34] mzanetti: btw, what's that Akinator thing there? Another game? [13:35] mivoligo: yeah, just a webgame I packaged up in a rainy sunday afternoon [13:35] mivoligo: http://en.akinator.com/ [13:36] I found it quite interesting to see how they aggregate and search information [13:36] mzanetti: Sam Hewitt is usually good for making icons... [13:36] popey: ah ok. thanks [13:37] http://snwh.org/icons/ === rmescandon is now known as rmescandon-lunch === MacSlow|lunch is now known as MacSlow === salem_ is now known as _salem [14:10] popey, can you link me to the click apps mirror? I need to download an older version of a click [14:31] nik90, ping [14:32] liuxg: pong [14:32] nik90, may I check sth with you regarding the clock core app? [14:32] liuxg: hell yeah, shoot :D [14:33] nik90, I have seen that the app got an url dispatcher in it, and it got an protocol like :"protocol": "alarm" [14:34] nik90, I do not know how other apps call it and how the parameters are handled in the clock app. [14:34] nik90, normally, i think it should have sth like UriHandler to handle it. [14:35] liuxg: it allows other apps to open clock app by specifying a url handler like "alarm:///" and that should open the clock app showing the alarm details [14:35] liuxg: I say "should", since the last part about it showing the alarm details has not been implemented [14:35] nik90, ok. then I understand it. so there is no parameters used in the app. I got it. [14:35] yup exactly [14:36] nik90, I thought it got some parameters to set the alarms :) [14:36] to be honest I am still thinking how to do the implementation since alarms don't exactly have an id afaik [14:36] nik90, if it is designed this way, it should work. [14:37] nik90, anyway, thanks for your reply. [14:37] liuxg: well I could add command line options for creating an alarm etc in the coming cycle [14:37] liuxg: yw, :) [14:37] nik90, should you have any updates, I would love to see them :) [14:38] liuxg: will do, how do I contact you? [14:38] also we could have a discussion about this at the upcoming UOS on nov 12-14 [14:38] nik90, my email address is xiaoguo.liu@canonical.com [14:38] nik90, that is good to know. thanks! [14:39] liuxg: cool, will keep you updated [14:39] nik90, again, thank you very much! === chihchun_afk is now known as chihchun [14:43] boiko, ping === _salem is now known as salem_ === Pici is now known as to === to is now known as Pici === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [15:20] how do I print something from scope code that I run in the emulator which I can then see in Ubuntu SDK's "Application output" pane? [15:23] #include , then cerr << "string" or cout << "string" [15:23] aquarius ^ [15:23] ah! [15:23] I was trying to use, like, qWarning() and stuff :) [15:24] aquarius: with voodoo, chicken bones and a blood sacrifice [15:24] aquarius, don't know about that yet, but I guess qt stuff should also work. [15:24] davmor2, no, that's to enable debug mode [15:26] davidcalle: damn it I always get those two confused [15:26] davmor2 :) [15:27] grrrrr! I have broken the scope -- it shows no content -- and I have no idea why :( [15:27] aquarius: did you refresh it? [15:28] refresh it? [15:28] and trying to use the debugger thing says "debugger is busy" and doesn't say why === salem_ is now known as _salem === _salem is now known as salem_ === salem_ is now known as _salem [15:38] Hi all [15:39] Can someone help me with simple question - I have dualboot installed on my nexus 4. Will this fact affect on installing new version of Android? Or I should return recovery partition first? === _salem is now known as salem_ [15:57] qtros, a system update is fine under dualboot [15:58] I guess that that assumes it's not dual booting by borrowing the recovery partition [15:58] balloons even to android 5? :) I hope I will get this update for my n4 [15:58] I've used multiboot and updated fine. it's cleanly seperated and recovery stays intact. I don't see why it would break [16:00] balloons it's just worries) [16:00] balloons it's much easier to ask before rather than fix it later) [16:01] balloons thanks, Nicholas :) [16:01] qtros, you are welcome. If it breaks, you get to keep all the pieces.. And probably blame me :-) [16:03] balloons :D === rmescandon is now known as rmescandon-afk === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun [17:41] ahayzen_: hiya! :D [17:41] popey, o/ [17:41] popey, FYI i got that db locking issue on the desktop [17:42] popey, so i had the music-app running and then copied 50GiB of music over...it didn't end well [17:46] popey, hmm i think the pot needs updating in victor's mp so either we can wait for him to update it...or land it then do another mp to update the pot? [17:46] popey, depends how soon you want the mp to land ;) [17:47] its not that urgent [17:47] cool i'll put it in the mp then :) [17:50] ahayzen_: ping [17:50] mihir, pong [17:50] ahayzen_: wow , i pingged you gtalk by mistake lol [17:51] mihir, i'm being ping'd in all direction [17:51] *directions [17:51] ahayzen_: any idea how can we remove showDivider for ListItem.Header ? [17:51] we can do that for ListItem.standared though. [17:51] mihir, we used to have showDivider=false...but that was for ListItem.Standard...and now we just use Item {} [17:52] Hmmm i wanted to have full width divider , not with margins , and it takes margins by default grrrrr [17:52] :/ [17:52] mihir, i haven't really played about with the different ListItems tbh [17:53] hehehe ahayzen_ no issues, thank you. [17:53] popey: we got feedback on email , only one change is there :D [17:56] yeah! [18:24] popey: hey, I have been dogfooding the location feature branch and I got positive results. It looks like mihir and davmor2 also didn't find any issue with it. I am going to get a code review and get it merged in a day or two. [18:24] popey: I will add 2-3 manual tests to accompany that to ensure it doesn't regress in the future [18:24] ok! excellent news. [18:24] nik90: :) i'll be keep testing as an when i get time. [18:25] mihir: cool, just opening the clock app in differnet locations and seeing if it shows the correct location would be good enough testing. [18:30] nik90: sure :) [18:34] popey: nik90 http://gmailblog.blogspot.in/2014/11/a-new-day-for-google-calendar.html [18:34] mihir: yeah I saw [18:34] I am still waiting on that inbox invitation [18:34] fancy [18:34] but looks like some nice integration between email and calendar [18:35] nik90: hmm yup , they have almost re-designd all their apps with new matiral design concept. [18:35] yes [18:35] i just got Inbox invite few last week , and that's pretty good. [19:12] popey, you may like this http://i.imgur.com/VA8ERn3.png [19:12] :D [19:14] popey, do you know if can password be stored with the scope settings api? [19:25] gcollura: what's that? are you running scopes on desktop in a window? [19:32] gcollura, nice ! [19:33] t1mp, it's unity-scope-tool [19:40] hmmmm has anybody encountered this? "build-mangamon-Ubuntu_Device2_GCC_armhf_ubuntu_sdk_14_10_utopic-Default (Konflikte durch Groß- und Kleinschreibung)" the last part of the build folder name literally translates to "conflicts in upper and lowercase" [19:40] and thus qtcreator can't find it [19:51] ahayzen_: i think maybe we should rate limit redraws of the music app when new content is arriving. The app goes mad when you drag and drop a lot of music on the device. redrawing constantly. [19:51] hmmmm weird. now it works [19:51] ahayzen_: I don't know what a good measure is, or how you do that, but it needs doing I think. [19:51] * kalikiana re-ran and deleted the folder a few times… whatever was wrong must have been cached before [20:21] is possible some sort of image caching with the scopes? trakt api are kind of slow, loading everything everytime is tedious [20:26] popey, i have no control over it...ms2 just invalidates the model and then reloads it [20:30] ahayzen_: hmm [20:31] popey, looks like what the issue is that ms2 has the db locked as it is r/w which prevents music from being able to read the models...maybe [20:31] popey, sortof comes back around to that point of are they committing after each individual item is added [20:31] yes [20:38] how do I package a scope? (and install it on a device) [20:40] nik90, i've been having a problem with the clock app where i set the snooze to 10 minutes but it only snoozes for 3-4 minutes [21:02] ajalkane, I can't seem to build file manager [21:05] ajalkane, building in qtcreator I get a 127 error, but building locally in-tree seems to work fine, but the binary has dependency issues [21:06] ajalkane, here's an attempt to run: http://paste.ubuntu.com/8808105/ [21:06] where can I find logs for a scope? [21:08] balloons: seems like you don't, for some reason, have up to date nemoplugin.so. I guess it's getting one installed in system instead the one built under filemanager [21:08] nemofolderlistplugin.so or something like that. [21:08] ajalkane, ahh, ok that makes some sense. It seems like there are depends listed in debian/control which should be anymore [21:09] gcollura, for the scope itself, it's simply the output pane of qtcreator, for the scope registry, it's in ~/.cache/upstart/scope-registry.log [21:11] davidcalle, because when running the scope from the terminal I can get several log message I manually put in the code [21:11] from ~/.cache/upstart/scope-registry.log I can only read: RegistryObject::ScopeProcess: Scope: "com.ubuntu.developer.gcollura.trakt-scope_trakt" closed unexpectedly. Either the process crashed or was killed forcefully [21:11] when running the scope [21:13] how can develop mobile apps on ubuntu [21:14] ajalkane, so I removed the following modules: qtdeclarative5-nemo-qml-plugin-folderlistmodel qtdeclarative5-placesmodel0.1 qtdeclarative5-pamauthentication0.1 [21:14] kam_x, you can check the documentation here http://developer.ubuntu.com/apps/qml/tutorial/, you should install the ubuntu-sdk package which provides everything to start with [21:14] sounds about right [21:14] ajalkane, and now on app startup I get errors about trying to import them.. they are missing [21:15] although even though they were to be installed on system, as they are by default I think, running the app should use the ones built locally on filemanager [21:15] I think there's something else wrong somewhere [21:15] the filemanager executable is supposed to add into QML import paths the local locations so that they're preferred [21:15] ajalkane, yes indeed. Can you take me through branching your code and getting a running binary? [21:16] I can try... but these things are really stuff that has not been touched in a long while, [21:16] You know I remember hitting this same thing [21:16] I was in Ubuntu 14.04, and I was told to update to 14.10. I did and it went away [21:17] ajalkane, well we should update the readme once it's sorted. I'm trying with a couple other folks, all on 14.10 with no luck [21:17] this worked for me not that long ago.. seems odd [21:17] humm... [21:17] What branch is it? Trunk? [21:17] ajalkane, yes trunk [21:17] gcollura, ah, I see. You can run the scope in debug mode in qtcreator, not sure about how to do it from the command line. You also potentially have logs in : /var/log/upstart/.log [21:18] okay, I'll try getting it... did you build the app in QtCreator before running autopilot? [21:18] ajalkane, I just removed everything and trying again. Branched, opened in qtcreator, building [21:19] ajalkane, ok, now it does work.. So hmm [21:19] Do you have only Desktop toolkit or both Desktop and arm toolkit selected? [21:19] right... [21:19] ajalkane, yes, I had to switch to the desktop toolkit [21:19] brendand: hmm, which image did you try this with? the latest promoted one #6? [21:19] ajalkane, I was building with the schroot [21:20] Remember I complained about a weird error with autopilot in sprint. It happened with both arm and desktop toolkit, and I had built both with QtCreator. I don't know if it's related to this [21:21] I don't know about schroot. Has been working building in QtCreator (at least when only Desktop toolkit has been selected) and then running autopilots [21:22] nik90, funny it worked this time [21:22] nik90, must be something else i did. when i get steps to reproduce it i'll get back to you [21:22] ajalkane, it might be. It's definitely a bit weird [21:23] brendand: I think I know what could have happended [21:23] ajalkane, anyways, Letozaf_ and doug5 are going to work on fixing the tests.. I think I mentioned this already. We're trying to build now and encountered this :-) [21:23] brendand: when did the alarm ring and when did you snooze it? [21:23] nik90, no that's not it :) [21:23] brendand: ah :) [21:23] you already know what I am going to say [21:23] nik90, i snoozed it quite quickly after it went off [21:23] Well great news that the tests are being worked on! Hopefully the build problems can be worked out, if I can help let me know [21:24] nik90, that is snoozes from the time you press snooze? [21:24] brendand: yes [21:25] ajalkane, for now we have it working so we'll save those for a bit. But it is a bit funny :-) [21:25] Gets some chuckles out of me every couple of nights also :P [21:32] ajalkane, does passing args work for you? like say passing -p for phone mode? [21:32] balloons: as in passing it directly to filemanager executable? [21:33] ajalkane, yes. [21:34] ajalkane, basically we need to start the app in phone mode on the desktop [21:34] Just a sec, I'll make sure on a fresh branch of the trunk. [21:37] davidcalle, ok I finally get gdb working, here's the log http://paste.ubuntu.com/8808526/, could you please help a second? if not, it's not a problem :) [21:40] balloons: umm this is a bit weird. I tried a couple of things, and it seems the command line parameters are parsed just alright in C++ but the QML side does not receive the changes [21:40] gcollura, no problem, looking at ti [21:42] balloons: sorry my mistake... command-line arguments are detected [21:43] balloons: it's just that passing -p has no effect. I don't see any code in QML that would inspect if it was set [21:44] so unless that's something the Ubuntu UI toolkit detects automatically, it just has no effect [21:44] gcollura, not sure what's wrong, at which point does it crash? At startup? [21:46] davidcalle, the scope shows up, but as soon as it tries to download the results it crashes [21:48] davidcalle, I'm running rtm [21:51] gcollura, is it dealing with an authentication method or just directly querying some API over HTTP? [21:53] davidcalle, it does only one http get on a trakt api [21:57] gcollura, it could be a malformed result, like a result missing its category. You can also try disabling the part that sends results to the Dash and see if it keeps running. [21:57] davidcalle, here's the code if you want https://github.com/gcollura/trakt-scope [21:57] gcollura, ah, thanks, looking :) [21:58] davidcalle, I don't know how to check that though, the scope works on the desktop and result are correctly displayed in their category [22:10] gcollura [22:11] got it :) [22:11] davidcalle, \o/ [22:11] ajalkane, ok.. well we need a way to run in phone mode on the desktop [22:11] gcollura, the trakt api is very laggy tonight and timeouts a lot. I did got results at some point on the phone [22:11] any ideas? [22:12] balloons: does that mean adjusting the size of the screen if on phone mode? [22:12] gcollura, scopes seem to timeout after 4 seconds. I think it's possible to change that value. [22:14] davidcalle, but I get those "closed unexpectedly" messages in the logs, which they seem to be not related to the timeout [22:16] gcollura, I don't get these [22:16] ajalkane, yep that's it [22:17] ajalkane, I tried setting things in filemanager.qml to be wideAspect false manually but that didn't seem to work, nor is is desirable [22:17] balloons: okay, I'll look into fixint that. I seem to remember some commit from dpm that changed something about that [22:17] ajalkane, awesome thanks.. if you can file a bug on it and also mention cleaning up the arguments in main.cpp to match reality :-) [22:18] balloons: sure thing [22:23] davidcalle, thanks for the help anyways, I'll try something else tomorrow :) I need some sleep, thanks again :) [22:23] gcollura, [22:23] gcollura, try adding a subtitle to your results [22:24] gcollura, you are declaring it in your category template, so the scope expects it. [22:26] ok thank you I'll try that :) [22:26] gcollura, ok, I'll be around tomorrow if you are still blocked :) [22:26] thanks davidcalle :) === salem_ is now known as _salem [22:39] balloons: I put a merge proposal with the fixes for -p commaand-line args, I put you as a reviewer so that you can make sure it's okay for your uses: https://code.launchpad.net/~ajalkane/ubuntu-filemanager-app/command-line-arg-phone-mode-fixes/+merge/240513