/srv/irclogs.ubuntu.com/2013/05/29/#juju-gui.txt

benjiooh, the AttributeError: 'NoneType' object has no attribute 'clone' problem is aparently a symptom of a change to PyPI (they put it behind a CDN)12:15
gary_posterhey bac, it looks like your branch *might* have broken jenkins in some new exciting way12:15
gary_posterit failed twice in the same way since your branch12:16
gary_posterI have no idea why your branch would trigger that error :-/12:16
gary_posterbut could you do a bit of investigation and see if you can dupe, maybe by running the tests locally12:17
gary_poster?12:17
rick_h_benji: I thought I got that before this. Cool if there's a fix though. 12:19
rick_h_benji: the thing is that it's loading a package that's locally cached isn't it?12:19
benjino fix yet12:19
benjiI don't think we've set up any local caching.12:21
rick_h_benji: the archives directory?12:22
rick_h_with closure-linter and selenium?12:22
rick_h_I was thinking that path was off when running in the new dir lbox creates12:22
benjiMaybe.12:23
rick_h_benji: ah, nvm. Reading my log it's installing closure_linter, but failing on the dep python-gflags so yea...pypi12:24
benjiI just installed python-gflags into my system (apt-get install python-gflags) and it is happy now12:24
hatchmorning12:56
bachi hatch13:02
gary_posterhey hatch13:03
gary_posterbac I talked to you in your absence13:03
gary_posteryou did not reply13:03
gary_poster<gary_poster> hey bac, it looks like your branch *might* have broken jenkins in some new exciting way13:03
gary_poster<gary_poster> it failed twice in the same way since your branch13:03
gary_poster<gary_poster> I have no idea why your branch would trigger that error :-/13:03
gary_poster<gary_poster> but could you do a bit of investigation and see if you can dupe, maybe by running the tests locally13:03
gary_poster<gary_poster> ?13:03
bacgary_poster: ok, will do13:03
gary_posterthanks bac13:04
benjiThe PyPI CDN issue has been fixed.13:34
rick_h_yay13:38
rick_h_luca: jcastro heads up, url change for using the browser on uistage: https://jujugui.wordpress.com/2013/05/29/yesterday-we-landed-a-change-that-moved-the/13:59
jcastrorick_h_: ok so I need to change the link on the website?14:01
rick_h_jcastro: ? which website?14:01
jcastrojuju.ubuntu.com14:01
jcastrohas a link to ui stage14:01
rick_h_jcastro: no, that's just to view it with the browser14:01
jcastrooh, ok, nod14:01
rick_h_jcastro: for your own 'how does it look, qa, wtf'ness14:01
rick_h_jcastro: vs uistage:/bws/sidebar/...14:02
jcastrorick_h_: I was expecting you to need the link updated, because IS just updated the website like 10 minutes ago. And you know how fate rolls.14:03
jcsackettrick_h_: branch is actually updated now: https://codereview.appspot.com/982804314:17
rick_h_jcsackett: rgr, will look. Thakns14:17
jcsacketthatch, Makyo: any chance one of you could take a look at https://codereview.appspot.com/9828043 ? need a second review.14:17
Makyojcsackett, sure.14:18
jcsackettthanks Makyo.14:19
abentleysinzui: Could you please review https://code.launchpad.net/~abentley/charmworld/shrink-mongo/+merge/165928 ?14:22
sinzuiabentley, this is the entire module that does the checking in pocketlint. http://bazaar.launchpad.net/~sinzui/pocket-lint/trunk/view/head:/pocketlint/formatcheck.py14:25
abentleysinzui: Cool.14:25
rick_h_jcsackett: feedback inbound14:29
benjianyone up for a second review? https://codereview.appspot.com/9657046/14:36
teknicobenji: looking14:40
benjihatch: is your "Create document about angular vs yui refactoring" card in review because you want people to review it?  If so, I have a moment to do so.14:40
benjithanks, teknico 14:40
jcsackettrick_h_: any examples of a docstring for @event with paylod? can't find one.14:51
rick_h_jcsackett: yea, hmm. There were examples docs we're supposed to use for the @event stuff. Trying to see if I can find it.14:53
hatchgary_poster, http://en.wikipedia.org/wiki/Anders_Hejlsberg yeah it was C#14:55
gary_posterhatch, :-) cool14:55
rick_h_jcsackett: per http://jujugui.wordpress.com/2013/04/26/weekly-update-matt-start-using-yuidoc-event-yuidoc/ since you don't publish the event I'm wrong. 14:55
rick_h_jcsackett: so nvm I guess. 14:55
jcsackettrick_h_: ok.14:58
teknicobenji: how about a quick call about your branch?14:59
Makyojcsackett, FYI, something's up with net, I've been pulling from npm for about 30 mins.  Promise I'm reviewing :)15:06
jcsackettMakyo: dig. thanks for the update, and sorry for your net woes. :-)15:06
rick_h_anyone else seeing giant request times to npmjs.org? https://registry.npmjs.org/uglify-js/1.3.4 for instance is 20s to load for me atm15:10
* rick_h_ regrets the make clean-all right now15:10
Makyorick_h_, ^^^15:11
MakyoGuess it's not just me.15:11
rick_h_Makyo: ah, missed the npm part of your comment. 15:11
rick_h_Makyo: ok, glad it's not just me then15:11
rick_h_Makyo: wasn't there work going on to make npm an offline cache for installs?15:12
rick_h_Makyo: or did that never get into play. Or just on the charm?15:12
Makyorick_h_, I thiiink some set up a local cache for themselves a while back, but I don't think it ever became part of the actual process.15:13
* rick_h_ fears doing a lbox submit ... 15:14
benjiteknico: I just noticed your message.  Sure, how about the regular place?15:18
teknicobenji: guichat? ok15:19
gary_posterrick_h_, Makyo benji: benji did that15:33
rick_h_jcsackett: return review? https://codereview.appspot.com/9841044 hatch or bcsaller as a second please? Ignore the updated generated .json files used for sample data in the tests. 15:33
gary_posternpm cache15:33
gary_posterbut for distributions15:33
gary_posterin the charm15:33
gary_posternot usable for developer15:33
rick_h_gary_poster: ah ok, so not in dev. 15:33
hatchrick_h_, ok I can take a look15:33
gary_posterright15:33
rick_h_hatch: thanks, should make your life easier. 15:33
hatchI hope I don't have to QA that json file :P15:34
rick_h_sinzui: abentley though in testnig I'm still getting 1.5-2s requests to /interesting so might be cool to start up some caching or such on m.j.c coming up15:34
rick_h_hatch: I said not to :P15:34
rick_h_hatch: two .json files generated, just trust me, they're valid ones from m.j.c 15:34
hatchhaha15:34
sinzuirick_h_, against m.jc ?15:34
rick_h_sinzui: yes15:35
gary_postermanage.jujucharms.com15:35
gary_posterI like it15:35
rick_h_sinzui: that's locally so might not be perfect test case, but noticed it a lot in doing QA15:35
sinzuirick_h_, when I browse m.jc, I often see my requests timeout ...well a timeout between apache and the proxies15:35
rick_h_sinzui: and the caching from jcsackett will help as well, but still. 2s for the request and .5s for the transfer was longer than I'd hoped15:35
rick_h_sinzui: :(15:35
abentleyrick_h_: How does that compare to requests for static files on m.j.c?15:35
rick_h_abentley: looking15:36
rick_h_abentley: so each icon is sub 300ms for instance15:36
rick_h_abentley: the /interseting OPTIONS request was 130ms while the actual data was 2.3s in this sample load 15:37
rick_h_that's 130ms including network time15:37
abentleyrick_h_: Gotcha.15:37
sinzuidamn. I cannot get m.jc to show me the timeout now. I bet its meager cache is hot right now15:37
rick_h_so still all nice and better, but might be nice to stick a card/bug to look for low hanging fruit to optimize15:38
abentleyrick_h_: So it sounds like a genuine perf issue.  We could address it with caching, but we might be able to optimize in other ways.  I would prefer that, because that would also help users who hit /interesting when it's cold.15:38
sinzuiabentley, /interesting is getting a lot of related charms at this moment. Your current card may address that15:39
rick_h_abentley: definitely. didn't mean to say we should implement X, just investigate. Once this branch lands we'll see it a lot easier. 15:40
hatchrick_h_, donezo15:47
rick_h_hatch: yay thanks15:48
hatchdon't thank me yet!15:48
rick_h_well, maybe yay. Depends on what you found 15:48
hatchjk ;)15:48
hatchlol nothing to serious15:48
gary_posterjujugui call in 10; kanban now pls15:50
rick_h_hatch: replies inbound. I disagree :/15:51
hatchNEVA!!!15:51
rick_h_hatch: let me know if you need more convincing :P15:52
hatchI do, I have a very thick skull15:52
hatch:P15:52
hatchhaha going to read now15:52
* rick_h_ goes to get the 'agree with rick curse you' bat15:52
hatchI think we can reach some middle ground15:55
hatchinvestimagatering15:55
rick_h_hatch: k, welcome to have a chat post-stand up 15:55
gary_posterjujgui call in 215:58
abentleyadeuring: now that there's a 'promulgated' attribute, I think charmworld.models.is_reviewed should be removed, or redefined in terms of the promulgated attribute.16:12
abentleyadeuring: similarly for reviewed_clause16:13
abentleyin ElasticSearchClient.16:13
adeuringabentley: yes, renaming would make sense. I am not sure about removing the function -- could it happen that we redefine reviewed/promulgated/... again?16:14
abentleyadeuring: It's conceivable that we'd redefine 'reviewed', but I don't think that justifies keeping a one-liner function, especially since I think changing the def is unlikely.16:17
adeuringabentley: well, changing this one-liner helps to change several views at once :)16:18
adeuringI prefer to have this sort of "common definition", even in trivial cases16:19
hatchrick_h_, replied - lemme know if you would like to discuss 16:20
rick_h_hatch: guichat?16:23
hatchyup16:23
rick_h_hatch: nvm, new chat16:23
hatchit's full16:23
hatch:)16:23
hatchr u making the new room or am I? :)16:24
rick_h_hatch: tried to make one and invite you. You no show16:25
rick_h_hatch: https://plus.google.com/hangouts/_/762e94644ca67de98ca216ec502111c4f338a3b2?hl=en16:25
abentleyadeuring: sure, and the main virtue of the "promulgated" attribute is that it can act as that common definition.  It would be even better if it were called "reviewed" instead of "promulgated"-- that would make it obvious that we should update its definition if the definition of "reviewed" changes.16:30
adeuringabentley: ummm... what if the meaning of promulgated and reviewed diverges? I chose promulgated as the attribute name because it refects the things done by ptomulgation script16:32
gary_postersinzui, hey.  I have two topics.  First, I wanted to check with you as to where we are with m.j.c stability.  We had said that it would be ready to be used in production for the gui by the end of this week, as I understood it.  is that what you understand, and is that still on schedule?  Jon gave me an overview and it sounded like everything was well in hand with the possibly significant exception of mongo insanity.16:35
gary_poster  That made me a bit nervous.16:35
jcsackettgary_poster, sinzui: specifically, as i understood from standup, we're still looking at the mongodb size which has given us problems.16:36
gary_posterSecond topic was making sure that Orange and GUI are aligned in terms of incremental delivery.  While it is true that we have a big deadline and unveiling for your work in a couple of months, the GUI has many incremental deliveries before then, and we want to make sure that Orange squad is comfortable and happy and aligned with the fact that their work will be released incrementally, frequently and much sooner than 16:38
gary_postera couple of months from now.16:38
gary_posterack thanks for clarification jcsackett 16:38
sinzuigary_poster, we have sorted the db issue. We still see a performance issue relating to large data transfers that will be fixed, but I think there may be other undiscovered performance issues as hinted in the channel a few hours ago16:40
gary_postersinzui, fantastic about db issue.16:40
rick_h_jcsackett: not sure if you saw but I talked jeff into letting my dirty tricks go, care to second please? https://codereview.appspot.com/984104416:41
jcsackettrick_h_: looking. nervous about "dirty tricks" though. ;-P16:41
sinzuigary_poster, We also need to ensure all charm data is consistent. That is to say, charm rules have changed over time, but not all charms have been updates. I want this fixed this week. I think that will give us the reliability we need16:41
rick_h_jcsackett: bwuhahahahaha16:41
gary_postersinzui, reliability fixed this week: also great.  performance and reliability: will we have m.j.c updated our Friday morning so we can evaluate it and see if it is performant enough to reveal the charm browser (without flags) in the GUI?16:43
sinzuiyes, let's do that16:44
gary_postercool thanks sinzui 16:45
gary_postersinzui, made appt for Friday.  Gave you edit privs.  Feel free to invite all of orange, move, or do what you will.  You'll coordinate with IS to get m.j.c updated for then?16:48
sinzuifab. Thanks gary_poster16:49
gary_posterty16:49
teknicobenji: I forgot to mention in the review that you need to add the new doc filename to docs/index.rst, for it to show up in the generated docs16:50
benjiteknico: that's a good one.  I already submitted the branch though.  I'll do a quick self-reviewed branch to add it to the index.16:51
teknicobenji: sorry for the delay :-)16:52
benjiteknico: we really need a test that would have failed when I added a doc file but forgot to stitch it into the doc tree16:52
benjiand we need another test that shows that the docs build with no errors/warnings16:53
teknicobenji: uhm, interesting notion. tests about docs? what next, docs about tests? OHWAIT16:53
benji:)16:53
jcsackettjujugui: since having to recreate my juju-gui environment, make devel sometimes requires sudo...have i screwed something up, or is that just the way it is?16:54
gary_posterthe former, I hope.  I don't16:54
benjithat is new behavior to me16:54
jcsackettok. i'll poke around and see what's happened. AFAICT it asks for sudo when doing npm get.16:55
rick_h_jcsackett: sec, got a fix for you16:55
jcsacketthurray16:55
jcsackettrick_h_: make this go away, and you will be my new hero.16:57
rick_h_jcsackett:  sudo chown -R rharding:rharding ~/.npm ~/tmp/ 17:00
rick_h_jcsackett: only s/rharding/yourUser17:00
rick_h_jcsackett: when you follow the hacking dock and sudo npm install the couple of deps, it creates those dirs owned by root:root and later it tries to reuse them for local use and can't17:00
rick_h_jcsackett: I hit it every time I setup a new lxc/etc17:01
jcsackettrick_h_: fixed it. fantastic, thanks.17:01
abentleyadeuring: Then IMO "promulgated" should change to with the definition of "reviewed", because "promulgated" itself is not valuable info-- it is redundant with store_url.17:06
* hatch lunching17:14
adeuringabentley: Might make sense. The main issue is probably that we need to define better what promulgated/reviewed/approved/whatever means, and how we want to represent it in code and data. But I am meanwhile a bit tired, let's discuss this another day17:14
=== deryck is now known as deryck[lunch]
rick_h_benji: ping, I'm trying to lbox submit and the tests complete, but right after I get a error about tornado missing in test/websockietreplay.py?18:06
rick_h_benji: did that get added to a deps list or am I missing a manual step for lbox submit and the copy/dir it creates?18:06
rick_h_benji: https://pastebin.canonical.com/91804/ is the trace from submit. 18:08
rick_h_benji: ah, nvm. It's a sys package so nothing would have installed it. any reason we can't use a download-cache/locked python version of these things? Isolate them more and not need manual steps to build?18:09
rick_h_benji: and curious how you got around the problem with the clone then so I can do this in an lxc vs my main system. 18:09
benjirick_h_: I'm back from lunch and readying the scrollback.18:17
rick_h_benji: rgr18:17
benji??18:17
rick_h_benji: basically the how to get around the clone thing I think will fix things for now18:17
benjirick_h_: I thought the recent PyPI CDN fix would have made that go away.  Hmm, you may have cached broken downloads from PyPI.18:19
benjialso, my work-around was to install python-gflags into the system (apt-get install python-gflags, IIRC)18:19
rick_h_benji: yea, tried that but when I go to run a submit, it hits the virtualenv directory for it and fails to find it18:20
rick_h_we're in this strange with a venv, but with system packages mode that isn't sync'd right it seems18:20
benjirick_h_: perhaps killing the virtualenv would help; I clobbered mine mightily while fighting the same problem18:20
rick_h_benji: yea, doing another make clean-all, but this is happening on lbox submit so it's creating the whole directory, merging trunk, etc all outside of my control 18:21
benjiI would much rather use buildout for this.  It is a bit harder to use that pip, but it has much nicer tools for making reproducable builds.18:21
rick_h_we use pip with it in charmworld. 18:21
rick_h_http://bazaar.launchpad.net/~juju-jitsu/charmworld/trunk/view/head:/Makefile#L7818:22
rick_h_ok, will keep hacknig at it then. I thought had you found a different fix. 18:22
benjiI wish I could be of more help.18:22
rick_h_benji: so then if you don't have this what version of virtualenv do you use right now? I'm wondering if it's pre "all venvs will be --no-site-packages" change perhaps18:23
rick_h_benji: thus why your installing of the gfalgs system wide works while mine doesn't18:23
rick_h_err, gsflag or whatever it is18:23
benjirick_h_: oh! that's probably it; on your advice I installed a newer virtualenv (in my account, not system-wide, but to the same effect)18:24
rick_h_benji: ok, so when lbox submit runs is it using the older system one or the newer local one?18:24
benjinewer, local18:24
=== deryck[lunch] is now known as deryck
hatchlittle concerned my laptop harddrive is cookin!18:51
rick_h_time for an upgrade!18:51
hatchI can feel the heat radiating off of it18:51
rick_h_cook cook cook18:51
hatchlol I have to completely disassemble the laptop to get to it. This thing needs to last until the new MBP comes out18:52
* hatch wants haswell18:53
bacyay, jenkins is happy again19:02
baci wish i could report i fixed it and this will never happen again.19:05
rick_h_bac: I accept your report and celebrate wildly :)19:06
bacrick_h_: you better do it quickly before the next run of jenkins roulette19:07
hatchlol19:10
gary_poster:-/19:19
hatchto add another script to the assets directory and have it combined in much like d3 do I simply need to add it to JSFILES in the makefile?19:41
bacbenji: on CI tests, i am seeing periodic failures on IE10 for set_test_result.  the call to connection.request results in getaddrinfo failing trying to get info for saucelabs.  (due to a bug it confusingly report "no such file or directory").  you have any thoughts?19:49
hatchhmm nothing i try will get the makefile to build angular into the all-yui.js file19:54
=== BradCrittenden is now known as bac________
hatchO K what's the trick?20:00
rick_h_hatch angular?20:01
hatchto include assets into the bundle20:01
rick_h_hatch the js frsmework?20:01
hatchyeah20:02
hatchis the trick to create a link to it in the assets dir?20:03
rick_h_ok color me ingerested on whats up with pulling in another framework.20:03
rick_h_bah stupif d tablet keyboard20:03
hatchprototyping some stuff20:04
hatchbut it's no good if I have to manually include a huge script tag in the index.html20:04
hatchlol20:04
=== bac________ is now known as bac
rick_h_jcsackett: ping, still around?20:27
jcsackettrick_h_: yup.20:28
rick_h_jcsackett: so I was poking at the network graph on staging http://uistage.jujucharms.com:8080/:flags:/browser_enabled/ and noticed that it's loading spin.min.js outside of the rest of the js?20:28
rick_h_jcsackett: is that expected or maybe a miss in adding the file to the list of known modules, merge-files, etc?20:28
jcsackettrick_h_: that's used for the intiial spinner when you open jujugui; i haven't monkied with that b/c my attempts to do so broke it locally. i have a cleanup branch that changes that initial spinner to use the spin YUI module and kill spin.min.js20:30
rick_h_jcsackett: ah, makes sense I guess. I don't have a before/after atm so it just jumped out at me20:30
jcsackettrick_h_: yeah, anything with spin.min.js predates my work--i left it alone while updating our spinners.20:31
Makyo *dogwalk*21:37

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