/srv/irclogs.ubuntu.com/2014/01/09/#ubuntu-app-devel.txt

nik90loicm: yeah I managed to get exactly what I want00:20
nik90loicm: but the only issue I am facing is I am unable to hide the shadereffectsource itself :P00:21
nik90if I hide it, then the ubuntu shape shows black00:21
loicmnik90: have you tried to explicitly call scheduleUpdate() on the source?00:22
nik90loicm: no I haven't. I wasnt aware of that function00:22
* nik90 looks at the doc00:22
nik90loicm: do I have to call scheduleUpdate() ? Since this ubuntu shape will be used in a listview where the data is static. so no live changes00:23
nik90loicm: also for now, I have assigned a width and height of units.gu(1) to hide it below the ubuntushape.00:25
nik90Although it seems a bit hacky way.00:25
nik90:P00:25
loicmnik90: sure but that might allow to render it once at creation and have the source correctly hidden00:25
nik90loicm: were you referring to my scheduleUpdate() question or the width/height to units.gu(1) ?00:27
nik90s/referring/answering?00:27
loicmnik90: to the scheduleUpdate() one00:27
loicmnik90: and if it works, it would solve your last issue as you wouldn't have to do that anymore00:28
nik90loicm: so I would call the scheduleUpdate() when the component has been loaded? Using the component.onCreation signal?00:29
loicmnik90: IIRC you could do something like that: Component.onCompleted: { source.scheduleUpdate(); }00:32
loicmin your main view00:33
nik90loicm: that's didn't work :/00:34
loicmnik90: just make sure it's called by putting a print in there, if it's called then I guess I'll have to take a deeper look at it, it's a use case that hasn't really been used so far00:37
loicmnik90: but that's perfectly valid and useful00:38
nik90loicm: I can confirm it is called, but it doesn't hide it. But thats fine for now I think. Thanks for your help.00:44
nik90I managed to implement the design spec as required :)00:44
loicmnik90: it's not meant to hide it, it's meant to avoid having it black when source is set as not visible :)00:45
loicmnik90: cool00:45
dholbachgood morning08:14
JamesTaitGood morning all! :-D09:22
Smit-TayCan anyone please explain why attempting to install 32 bit development libraries should result in this:  http://pastebin.com/QbqZuCZR09:35
Smit-TayI am trying to target 32bit from x86_64 Ubuntu 12.0409:36
Smit-Taytarget 32bit intel09:36
Smit-TayAre there good (current) instructions for how to go about setting up a development environment for targeting both x86 and x86_64 on Ubuntu 12.04 x86_64.  I find tons of info, but, most of it is related to multilib, which I understand to be deprecated.  In fact, I think part of my problem is exactly that I have attempted to use multilib but somehow by updating my compiler to 4.7 I have invalidated that.09:41
drpaneasHello there10:43
drpaneasI have a Python script and I want to embed it inside Dash10:44
drpaneashow can I do that ?10:44
drpaneasI mean, I want to output of the script to be printed inside the Dash instead of the terminal10:45
drpaneasno one ?10:56
=== davmor2_ is now known as davmor2
ogra_drpaneas, http://saravananthirumuruganathan.wordpress.com/2011/08/05/tutorial-on-writing-ubuntu-lensesplaces-in-python/ (among the first hits on google... not sure how up to date it is though)11:05
drpaneasogre thanks mate11:12
drpaneas@ogra_ thanks11:12
=== _salem is now known as salem_
mzanettidpm: o/12:11
dpmhey mzanetti, belated happy new year :)12:12
mzanettidpm: :) thanks. you too12:12
mzanettidpm: I'm trying to clean up the reminders-app state for tomorrow's meeting. could you please give this one a shot? https://code.launchpad.net/~mzanetti/reminders-app/add-image-support/+merge/19903112:13
* dpm looks12:13
dpmmzanetti, sure, give ~30 mins to give it a go12:17
dpmI meant give *me12:17
mzanettiok, sure12:17
=== zequence_ is now known as zequence
zsombinik90: hi man, I've checked the MR, I haven't seen anything wrong in using the component14:35
nik90zsombi: ah thnx :)14:36
nik90zsombi: There is one issue I faced14:37
zsombinik90: which one?14:37
nik90zsombi: that is when you assign hand.draggable = true (in the case of the timer), and the user adjusts the timer and presses start. The animation is choppy on my desktop.14:37
nik90zsombi: the issue goes away when I set hand.draggable = false14:38
zsombihmm...14:38
zsombinik90: have you filed a bug?14:38
nik90so in my custom component I had before, I used to disable the animation while the timer is running14:38
nik90zsombi: no not yet14:38
nik90I will do it now14:38
zsombinik90: as workaround you could set the draggable to false while you have the timer running14:39
nik90zsombi: yeah. I will do that14:39
nik90zsombi: but I really like the dialer.14:39
zsombinik90: but not sure whether I could provide any better solution for that... but file the bug, I will check it14:39
nik90I must ask though, the style is exactly like the clock app.14:40
zsombinik90: ;)14:40
nik90but the dialer is different from the picker style14:40
nik90is that okay?14:40
zsombinik90: what do you mean? the visuals?14:40
nik90yeah the visuals14:40
nik90the default purple tone for the dialer14:40
zsombiah, yeah... the visuals have not been checked by the design, so in case I need to change it to use different color, I will ping you, so you can create a different style for your app14:41
nik90zsombi: awesome.thxn14:41
nik90zsombi: that was all14:41
zsombinik90: for now use it as is14:41
nik90ok14:41
zsombinik90: glad you like it... I made it for the TimePicker, but then the design had changed and time picker uses tumbler style Pickers... so the component was there for you to use it ;)14:42
zsombinik90: dedicated to Clock app :D14:42
nik90zsombi: :D14:43
zsombinik90: actually I've reused some of your design for the component :)14:43
nik90zsombi: I noticed..but you also inherited some bugs as a result :p14:44
nik90zsombi: which is what I will report about :)14:44
zsombinik90: but in the rush hour I forgot to ping you to let U know about the component14:44
zsombinik90 :P yes, I imagined so :D14:44
zsombinik90: if you have the solution, you could also post them... or better, you could post a fix for those :D14:45
nik90zsombi: I will14:45
zsombinik90: btw, what bothers me a bit is the fact that the hour hand in Clock app uses 360 for 24h not for 12h...14:45
zsombinik90: so when I'm at 6h, it is actually 12h...14:46
nik90zsombi: true, this is where we need a setting for 12/24 hours format14:46
nik90zsombi: I am planning to add one soon, so that should help fix your issue14:47
nik90zsombi: by default I stuck to 24 hours since I couldn't display AM/PM in the UI14:47
zsombinik90: I'd say no matter of that, when the hour hand points to 6, it should be either 6 or 18/6pm.. like in N914:47
* nik90 is checking the android clock for the behaviour14:48
zsombinik90: I feel Android is not the best example :/14:49
nik90zsombi: it also uses the N9 behaviour you described14:49
zsombinik90: ok... didn't knew that... I don't have Android, I don't like them at all :)14:49
nik90zsombi: I will remember to report this as a design bug and get some eyes on this to decide on the best behaviour14:50
zsombinik90: ok, thx14:50
=== oSoMoN_ is now known as oSoMoN
dholbachhey guys... could anyone help with porting lp:~karni/+junk/todo-qt to use U1DB?15:28
dholbachit's one example we'd like to use for the app dev schools project, so folks get a first experience in writing good apps15:29
dholbach... any other pointers on how the code could be simplified/improved would obviously be appreciated too :)15:30
dakerkenvandine: how much i need to pay so that friends becomes like this http://www.canonical.com/static/img/home/tablet-home.png ?15:39
kenvandinenot pay :)15:39
daker:)15:40
kenvandinejust need someone to implement it :)15:40
kenvandinelooks very nice15:40
daker    WOW!15:43
dakerMUCH NICE!15:43
daker       SO PICTURES!15:43
=== gatox is now known as gatox_lunch
dakerkenvandine: i would like also to have a details page for the comments part, rather than opening them on the same place15:52
kenvandinedaker, it does that already15:56
kenvandineas of recently15:56
dakerkenvandine: perfect!!15:57
kenvandinethat landed before the holidays15:57
ErWinRanyone familiar with quickly and glade ??15:57
=== greyback is now known as greyback|away
dakerkenvandine: still blue ?16:18
kenvandinedaker, yeah16:22
kenvandinedaker, where did you find that image?  i haven't seen it before16:23
dakerkenvandine: leaked :p16:23
kenvandineit must be on some site :)16:23
kenvandinei've just never seen it16:23
dakerkenvandine: on the new canonical website http://www.canonical.com16:24
kenvandinei had played with some organic stuff like that, i love shorts16:24
kenvandinebut haven't had time for friends in a while16:25
=== gatox_lunch is now known as gatox
mzanettiballoons: hey17:02
mzanettiballoons: what exactly does an app need to ship in terms of test packages?17:03
mzanettido we need to have a .deb with the tests and a click pacakge with the tests?17:03
balloonsmzanetti, howdy. For now, yes we need both. Jenkins merge bot uses the debs, while the dashboard uses click17:04
=== greyback|away is now known as greyback
mzanettiballoons: hmm... can you point me to a tutorial for click packages containing tests?17:05
balloonsmzanetti, I can't.. I may be misinformed.. so much has changed with click I would suggest asking sergio17:27
balloonsthe tests should be copied to /home/phablet/autopilot and run from there17:28
balloonsperhaps the dashboard does it the same, pulls the branch rev, builds click, copies the tests over from branch17:35
popeynik90: mzanetti has reviewed that merge..18:04
popeyah, you're on it ☻18:04
popeytoo fast for me you younguns18:04
nik90popey: lol..I didnt see his comment before posting mine...I am in the process of fixing it18:05
mzanettinik90: hmm.. the timer still seems to run out of sync18:08
nik90mzanetti: on which device?18:09
mzanettiPC18:10
nik90mzanetti: also do you mean the text and the timer go out of sync?18:10
mzanettinik90: seems the pointer is slightly faster than the text18:10
mzanettihmm... maybe not18:10
mzanettimaybe its just my brain going ot of sync watching the click go round and round18:11
nik90mzanetti: the pointer is intended to be faster than the text18:11
nik90as in, the text should update only when the pointer reaches its destination18:11
mzanettiI think that's what confused me. in all the other pages first the time ticks, and then the pointer moves18:12
mzanettiwhile in the timer page its the other way round18:12
nik90previously we had it such that the text and timer update at the same time.18:12
nik90mzanetti: what would your recommended behaviour be?18:12
nik90should it stay as it is or change it?18:13
popeyI always prefer the time to change in the middle at the point when the hand hits that number18:13
mzanettihmm... without having spend as much thought as you did, I would say moving at the same time would be the best from a users pov18:13
popeyso 11:59 (hand leaves 59)... (hand arrives on 00).. 12:00.18:13
mzanettilike the time ticks exactly in the middle of the pointer movement18:13
mzanettihmm...18:14
popeyit always seemed odd to me that the clock might say 12:00 while the hand was only just leaving 11:5918:14
* nik90 meanwhile fixes the required stuff in the background18:14
popeybecause technically it's 11:59.000 then 11:59.001 etc, not 12:00 yet18:14
mzanettiyeah... your right18:14
mzanettilike it is in the timer page its the best. but I have a feeling that there is a small delay which makes it look odd again18:15
popeyyeah18:15
nik90mzanetti: it is hard to get that timing right.18:15
mzanettiI guess so18:15
mzanettihmm... actually not18:16
mzanettiwell, depends on the code.18:16
* mzanetti reads18:16
nik90right now it is delayed by 0.5 secs (the text update)18:16
mzanettinik90: from what I can see the SDK uses a default RotationAnimation. And according to the Qt docs the default duration for that one is 250ms18:20
nik90mzanetti: on trying that value, it definitely seems more smoother :)18:25
mzanetticool18:26
nik90mzanetti: should I change it in this MP itself?18:26
mzanettiI'd say yes. it touches all that code anyways18:26
mzanettibut you have more insights on the practices in the clock apps team than I do18:26
mzanettinik90: could we align all the pages to do the same?18:27
nik90mzanetti: I rather do that in a separate MP since these qml timers have introduced delays before like timer set for 2 mins running for 02:03 due to the phone hardware.18:29
nik90so it would be easier to track that regression in a separate MP.18:29
mzanettiok. fine with me18:29
popeymzanetti: "clock apps team" basically == nik9018:34
popey(and you now)18:35
popey(you can never leave)18:35
mzanetti:D18:37
ahayzenno pressure nik90 ;)18:39
ahayzennik90, thanks for ur help with the CoverRow stuff :)18:40
nik90ahayzen: np18:47
nik90popey: lol18:47
nik90mzanetti: fixed ur comments in the MP18:47
* nik90 rejoices at image 119 adding haptic feedback finally..18:50
mzanettinik90: much better with the 250ms :)19:25
nik90ahayzen: just 1 more small fix.20:58
ahayzennik90, yep?20:58
ahayzennik90, ah u commented on the MP ;)20:58
nik90;)21:00
ahayzennik90, pushed up :)21:01
ahayzennik90, yey ready for merge! ... now back to my attempt at a massive refactor....21:04
nik90ahayzen: which files?21:07
nik90ahayzen: I am targetting a code refactor too :P21:08
ahayzennik90, hah probably most of them ;)21:08
ahayzennik90, wht for?21:08
ahayzennik90, i started developing some new features and have got fed up with the way things currently work so gonna change it all21:08
ahayzennik90, i'm basically attempting to centralising the MediaPlayer object into its own file so it handles itself, eg all the shuffle, repeat, next, previous etc21:09
nik90ahayzen: I am planning a code refactor for MusicArtists and MusicTracks.qml files21:09
nik90ahayzen: similar to https://code.launchpad.net/~nik90/music-app/album-code-refactor-and-fixes/+merge/20094621:09
ahayzennik90, because at the moment if u want to change shuffle/repeat it is pretty difficult (u'll have to set the settings, the global variables and go and find any UI items and change their state lol)21:10
ahayzennik90, ah cool...also note (in ur refactoring) https://code.launchpad.net/~vthompson/music-app/use-sheet-pattern/+merge/20014021:10
nik90ahayzen: ah okay21:11
nik90ahayzen: i plan to get my branch in before that :P21:11
nik90so I wouldnt have to deal with conflicts21:11
nik90lol21:11
ahayzennik90, so wht i'm planning is tht everything else listens to the mediaplayer object so if u wanna change shuffle/repeat u just go player.shuffle = true .. job done :)21:11
ahayzennik90, hahah lol21:11
ahayzennik90, i've got a similar issue with the sheet pattern and my reorder code lol21:12
nik90ahayzen: since we both have (will have) conflicts with the sheet pattern MP, we ask him to wait until we are done21:12
nik90victor will listen to 2 of us :)21:12
ahayzennik90, well at least one of us will have merge conflicts lol ;)21:13
nik90rofl21:13
Ahmed_Hi geeks21:13
ahayzennik90, my reorder code is blocked/buggy anyway21:13
Ahmed_I wanna some docs for beginners devlopers21:14
nik90ahayzen: oh true, you are waiting on ur upstream branch to be merged first21:14
ahayzennik90, yep21:14
ahayzennik90, even if we don't enabled scrolling in tht MP it'll get rid of our custom swipedelete finally \o/21:14
nik90ahayzen: oh btw, there is one thing I thought is recommended..keep your files small..21:14
ahayzennik90, yeah thts why i'm trying to move Mediaplayer out21:15
nik90for instance the MusicAlbums.qml was massive while it could have been split into two files easily21:15
ahayzennik90, it has cause music-app.qml to become HUGE!21:15
nik90I will help with that organisation21:15
ahayzennik90, MusicAlbums.qml is much smaller after lp:~vthompson/music-app/use-sheet-pattern ?21:15
nik90I am first starting to clean and refactor code before proposing organization stuff21:15
* nik90 looks21:15
ahayzennik90, u agree with my thoughts on moving Mediaplayer into its own 'thing'21:16
nik90ahayzen: I agree on your reasoning to allow for easy global access. however I need to look more closer at the code to make a decision in all honesty21:17
ahayzennik90, i think i can get rid of half of the global variables ... just accessing the trackQueue model could be the interesting part...21:17
ahayzennik90, but i'll see how it all looks when it is ripped out :)21:18
nik90:)21:18
nik90ahayzen: +1 to the MusicAlbums.qml being smaller in victor's branch21:19
nik90I wonder where all the deleted code went?21:19
* nik90 digs deepre21:19
ahayzennik90, well he has a generic sheet now :)21:19
nik90clever21:19
ahayzennik90, or maybe 2... http://bazaar.launchpad.net/~vthompson/music-app/use-sheet-pattern/view/head:/common/AlbumsSheet.qml21:19
ahayzennik90, http://bazaar.launchpad.net/~vthompson/music-app/use-sheet-pattern/view/head:/common/SongsSheet.qml21:19
nik90ahayzen: that's much better.21:20
ahayzennik90, yep :)21:20
nik90ahayzen: he still has to bring in the CoverRow component into his MP21:20
nik90that should reduce it more21:20
ahayzennik90, just now we have the issue of the toolbar not being shown over the sheet21:21
ahayzennik90, any ideas how to force an object ontop of everything else?21:21
nik90ahayzen: that's a tough one, since dialogs, sheets etc take precedence over everything21:22
ahayzennik90, yep i know but it is really annoying, i tried setting the z to 1000 lol21:22
nik90lol21:22
nik90ahayzen: have you tried talking to timp or Kaleo perhaps?21:23
nik90they are the qml experts21:23
ahayzennik90, not yet21:23
ahayzennik90, it is only gonna become a *real* issue when tht branch lands21:23
ahayzennik90, at the moment it is only one use case...but it is on my list of things to investigate :)21:23
nik90ahayzen: actually it is also a bug before that in the album tracks sheet21:24
nik90Albums->Click on Album-> Try revealing toolbar21:24
nik90ahayzen: out of curiosity why sheets instead of pagestack?21:25
ahayzennik90, ^^ is the one use case i mean21:25
nik90I thought sheets were meant for getting user actions like email compose sheet etc21:25
nik90ah21:25
ahayzennik90, haha don't get me started on tht i wanted just to use Pages like i did with the now playing page (it works perfectly) ...21:26
nik90ahayzen: ah so victor is pushing for it?21:26
ahayzennik90, but see the link for wht the structure basically became https://docs.google.com/document/d/12ZvFDfH-7zjk-seTFpP205yOuUNi9ticEkvmQFi_bTY/edit#heading=h.qbx9jfq13q3e21:26
ahayzennik90, designers+Victor > me21:27
ahayzennik90, except i have won on the play queue...but shhhh don't tell anyone ;)21:27
nik90ahayzen: so looking at that structure, does that mean there is only 1 sheet (albums) in the app then?21:28
ahayzennik90, potentially but don't think it sortof works out like tht because Victor has 2 in the end21:28
nik90ahayzen: hmm weird21:29
ahayzennik90, oh no playlists is probably the second21:29
ahayzennik90, but tht says PageStack in the spec ;)21:29
nik90ahayzen: exactly21:30
nik90ahayzen: sheets arenot recommended by the sdk yet since they need a huge design revamp first21:30
nik90they look ugly21:30
ahayzennik90, +121:30
* ahayzen hugs pages21:30
nik90actually I hug pages and pagestack21:31
nik90pagestack is a genius21:31
nik90it load/unloads dynamically21:31
=== salem_ is now known as _salem
nik90ahayzen: are there any design meetings you guys might have?21:31
nik90I would love it join them to provide the "No sheet" reasoning :)21:32
ahayzennik90, we used to have weekly design meetings last cycle21:32
nik90me too21:32
ahayzennik90, but design don't really have time anymore and i think all the specs we have are basically considered the final phone designs21:32
ahayzennik90, but idk just the impression i've got21:32
nik90okay21:32
ahayzennik90, u know of the other specs?21:32
nik90I have 2 Music App Spec links21:33
nik90a google presentation and a document21:33
ahayzennik90, yep :)21:33
ahayzennik90, oh there maybe another...21:34
nik90another sheet or spec?21:34
* nik90 hopes the latter21:34
ahayzennik90, spec21:34
ahayzenlol21:34
ahayzennik90, have u got the UDS session spec?21:34
nik90ahayzen: no21:34
nik90ahayzen: https://docs.google.com/presentation/d/1D0lDUSp7CZv7UwjMDUMdqHWbnR_N9L6ovgt1PPO8CmE/edit#slide=id.g117c27a6e_018?21:35
ahayzennik90, so there is the UX Spec, UX concept (from UDS) and the 'Music Player Specification'21:35
ahayzennik90, https://docs.google.com/presentation/d/1nc7RTAD5ViEAdc3VsZyN-lkmG-AnO664uV-5wXZoZZg/edit#slide=id.p21:35
nik90okay21:35
nik90ahayzen: I saw the UX Spec and the Music Player Specification21:36
ahayzennik90, and this https://docs.google.com/presentation/d/1D0lDUSp7CZv7UwjMDUMdqHWbnR_N9L6ovgt1PPO8CmE/edit#slide=id.g117c27a6e_01821:36
ahayzennik90, think it is basically a summary of the UX Spec...IIRC there is a video somewhere21:37
nik90ahayzen: do you see this slide at https://docs.google.com/presentation/d/1D0lDUSp7CZv7UwjMDUMdqHWbnR_N9L6ovgt1PPO8CmE/edit#slide=id.ge29b68e7_014921:37
nik90it shows a different toolbar21:37
nik90did that get revised?21:37
ahayzennik90, http://summit.ubuntu.com/uds-1308/meeting/21922/appdev-1308-design-review-music/21:37
ahayzennik90, tht was pushed back due to a) complexity b) those buttons won't actually do anything at the moment anyway21:38
nik90ah okay21:39
nik90good decision :)21:39
nik90the current toolbar is just freaking amazing!21:39
ahayzennik90, thanks only slightly custom ;)21:39
nik90ahayzen: oh btw I cant run music-app on the phone through qtcreator21:40
ahayzennik90, once we move to pagestacks we can get rid of tht stupid gap on the left on the 'compact' toolbar21:40
ahayzennik90, yeah i know it is a *nightmare* to even run the music-app on the phone :/21:40
ahayzennik90, wht error do u get?21:40
nik90ahayzen: I get file:///home/phablet/dev_tmp/convergence-alt-toolbar-show/music-app.qml:26 module "org.nemomobile.grilo" is not installed21:40
ahayzennik90, yep same which is obviously not true because the app installed on it runs :P21:41
nik90exactly121:41
nik90!21:41
nik90any tricks up your sleeve to get it working?21:41
ahayzennik90, and when i use the autopilot automated testing script tht popey gave me tht runs any branch21:41
ahayzennik90, go back to ~3-4 rev before Mir was introduced... or ~November when it magically worked for a bit21:42
ahayzennik90, i've tried to manually get it in many times but haven't had much success lately21:43
nik90ahayzen: you mean like image #70 something? oh god no :/21:43
ahayzennik90, yh pahahah21:43
ahayzennik90, u have the autopilot testing script?21:43
nik90ahayzen: I came to know of its existence only today :)21:44
nik90popey told me during the meeting about the script21:44
ahayzennik90, i tried to hack tht to let me pick a branch to install and run on the device21:44
nik90ah so you install the music-app on ur phone everytime you want to test it21:44
ahayzennik90, no tht doesn't work, just get a white screen21:45
ahayzennik90, i haven't *recently* been able to get the app running on the phone21:46
ahayzennik90, i'm hoping it is due to app confinement and when we get rid of Grilo it'll all work :)21:46
nik90ahayzen: okay...so how do you gurantee when it goes on store, it will open correctly?21:47
nik90u r getting rid of Grilo?21:47
ahayzennik90, autopilot testing...and somehow victor used to get his to work21:47
nik90okay21:48
ahayzennik90, if u get it working let me know lol i would greatly appreciate it :)21:48
nik90ahayzen: alrite can you organize a hangout or somethig with victor? I really want to discuss with him and you about using pages instead of sheets (with his new MP).21:49
nik90ahayzen: ofc. But if you couldn't then I doubt I can considering I haven't much experiecne with qml plugins like grilo21:49
ahayzennik90, probably, he is best contactable via email although the timezones cause havoc for tht sortof thing lol21:50
nik90ahayzen: where do you live?21:50
nik90and where does victor live?21:50
nik90I noticed he replied to my MP at 05:00 AM21:50
nik90(my time)21:50
ahayzennik90, me UTC, Victor UTC-6, Daniel UTC+121:51
nik90ah UTC-6....no wonder21:51
ahayzennik90, but when i go back to uni i'm usually up late ;)21:51
nik90ahayzen: dude I was coding yesterday on the music MP until 04:00 AM :P21:52
ahayzennik90, 4AM easy :P.... i got up to 5/6AM consistently last semester lol21:53
ahayzennik90, but i should probably reel tht back in lol21:53
nik90rofl21:53
ahayzennik90, but back on topic i suspect the issues with the app running on device are click/confinement related21:54
nik90ahayzen: I suppose21:55
ahayzennik90, which i have very limited knowledge of21:55
nik90yeah me too21:55
nik90haven't the single clue about how click packages work yet21:55
ahayzennik90, wonder who we could talk to about this?21:56
ahayzennik90, i've tried just randomly asking for help before but to no avail21:57
nik90ahayzen: I heard sergio is really good with click packages since he is the one who updates the core app click packages...21:57
nik90ahayzen: but I think we should talk to popey before that..21:57
ahayzennik90, yeah probably21:57
nik90he can point to the right person immediately21:57
* popey waves21:57
popeywassup?21:57
ahayzennik90, IIRC victor used to just manually overwrite the files tht have changed21:58
ahayzennik90, but tht only used to randomly work for me21:58
ahayzenpopey, running the development builds of the music-app on device21:58
nik90ahayzen: that is too messy21:59
ahayzenpopey, if u try and run through the QtCreator u get file:///home/phablet/dev_tmp/convergence-alt-toolbar-show/music-app.qml:26 module "org.nemomobile.grilo" is not installed21:59
nik90popey: we are having trouble running music-app on phone through qtcreator to test it21:59
nik90we get the error message ^^'21:59
ahayzenpopey, when i've tried to manually install i usually get a blank white screen21:59
ahayzenpopey, i think u tried to help me before by looking through the upstart logs but we didnt get far21:59
popeyah22:00
popeyso I have recently been pointing people at a funky script mzanetti wrote to do that22:00
popeyhttps://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/run_on_ubuntu_touch.sh22:01
popeythat script22:01
popeywould need fiddling for music app but not much22:01
ahayzenpopey, thanks22:02
* ahayzen tries the script22:02
* nik90 looks eagerly22:02
ahayzenpopey, so do we put it in the same dir as the app we want to run or pass arguments ?22:04
popeyi pass no arguments22:05
popeyi just run it with -s to setup22:05
ahayzenpopey, where is it pulling the code from?22:05
popeyits in the root of the application directory22:06
* ahayzen squints at bash script22:06
popeybzr branch lp:reminders-app22:06
popeyto test it22:06
popeyrun it first with -s22:06
popeythen once setup is done, run it again and it runs the app22:06
ahayzenpopey, bash: cd: music-app/builddir/src/app/: No such file or directory22:07
ahayzenpopey, ah their code layout is quite different22:08
popey?ok22:10
popeythe other option is balloons's magic script22:10
ahayzenmore magic scripts :)22:10
* ahayzen wonders how many magic scripts popey has along with subdomains22:10
popeymnuhahah22:11
nik90ahayzen: looking at that script, we need to change the build() and build_click_package() functions22:11
ahayzennik90, yeah there is quite a bit to change :/22:11
nik90+122:11
popeyok22:14
popeyis the balloons script not useful?22:14
popeyhttp://paste.ubuntu.com/6721815/22:14
popey./test.sh lp:foo/bar/ music_app22:15
popeywhich should install music app then start tests, actually if you miss off the "music_app" off the end it will install it and then fail to start tests22:15
popeygetting you what you want22:15
ahayzenpopey, is tht the autopilot testing one u gave me before?22:16
popeyyes22:16
ahayzenpopey, tht was very useful for autopilot testing :)...but i tried to make it only install and run but didn't know the cmds to run :/22:16
popeyyou should not need to22:17
popeyit will replace the current version, just launch as normal from the icon on phone22:17
balloonsyes, it builds a click package and sends to the phone22:17
ahayzenpopey, ooo ok i'll try it :)22:17
ahayzenballoons, o/22:17
balloonsif you peek at the script a bit, you can manipulate it to your hearts content22:17
* ahayzen wonders if u could point a local bzr location at it22:18
balloonsthe tests are run from /home/phablet/autopilot22:18
balloonsin theory, yes you could.. but it's simple enough to commit22:18
balloonsI should say more than theory, hah.. you could tweak it to do so.. use a location, instead of an lp location22:18
ahayzenok so i just did $ ./testing.sh lp:~vthompson/music-app/use-sheet-pattern22:21
ahayzenit install the app and failed to run the tests22:21
ahayzennow when i try and run the app from the phone i just have a white screen22:21
balloonsahayzen, if it fails or you simply want to re-run, just use phablet-test-run to re-run22:22
ahayzenballoons, i wanted to run the app so i can test myself22:23
balloonsit's already installed so you can re-run without running the whole script again22:23
ahayzenballoons, i ran the script then tried to run from the dash... looking at the log of upstart ' Manifest 'com.ubuntu.music' version '1.1.299' doesn't match AppID version '1.1.291''22:24
popeyhave a look in /home/phablet/.cache/upstart.... for a recent log file22:24
ahayzenand 'WARNING **: Desktop file unable to be found'22:24
popey22:25
ahayzen...damn crashed unity22:33
ahayzenpopey, balloons ok so running ./testing.sh lp:music-app then letting unity crash and reset has allowed me to run the app again22:34
balloonsyea, once it's copied.. you can reboot the device, re-run the test, whatever22:35
ahayzenballoons, so why didn't it run Victor's branch was the manifest incorrect?22:36
ahayzenballoons, basically we currently have no easy way of running custom builds of the music-app on device so are searching for a solution22:36
balloonsahayzen, sorry I'm not following closely :-) Dealing with calendar tests atm :p22:36
balloonsahayzen, yes, I understand22:36
ahayzenballoons, aha no problem ;)22:37
balloonsthe easiest way RIGHT now is the script.22:37
balloonswhat I'm working on is modifying phablet-test-run to do this22:37
balloonsso in theory.. I want you to run local, run lp branch, and run on emulator or device22:37
ahayzenballoons, it is a shame running from QtCreator doesn't work :/22:37
balloonsnik90 mentioned this desire too. I don't play in qtcreator much :-)22:38
balloonsso, ahayzen does your current options make sense? did it work ok/22:40
ahayzenballoons, i'm gonna try the script on another branch see if i can get it to do something22:41
ahayzennik90, u had any luck running the app?23:04
nik90ahayzen: no I tried for a while then started working on other things23:33
ahayzennik90, haha same i need to spend some time properly investigating :/23:33
nik90ahayzen: hey do you know how to copy files from the device to the laptop?23:34
ahayzennik90, i do...hang on23:34
ahayzennik90, oh device to laptop?23:35
nik90ahayzen: yes...a file outside the user directory23:35
nik90so I dont see it in the nautilus folder in nexus 4 device23:35
ahayzennik90, adb pull <remote> [<local>]  - copy file/dir from device23:35
nik90ahayzen: perfect. thnx23:37
ahayzennik90, np23:37
ahayzennik90, moving the mediaplayer out is starting to work quite nicely i just hope i'll get it approved :)23:40
nik90ahayzen: nice23:45

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