20:01 #startmeeting File Manager meeting 20:01 Meeting started Tue May 6 20:01:42 2014 UTC. The chair is popey. Information about MeetBot at http://wiki.ubuntu.com/meetingology. 20:01 20:01 Available commands: action commands idea info link nick 20:01 hi popey, ajalkane 20:03 Hows it going ajalkane iBelieve ? 20:03 howdy popey 20:04 popey, it's been VERY busy, but I'm finally able to make it to the File Manager meeting. 20:04 Good to see you both. 20:05 ajalkane: I see from https://bugs.launchpad.net/bugs/1315989 you're having difficulty there.. 20:05 Not going good. I've been blocked with the ContentHub stuff forever. But that's life I guess. 20:05 kenvandine: are you about? Able to help ajalkane ? 20:05 Yeah, solve one problem, come another 20:06 It's been neverending cycle unfortunately... mostly between the build process changes and emulator breakages 20:06 ? 20:06 ajalkane, what's the issue? 20:07 kenvandine: right now that the emulator doesn't show Apps when ran... and when I run from command-line importer it shows only Gallery, not your exporter example 20:07 Gallery as source that is 20:07 It would be great to get the content-hub stuff working on desktop and not have to block on the slow and unreliable emulator 20:07 it works on the desktop 20:07 just have to install the packages as click 20:08 the app switching isn't great, you have to switch to the other app yourself 20:08 Ok if I could get that working it'd help a lot 20:08 but it launches for you 20:08 ajalkane, i thought you had gotten that working? 20:08 kenvandine: no, I have been at the impression the ContentHub only works in emulator 20:08 the only trick is you have to install the click package differently on desktop than on the device 20:08 pkcon on the device 20:08 and click install on the desktop 20:09 so I can just install importer/exporter on Ubuntu 14.04 desktop and it will work? 20:10 is the launcing of importer the same (upstart-app-launch ? 20:14 I installed importer/exporter, "click list" displays nothing. Not sure how I should run them? 20:14 I forgot... should I use "click install --user ", I just installed with "sudo click install" 20:18 I can run importer with "qmlscene /opt/click.ubuntu.com/com.ubuntu.developer.ken-vandine.hub-importer/current/hub-importer.qml" 20:18 But it shows no sources 20:19 iBelieve: did you see my mail about the merges from Carlos? 20:19 Worth noting that my ubuntu installation is something I updated some months ago to 14.04 development version. Up-to-date by apt-get update && apt-get dist-upgrade though 20:19 If the ContentHub stuff requires on desktop something more I'd need to know what to do 20:20 ajalkane: check you're not missing anything you should have with "sudo apt-get update" then "sudo apt-get install ubuntu-desktop^"? 20:20 popey: no, it's up-to-date 20:20 popey, I did. I'm somewhat familiar with C++, so I'll try to take a look at the merges. 20:20 the ^ is important - will install any missing bitsd 20:21 -d 20:21 aah... 20:21 The following NEW packages will be installed: libnet-libidn-perl python3-aptdaemon.pkcompat 20:22 Doubtful that can be the difference to make it work? 20:22 nah 20:22 iBelieve: appreciate that thanks. we asked Carlos to break it down into more manageable chunks 20:25 Yeah, I took a look at the original commit and had to tell Carlos I could not in good conscience review it as I could not make sense out of it unless it was divided into more manageable pieces 20:25 Good that he had time to do it 20:27 ajalkane: ah, you're installing with click install? 20:27 ajalkane, no, you can't run it with qmlscene 20:27 you need to use upstart-app-launch 20:27 kenvandine mentioned pkcon install-local, rather than click install if that makes a difference 20:28 pkcon install-local foo.click 20:28 popey, the original merge was certainly huge 20:28 yeah 20:28 for some reason you can't use pkcon on the desktop 20:28 ah, bummer 20:28 at least last i heard 20:28 sudo click install --user=$USER foo.click 20:28 works though 20:28 ah okay 20:28 what's annoying is there is some reason you shouldn't do that on the device 20:29 yeah, cjwatson laughs at you if you complain about that 20:29 so we have to do it differently... and it trips people up 20:29 where is upstart-app-launch installed? Doing "which upstart-app-launch" returns nothing 20:29 you need to pass the appid 20:29 I seem to have upstart-app-launch package installed 20:30 upstart-app-launch com.ubuntu.developer.ken-vandine.hub-importer_hub-importer_0.2 20:30 assuming the version is 0.2 20:30 ajalkane, also make sure you have the content-hub package installed 20:30 it's possible to have the libs and not the service 20:31 I seem to have content-hub (sudo apt-get install content-hub) 20:31 also "sudo apt-get install upstart-app-launch" 20:31 says I have newest version 20:32 ok, then that should work 20:32 if it doesn't, you can see the logs in ~/.cache/upstart/ 20:32 each app gets a log file, look for the appId 20:32 but "which ubuntu-app-launch" does not return a path. So the binary, where ever it is, is not in my PATH 20:32 oh! 20:33 upstart-app-launch :) 20:33 pff... 20:33 ok but still the same, I just mistyped that time :) 20:33 arto@ubuntu:~/coding/content-hub$ which upstart-app-launch 20:33 arto@ubuntu:~/coding/content-hub$ 20:34 ah, it's in the upstart-app-launch-tools package 20:34 but it should have told you that when you tried to run it 20:35 got a crach running "upstart-app-launch com.ubuntu.developer.ken-vandine.hub-importer_hub-importer_0.2" 20:35 * crash 20:36 ** (process:14658): ERROR **: Unable to find keyfile for application 'com.ubuntu.developer.ken-vandine.hub-importer_hub-importer_0.2' 20:36 did you confirm the version is 0.2? 20:36 what version of the click package do you have installed? 20:36 ok this might be because I didn't install with --user... I'll try installing again 20:37 make sure you include --user=$USER 20:38 If I installed without --user should I do some removing before? And do I install with "sudo click install --user...:" ? 20:38 still sudo 20:38 sudo click install --user=$USER somefile.click 20:41 sudo click install --user=$USER com.ubuntu.developer.ken-vandine.hub-exporter_0.2_all.click 20:41 ** (process:16436): WARNING **: Unable to get manifest for 'com.ubuntu.gallery' package: com.ubuntu.gallery does not exist in any database for user arto 20:41 sigh... because you don't have gallery installed as a click... 20:41 that's probably harmless though 20:42 just don't try to use gallery for import or export :) 20:42 what about these: 20:42 ** (process:16436): CRITICAL **: manifest_version: assertion '*manifest != NULL' failed 20:42 ** (process:16436): CRITICAL **: upstart_app_launch_triplet_to_app_id: assertion 'version != NULL' failed 20:42 what command did you use? 20:42 ah, same problem 20:43 try starting it with "upstart-app-launch com.ubuntu.developer.ken-vandine.hub-exporter_hub-exporter_0.2 20:43 " 20:43 great, I got the importer/exporter example working 20:43 cool 20:43 thanks... this will help a lot 20:44 ajalkane, you can also grab the gallery-app source and run the click-build script 20:44 to build a click for it 20:44 and install it the same way 20:44 nah, I won't need it as long as I can test filemanager works with the importer 20:44 but I have to ask... 20:45 does ContentHub support asking for any file category nowadays? 20:45 Last we spoke I had to hardwire FileManager to return Pictures 20:45 if you use the ContentPeerPicker component, it lets you ask for ContentType.All 20:45 that will list all peers 20:45 I mean can I tell in manifest FileManager can return any type? 20:45 the importer example uses that 20:46 no... you can't :) 20:46 right now you can only register for well-known types 20:46 But it's coming, or am I not understanding something how this is supposed to work? 20:47 so the thing is... the filemanager doesn't actually provide the content right? 20:47 that would be saying it owns the content 20:47 there are some discussions... 20:47 and there was a g+ post yesterday with ideas for this 20:47 specific to filemanager actually 20:47 My understanding is that user could use filemanager to select any file if none of the existing apps provide it 20:48 For example to upload a file to web-page... or for e-mail attachment 20:48 the problem right now is there no way for the filemanager to know where to find this content 20:48 From filesystem that is 20:48 because pictures could be in many different locations 20:48 depending on what app owns it 20:48 Filemanager's content is the filesystem :P 20:49 If some application owns it's content in some protected space, that's obviously out-of-scope for FileManager and the application has to be exporter 20:49 right... but are you going to have the user browse ~/.local/share/com.ubuntu.developer.ken-vandine.foobar/Pictures to find pictures? 20:49 well all apps own their content, and it's all sandboxed 20:49 filemanager is unconfined though 20:50 so technically could access it 20:50 but how would you know where to find it? 20:50 Nope, but if the user for example transfers content to his sdcard to phone he knows where it is 20:50 yeah, so that's a good use case for the filemanager 20:50 but 20:52 ajalkane, look at https://plus.google.com/117574309170420884411/posts/GQbk3XbJkGH 20:52 that's a discussion that we had yesterday 20:52 i need to head out now though, running late :) 20:53 Okay, thanks for help ken... ws really helpful 20:53 ajalkane, ping me tomorrow if you have more questions 20:55 Thanks kenvandine! 20:55 This proposal is good, but I don't think it removes the need for being able to provide any file to user for uploading etc. 20:55 Furthermore I have doubts this proposal is that easy to implement that it will be evailable any soon 20:56 certainly not soon 20:56 ajalkane, the proposal is actually kind of the opposite of being a content provider. I was thinking of having it be for previewing content in all the user's installed apps. 20:56 iBelieve: ah I see, quick browsing failure. I thought it'd be accessing the data itself 20:57 ajalkane, basically it acts as a central place to see all the content in your apps, and then open the content in the actual app 20:59 ajalkane: do you have everything you need to work on the content-hub stuff? 20:59 Any other blockers you can see? 21:00 I see. I like it. But I can see it's still a lot of work for SDK :) 21:00 popey: I can at least try to continue now with great prospects for future ;) 21:01 Ok. 21:02 ajalkane, yeah, it would probably be quite a bit of work to implement the API side. 21:02 iBelieve: let me know if you're having difficulty with those merges, and I can get someone else to take a look, please. 21:02 Nokia's N9 had something similar with it's Seach application. Indexing content with tracker and then displaying it in categories. 21:03 N9 used tracker? 21:03 * Search application 21:03 yeah it did. 21:03 Maybe we need a files scope in unity on the phone which uses a file scanner like mediascanner does for audio/video 21:04 Though the Search app used some other blob on top of that... but that was AFAIK unnecessary 21:04 File scanner like in Ubuntu desktop would surely be nice 21:05 Assuming it wouldn't wreck battery life 21:06 Ok, any other issues to bring up? 21:06 the problem with a file scanner is most apps use U1db or LocalStorage 21:07 and their own custom storage format 21:08 I'm good to go and hopefully no new issues next week :P 21:10 Ok. 21:10 lets wrap up then, thanks for coming guys. Let me know if either of you get stuck, you don't have to leave it till the meeting, I'm around most of the time ☻ 21:10 have a great week guys. 21:10 #endmeeting