/srv/irclogs.ubuntu.com/2013/10/17/#juju-gui.txt

gary_posterhey frankban, forgot about juju server for bug 124070811:16
_mup_Bug #1240708: API server falls over repeatably during AllWatcher Next, killing GUI <juju-core:New> <juju-gui:Triaged> <https://launchpad.net/bugs/1240708>11:16
gary_posterI still don't see why it would be on our side11:16
gary_posterbut as long as it is fixed, I'm ok with it :-)11:16
frankbangary_poster: the builtin server is enabled by default in the new charm release. if you switch to the legacy server, the problems (errors in console, inspector frozen) disappear11:18
gary_posterfrankban, ah ok11:19
gary_poster:-/11:19
frankbangary_poster: I am investigating and it seems to be (drum roll and shame on me) a string encoding problem in a log message (when the charm info includes non-ascii bytes)11:20
gary_posterfrankban, lol, yay string encoding11:21
frankbangary_poster: I stupidly assumed the ws messages were already encoded, but tornado (a good guy) gives them to me as unicode objects11:21
gary_posterfrankban, completely understandable.  ugh string encoding in Python.  yay for easy fix, hopefully.11:23
frankbangary_poster: the fix is easy: add .encode('utf-8') to all the log calls which include a ws message11:23
gary_posterfrankban, ideally we would have had some people using the server when we asked ;-)11:23
gary_postercool frankban. have you verified that this fixes the symptoms?11:24
frankbangary_poster: https://ec2-54-234-223-41.compute-1.amazonaws.com/  (password in pvt): could you please double check? that's running the builtin server.11:26
gary_posterfrankban, perfect11:28
gary_posterfrankban, I still don't see exactly how this would have resulted in a stop in the core logs.  Our server fell over and disconnected from core?11:29
frankbangary_poster: at least the builtin server was trying to get our attention: "Juju API unexpectedly disconnected". when a message arrives from the iostream, tornado calls the async callback previously registered. if an exception is raised by the callback, it aborts the connection. In out case the callback is WebSocketClientConnection.on_message, which calls WebSocketHandler.on_juju_message, which calls "logging.debug11:35
frankban(self._summary + 'juju -> client: {}'.format(message))". the error in the juju-core logs refers to a next() response not being able to be sent because the connection is dropped (I guess)11:35
gary_posterfrankban, I did have a related thought: we ought to make our server disconnect webserver connections when we get disconnected from core11:35
gary_posterfrankban, ah ok11:36
gary_posterfrankban, do you want to postpone 1-on-1 or go ahead?  completely up to you12:02
frankbangary_poster: joining12:02
rick_h_antdillon: did you see the feedback on your branch?12:57
rick_h_antdillon: make sense/in progress or need a hand with that?12:57
rick_h_gary_poster: thinking on the conversation about the error stuff with promises I added a high maint. card for a generic 'smart' promise error catcher with some ideas in the notes13:00
rick_h_gary_poster: let me know if that's not a good plan or there's a better one out there.13:00
gary_posterrick_h_, cool.  I'll see if I can have an explicit time for this conversation in SF.  thank you13:06
frankbangary_poster: could you please review https://codereview.appspot.com/14772044 ?13:24
gary_posterfrankban, on it13:24
frankbangary_poster: if you need an environment ready to qa, you can use https://ec2-54-242-218-111.compute-1.amazonaws.com/13:24
gary_posterperfect thanks frankban 13:25
gary_posterfrankban, had to look up {!r} :-)13:29
frankban:-)13:30
gary_posterfrankban, shouldn't we have encoding protection for logging in server/guiserver/auth.py and server/guiserver/bundles/utils.py?  Looking to see how _summary is generated also...13:34
gary_poster_summary looks fine as is13:35
gary_posterwell, no...13:36
gary_posterrequest.uri can have unicode, right frankban ?13:36
gary_poster(server/guiserver/utils.py in request_summary function)13:36
frankbangary_poster: I'll check if request.uri is unicode. for the other places with logging, I'll add !r13:38
gary_postercool thanks frankban.  qa looks good and LGTM with those comments.  recording on rv now13:38
frankbanthanks13:38
gary_posterdone13:40
jcastrohey gary_poster13:43
jcastroso I just deployed gui just now in AWS13:43
gary_posterrick_h_, antdillon did my comments on https://codereview.appspot.com/14700043/ make sense?  antdillon, rick_h_ and I would love to get this landed13:43
gary_posterjcastro, listening13:43
jcastroand now in the inspector the link is not only unclickable13:43
jcastroI can't even highlight it to copy and paste13:43
gary_posterjcastro, what link?13:43
jcastroin the inspector 13:43
gary_posteroh13:43
jcastroif I click wordpress/0 under running units13:44
rick_h_gary_poster: yes, made sense to me. I've ping'd antdillon and if I don't hear back I'll take it over and get it done once I finish huw's here. 13:44
gary_postercool thanks rick_h_ 13:44
rick_h_*tsk *tsk huw forgot to add tests13:44
gary_posterI noticed :-)13:44
rick_h_so adding to help it move forward so we'll have it on the tab13:44
gary_posterjcastro, hoping to make a release with the fix for the bug you reported today.  unable to copy and paste is pretty odd13:44
gary_posterthat is, hoping to make a release today of the bug you reported a week or so ago13:45
jcastroyeah I think that might be a browser bug13:45
jcastrogary_poster, is it within 3 hours? I am doing a demo during the ubuntu demo hangout13:45
jcastroso I can either work around or wait, I can do either or13:45
jcastrorick_h_, also, new presentation with the gui trick13:45
jcastrosince google hangouts let you share only one window13:45
jcastroI added the google ssh for chrome extension, and then I ssh to localhost to do the juju cli stuff13:46
gary_posterjcastro, work around I'm afraid.  we have one more blocker and person working on it doesn't start for a few minutes.  I'll ping you if I have good news, but for now assume we won't make t in 313:46
jcastrothat lets me tab back and forth from the gui and the CLI in one window, badass13:46
gary_posterjcastro, actually13:46
rick_h_jcastro: hah! awesome13:46
gary_posterjcastro, if you want you could try using juju set juju-gui juju-gui-source=lp:juju-gui13:47
gary_posterjcastro if that works better for you, use it13:47
antdillonrick_h_, Hey, sorry knee deep in release. I read the comments, will fix them up now and push them13:47
gary_posterit will take about 10 min to build, during which the original release will be served13:47
jcastrogary_poster, I'll rehearse with the release for now and workaround13:47
jcastroI learned my lesson from demoing trunk13:48
jcastronot your trunk, I mean trunk in general13:48
gary_posterjcastro, :-) ack and understood.  FWIW, we have an instance running 0.10.1 right now and copy/paste of url seems to be fine. :-/13:49
gary_posteron ec213:49
gary_posterso dunno13:49
jcastrogary_poster, ok that appears to be a browser issue on my side13:49
gary_posterok cool13:49
jcastroI killed chrome with a -9 and respawned it now it magically works13:49
gary_posterheh13:50
gary_posterok13:50
hatchmorning13:53
jcastrohey hatch13:53
jcastroand rick_h_13:53
jcastroa guy put haste in the store13:53
jcastroit's a nodejs pastebin, same one that runs hastebin.com13:53
jcastroit demos nice13:53
hatchoh very cool, I'll have to check it out13:53
gary_posterhatch, welcome back!13:53
gary_posternice time?13:53
hatchthanks! glad to be back13:54
rick_h_jcastro: nice13:54
hatchit was nice to not be on a computer for a while :)13:54
antdillonrick_h_, gary_poster Do you know how I should implement the routing code for onboarding?13:57
rick_h_antdillon: you don't need to. There's no routing really involved13:57
gary_posterantdillon, did you see the patch I provided?  It's not perfect, but it's not bad. :-)13:57
hatchnow onto the 400+ emails13:58
rick_h_antdillon: oh yea there's a pastebin link gary gave you13:58
gary_posteronly 400+?  bah :-)13:58
hatchhaha I tried to stay on-top of them13:58
hatchfailed I guess13:58
hatchlol13:58
gary_poster:-)13:58
antdillongary_poster, Ah sorry missed it, is it in the qa?13:58
gary_posterantdillon, yeah.  lemme find...13:59
gary_posterantdillon, http://paste.ubuntu.com/6247161/13:59
antdillongary_poster, Awesome thanks14:00
gary_posterwelcome14:00
frankbangary_poster: request.uri is already a string, fixed the other occurrences14:12
bachey gary_poster.  chat?14:13
bachi hatch14:14
hatchhey bac14:14
gary_posterfrankban, awesome.  bac, sorry, realized I was missing when I got some water.  coming over now14:17
hatchemails done14:48
hatchgary_poster: any specific task you'd like me on right now?14:49
gary_posterhatch, wow, right you are here. :-)  Makyo is working on the remaining critical bug, so f he could use help that would be great.  Otherwise...you could qa new bundle stuff you haven't seen, you could try making a version of the wiki bundle that has x/y annotations and make sure that works properly, or...14:52
Makyohatch, fix firebug so that it doesn't close websockets if you set breakpoints.14:53
gary_posterhatch, bundle vis pan and zoom if you are up for challenge14:54
gary_posterhatch also could go for some clean up branches14:54
gary_posterhey luca__ I gave you a branch showing the behavior of hiding the inspector when you made a relation14:54
rick_h_added a bug today about the activeTab support missing from the bundle details14:55
gary_posteryou want that?14:55
gary_posterhatch ^^^ rick_h_ 14:55
rick_h_trivial14:55
luca__gary_poster: ah yeah, I have not looked at that yet14:55
hatchsure14:55
luca__gary_poster: it might be better to review it next week quickly when together14:55
gary_posterluca__, :-P I make you a branch and everything!  :-) ok cool14:55
hatchand Makyo sorry can't help there - does the native FF inspector work yet? :)14:55
luca__gary_poster: haha sorry :D14:55
gary_posternp :-)14:56
Makyohatch, heh, I haven't tried in so long, come to think of it. Should just use gary_poster's trick rather than messing with config-debug so I can just use chrome.14:56
MakyoI guess that's better for QA than dev, though14:57
luca__gary_poster: Also, I think having a 0 unit state could actually really help us15:06
hatchrick_h_: I will review your onboarding branch15:07
rick_h_hatch: I'm actually reviewing/landing that for antdillon 15:08
rick_h_gary_poster: 's done a second review15:08
rick_h_hatch: so we're good15:08
* hatch rejects15:08
gary_poster<snort>15:08
hatchmissing description and camelcase in app.js (so far)15:09
* hatch really would have rejected that branch15:17
* rick_h_ adds a description and fixes camelCase15:17
rick_h_hatch: due to the url hackery?15:17
hatch4 event handlers for a hover change, url wakyness, plus some other minors15:17
rick_h_well as you can see it's not been without it's dicussions15:18
rick_h_and it's a first pass, it'll get updated. 15:18
rick_h_behind a FF15:18
hatchI guess.......15:19
hatchI'd like to at least see cards for the follow-ups15:19
hatchjust so that the 'bad' code doesn't stick around15:20
hatchsorry that came off a little...harsh - it wasn't meant to be like that :)15:21
hatch4h of sleep is messing with my filter lol15:24
hatchlove the skinnier header15:30
rick_h_yep15:30
hatchand I see the charm token has been used 'again'! lol15:31
hatchshould put a big warning at the top of that file - "used EVERYWHERE"15:31
hatchhaha15:31
rick_h_yep, jcsackett has claim for most reused bit of code in the gui anywhere15:31
hatchoh I thought the token was your baby?15:32
hatchor did you just adopt it when he left?15:32
rick_h_well I helped think hard about it :)15:32
hatch(woah that was kind of morbid reading it back)15:32
rick_h_lol15:32
gary_posterhatch: hover change: that's probably something you change in no time flat.  slip it in?  I forgot about the YUI hover helpers.  url wackiness: not sure what you mean, once my patch is applied, other than the fact that the desired behavior is not clear to me until fullscreen mode is gone.  I made a call with behavior I thought was ok in the patch.  might be nicer if it were in browse code so it didn't have to repeat 15:32
gary_posterthe "sidebar" logic, but enh.  Do you have more concrete concerns that we should make a bug for?  other minors: slip 'em in?  This was a code contribution, and as such I want us to help it go smoothly.15:32
rick_h_gary_poster: it's in and landed. Created a card to move to the browser.js module when we add support for storing the state of 'did the user see this, don't show again' logic15:33
gary_posterrick_h_, ok cool.15:33
gary_posterthank you15:33
rick_h_gary_poster: hover clean up can occur at that time as well, but we can get UX feedback as I've got some design concerns overall and prefer to get luca__ and company looking at it15:33
gary_postercool15:33
luca__rick_h_: gary_poster oh no, rick has design concerns! run for the hills :P15:34
gary_poster:-)15:34
hatchhaha15:34
rick_h_luca__: :P comingsoon is loading15:34
rick_h_expect a ping any minute now :P15:34
luca__rick_h_: rofl15:34
hatchgary_poster: the biggest issue I had was the url routing stuff should be handled via the routing code15:34
rick_h_the onboarding masking is a bit nuts 15:34
hatchbut then rick_h_ infrmed me there was discussion around that already15:35
rick_h_hatch: yea, and that'll go away entirely when it's in the browser15:35
rick_h_it'll be able top just check the viewState.viewmode15:35
hatchmodals can die the most painful way possible15:35
gary_posterheh15:35
hatchthe WORST is when people put videos in modals15:35
hatch'yes, I totally want to look at a black window while this video is buffering instead of reading your page content'15:36
gary_postertar --exclude affects the sources of symlink files.  weird15:37
hatchman I just sound bitter this morning15:37
gary_posterso if you have build-prod/juju-ui/assets/source/api as a symlink...oh wait a sec...15:38
hatchis the 'Add to my canvas' text shifted to the left for everyone else too? I'm having some caching issues so just want to make sure before I file a bug15:39
gary_posterhatch, charm?  looks ok on comingsoon to me15:40
hatchhmm ok I'll screenshot it15:40
gary_posterbundle looks fine too15:40
hatchgary_poster: https://www.evernote.com/shard/s219/sh/75bfc4a3-83ae-4357-8803-903590073a59/f27d7423845e6b325848d3880255f296/res/f32bf30f-e9a9-47db-acd4-dfa4ea52e33a/skitch.png15:41
gary_posterthat's where I see it hatch.  wrong?15:42
hatchshouldn't the text be centered in the box?15:42
gary_posteroh!15:42
gary_posterhatch, that tells you how fabulous my eye is15:42
gary_posteryeah hatch15:42
gary_posterI bet the issue has something to do with the similar bundle button15:43
gary_posterwhich is centered15:43
* bac wonders if that is the WORST. #firstworldproblems15:43
gary_poster:-)15:43
hatchhaha ok np, chrome has just been crashing for me a lot this morning and refuses to clear the cache so I wasn't sure if it was just me :)15:43
hatchbac: no, modal videos are clearly worse :P15:43
bachatch: ok, yeah i see your point.15:44
hatchdarn I missed http://www.kickstarter.com/projects/556341540/pressy-the-almighty-android-button while I was away15:45
hatchsuch a great idea!15:45
hatchrick_h_: ^ figured you'd like that15:47
rick_h_hatch: yea, almost got into that 15:47
* Makyo pointedly goes to make coffee.15:49
hatchrick_h_: I'm assuming that this tabview hash code is handled separately somehow? It should be handled by the tabview code by default but that doesn't appear to be the case on the bundle tabview even though it's using identical code15:49
gary_posterlol15:50
hatchjujugui call in 1015:50
* hatch waited until Makyo had left15:50
gary_posternicely done, all15:50
* Makyo claps for hatch "Well done! You beat me to it!"15:51
bac"pressy comes with fourteen click combinations"  -- that does sound intuitive!  i can rarely get double-click-to-skip song to work on my teeny tiny headphone button15:51
bacugh, charmworld login tests fail if you lose network connectivity.15:53
rick_h_hatch: the view has to handle an activeTab attr and get that from the browser.js state controller15:53
rick_h_hatch: I didn't look into why it didn't work since I'd think it'd be shared. I wonder if the bundle stuff just isn't setting the activeTab in browser.js like for charm.js15:54
rick_h_hatch: and then there's a line that takes the activeTab ATTR and forces the tabview widget to go to that tab15:54
hatchrick_h_: ahhh I see that now15:54
hatchI missed it because of the name difference15:54
hatchcool thanks15:54
rick_h_hatch: coolio15:55
hatchyup trivial fix, I'll clean it up so it's shared15:55
rick_h_hatch: awesome, thanks15:55
hatchdo we know why it's not working by default?15:55
hatchlike why the tabview code isn't reacting to the hash in the url?15:55
hatchprobably knew at one point15:56
rick_h_hatch: yea, trying to recall. The issue was that we ignore parts of the tabview because if it routes it causes issues15:56
rick_h_changing the url, cauing a dispatch, wants to redraw, something15:56
hatchI'll accept that15:56
hatchlets blame double dispatch15:57
rick_h_lol15:57
rick_h_I feel like that 'Blame Candada!' song from south park15:57
rick_h_"blame double dispatch! blame double dispatch!"15:58
hatchlol15:58
gary_posterjujugui call in 215:58
jcsackettrick_h_: technically isn't the charm model the most used code anywhere?16:01
jcsacketts/used/reused/16:01
rick_h_jcsackett: it'16:01
rick_h_maybe I guess16:01
hatchjcsackett: I don't know what you just did, but your text changed :)16:01
hatchused changed to reused16:01
jcsacketthatch: i sent a substitute command, a la vim. some clients render it, and anyone using a client that doesn't probably knows what it means.16:02
hatchoh cool16:02
hatch /s/used/reused ?16:02
* jcsackett nods16:03
jcsackettless the leading slash.16:03
hatchcoolio16:03
hatchs/coolio/foobar16:03
hatchdoesn't look like I can do it16:03
hatchhaha16:03
jcsackett...that's odd.16:03
jcsackettif it worked for what i sent, it should work for what you send.16:03
jcsackettit's not part of IRC--it's just a thing some clients do.16:03
jcsackettoh, ending slash.16:04
jcsackettlike, s/coolio/foobar/16:04
hatchhmm16:04
hatchs/hmm/fooo/16:04
hatchoh nice16:04
hatch:)16:04
hatchthanks16:04
hatchhaha16:04
jcsackettrick_h_: mind you, i'm happy to take the reward for most reused code. :-)16:05
hatchgary_poster: in Ubuntu I get the same results as you - so there is something not quite right there16:15
gary_posterhatch, :-/ ok cool that means good stuff to fix :-)16:15
rick_h_hatch: added two cards for the two things brought up in call16:16
hatchright - so was there discussion on a release date? I'm assuming that it was pushed?16:16
rick_h_hatch: the bundle button and mystery charm token event helper16:16
hatchthanks16:16
MakyoHousemate wandered upstairs in his boxers with headphones in, I figured I'd spare you all. :P16:17
gary_poster:-)16:17
hatchhaha - oh that would have been funny16:18
gary_posterhatch, we are making non-bundle release today.  we will be able to demo bundle story 1 (display) & story 2 (deploy); we will have most of story 3 (stability) and maybe all of it.  We will arrange with Jorge and Antonio to pre-populate approved bundles in store before we release.16:19
hatchcoolio16:20
gary_posterhatch, for quickstart, we will have story 1 (equivalent to juju bootstrap --with-gui) in a PPA for testing, and maybe story 2 ready (adds ability to deploy bundles).  story 3 (we handhold through init) we can maybe sneak in next week16:20
gary_posterthat's 'bout it16:20
hatchis the quickstart stuff a separate ppa?16:21
gary_posterhatch yes will be for now16:21
hatchI noticed that it was python not go16:21
hatchahh ok gotcha16:21
gary_posterfrankban I will call project juju-quickstart?16:22
gary_posteron Launchpad16:22
frankbangary_poster: sounds good16:22
hatchI had lunch with a guy in Vanc who's using Juju in their startup16:26
hatchusing it to deploy their app of course but also using it in CI like we do16:26
gary_posterher marcoceppi.  we are making a juju-quickstart plugin.  should we put it in https://launchpad.net/juju-plugins or make a new project?16:27
gary_postercool, hatch!16:27
hatchyeah it was pretty cool talking to someone who's actually using it in production16:28
hatchhttp://www.picatic.com/ is the company16:28
marcoceppigary_poster: you're welcome to put it in juju-plugins or start your own project. I haven't gotten around to making packaging for juju-plugins, but that could be the fire under me rear to do so16:28
marcoceppigary_poster: the idea was to collect a lot of small plugins and put them there, to simplify packaging, etc. deployer (arguably a juju plugin), charm-tools, etc all have their own project. There's not forced convetion one way or the other16:30
gary_postercool thanks marcoceppi, makes sense.  wdyt frankban ?  we have our own makefile stuff, so I'm thinking we should have our own project because that will be easier, at least for now.  agree?16:30
marcoceppiAlso, I've come to talk about "Providers" on the charm info page https://jujucharms.com/precise/wordpress I've gotten some reports of confusion from users assuming that those providers listed are the ONLY supported providers for the charm16:31
frankbangary_poster: agreed16:31
frankbangary_poster: for now a separate project is better imho16:32
gary_postercool thanks frankban .  https://launchpad.net/juju-quickstart16:37
frankbanthanks gary_poster 16:38
gary_postermarcoceppi, I just finally parsed what you were saying, sorry.  ok...16:38
gary_posterYou mean AWS/EC2 and LXc16:38
marcoceppigary_poster: yes! Sorry, always feel free to smack me for clarification :)16:39
marcoceppigary_poster: http://irclogs.ubuntu.com/2013/10/17/%23juju.html#t14:09 from earlier today, and jamespage had similar experience during a talk16:40
gary_postermarcoceppi, :-) .  OK, I can understand that confusion.  Would you mind filing a bug?  I will if you need me to.  If you have a suggestion for alternate wording, we'd really appreciate it.16:40
frankbangary_poster: pushed trunk to the new project16:40
marcoceppigary_poster: I'll gladly open a bug, just wanted to make sure it wouldnt' be in vain if you guys had something else planned16:40
gary_posterfrankban, could you push it to ~juju-gui?16:41
gary_postermarcoceppi, no, this would be great to hear16:41
gary_posterthank you16:41
frankbangary_poster: lp:~juju-gui/juju-quickstart?16:42
gary_posterfrankban, lp:~juju-gui/juju-quickstart/trunk , yeah16:43
frankbangary_poster: done16:44
frankbangary_poster: so lp:juju-quickstart will be lp:~juju-gui/juju-quickstart/trunk, correct?16:44
frankbangary_poster: the real question is, what shoudl I put into .lbox?16:45
gary_posterfrankban, yes, lp:juju-quickstart is that16:45
gary_posterfrankban, heh.  make check?16:45
frankbangary_poster: make check is already in .lbox.check16:46
gary_posteroh16:46
gary_posterright, .lbox16:46
frankban.lbox now contains "propose -cr -for lp:juju-quickstart"16:47
gary_posterfrankban, I think that is right16:47
frankbangary_poster: hum... perhaps we have to change the trunk series in https://code.launchpad.net/juju-quickstart16:47
marcoceppiDo you guys have the concept of tooltips in the "store" portion of the GUI?16:48
gary_postermarcoceppi, no16:49
gary_posterfrankban, looks right already to me16:49
frankbangary_poster: yes indeed, thank you16:50
gary_posterwelcome :-)16:50
marcoceppigary_poster: https://bugs.launchpad.net/juju-gui/+bug/124107516:54
_mup_Bug #1241075: Wording of "Providers" confusing on charm information page <juju-gui:New> <https://launchpad.net/bugs/1241075>16:54
marcoceppithanks again!16:56
gary_postermarcoceppi, I like your solution.  Note that we explicitly call OpenStack "HP Cloud" because of concerns from Antonio and others about a lack of portability across OpenStack providers.  I don't think that affects your solution though.  I'll ask Luca to look at this.16:57
frankbanguihelp: quickstart branch ready for 2 review 1 qa. could anyone please take a look? thanks!16:59
Makyofrankban, on it.16:59
frankbanMakyo: ty16:59
gary_posterI'll take the other17:00
marcoceppigary_poster: this is fine, I think including that in the caveat would be fine too, "OpenStack is tested against HP Cloud's public OpenStack service" or whatever17:00
gary_postercool marcoceppi 17:00
hatchjujugui looking for a quick review/qa https://codereview.appspot.com/14702045/17:03
Makyohatch, on it.17:03
hatchthanks17:03
Makyo*lboxing-light*17:03
hatchwhat is a '360 feedback' ?17:05
rick_h_hatch: welcoem to the party!17:05
hatchrick_h_: lol I'm just doing the survey right now17:05
hatchI'm going to guess I don't do 360 feedback since I have no idea what it is?17:06
Makyohatch, code LGTM, qa in a sec.17:06
gary_posterhatch,  it is our yearly review17:07
gary_posterhatch it is "360" because you review manager, peers, and reports (if you have any)17:08
hatchohh ok17:08
Makyojujugui review+qa please: https://codereview.appspot.com/14771044 Please QA in a real environment as well as sandbox, incl. bundles.17:08
hatchMakyo: on it17:09
hatchit'll be a bit though - I need to fire up the juju-core box :)17:09
frankbangary_poster: reordered the quickstart cards: hight priority for minimum story one (normal for story one nice to have)17:14
gary_posterfrankban, looks just right17:14
frankbangary_poster: cool, thanks and EOcrazyD. have a great evening!17:15
gary_posterfrankban, :-) you too17:15
gary_posterthank you17:15
hatchMakyo: such a small diff for such a large issue :D17:21
Makyohatch, I spent alittle too long trying to figure out why the env wouldn't work if I had a breakpoint in there, sorry.17:22
Makyohatch, side effect from the recent refactor, though, which got the rest of the issues.  Overall win,just this initial centering thing missing.17:22
hatchoh no that's fine - it just seems that every time we run into a canvas issue it's a lot of work to find the issue then a small fix :) I wonder if there is a way we can simplify it?17:23
hatchI really have no idea - you're the expert in this area :)17:23
hatchMakyo: so how should I qa this on a real env?17:24
hatchit's just pulling down your branch now17:24
MakyoDeploy a service, drag it somewhere, and refresh, it should be centered.17:25
hatchcool17:25
MakyoThe issue was that if you refreshed, it'd be off the edge of the viewport.17:25
hatchohh17:25
hatchyeah that's not ideal17:25
gary_posterjujugui, smallest review ever: https://codereview.appspot.com/14771045 .  To qa, go to https://ec2-54-234-204-211.compute-1.amazonaws.com/ and verify in the inspector that sourcemaps are working for you.17:30
hatchon it17:30
gary_posterthank you17:31
hatchdunzo!17:32
gary_poster:-)17:35
hatchMakyo: sorry I'm having an issue deploying the GUI on core17:37
hatchit appears it can't install the python depts17:39
hatchanyone familiar with this issue or possibly a one off?17:39
MakyoNot seen that before17:40
hatchok will kick it off again17:40
hatchwhen I run `juju resolved -r juju-gui/0` the unit is still in error state17:41
hatchis this a juju bug?17:42
hatcher17:42
hatchknown juju bug17:42
hatchthe -r is retry17:42
gary_posterhatch, is this LXC on saucy?17:44
hatchLXC on.....17:45
hatchprecise17:45
gary_posterhatch, LXC is broken right now with that exact symptom.  The apt-get is failing, right?17:45
hatchright17:45
gary_posteryeah, hatch, LXC is hosed.  panic in the streets, etc. :-/17:45
hatchaww darn17:46
gary_posterhatch, ec2 or etc. to the rescue17:46
hatchok Makyo looks like I'll need to ec2 this, sorry for the delay17:46
hatchgary_poster: thanks for confirming17:46
Makyohatch, nbd17:46
gary_posterwelcome17:46
* gary_poster goes for lunch17:46
gary_postergoes downstairs, that is17:46
* hatch also takes lunch17:50
* Makyo lunches too. Peer pressure.17:59
hatchjust took the dog to get his hair cut.....so he decided to throw up on the truck seat.....aweeeeesommmeee18:15
rick_h_yay hatch 18:18
rick_h_welcome back!18:18
rick_h_:P18:18
hatchI still haven't eaten18:18
hatchso I'm not actually here18:18
* hatch ghost18:18
hatchso glad I got my terminal colours all fixed on my laptop so that now I can actually use it without seizing18:22
rick_h_bac: ping, got a sec to walk through a quick sanity check ?18:39
gary_posterMakyo, how goes landing your branch?  Do you need another review?  Time is growing short to make a non-Friday release18:53
MakyoJust got back, will land asap!18:54
gary_postercool18:54
MakyoWell once hatch QAs, unless someone else wants to real quick.18:55
hatchMakyo: sorry just trying to get ec2 to spin up18:55
hatchmaybe someone else wants to take the QA?18:55
hatchsorry :/18:55
rick_h_need me to run QA? What are we qa'ing again?18:57
rick_h_Makyo: ^18:57
Makyohttps://codereview.appspot.com/14771044/ lp:~makyo/juju-gui/center - QA against a real env with positioned services; refreshing the page should center the services.18:58
rick_h_Makyo: rgr18:59
MakyoWould also like to do a quick make-sure that sandbox still works.  Will keep trying to break it, as it is.18:59
hatchrick_h_: cannot be LXC though, because it's broken19:00
rick_h_hatch: I'm not on saucy :P19:00
rick_h_but ssssh , don't tell anyone 19:00
hatchI'm on precise and there is the same issue19:00
MakyoWorks for me in precise :P19:00
hatchwell my 'juju-core' machine is precise19:00
hatchMakyo: really?19:01
hatchhmm19:01
rick_h_        agent-state-info: 'hook failed: "install"'19:01
hatchwhat version of juju?19:01
Makyohatch, yeah, works in quantal.19:01
rick_h_:(19:01
hatchrick_h_: yeah see19:01
hatch:)19:01
hatchtodaso19:01
MakyoSorry, raring, derp.19:01
rick_h_well then nvm, carry on hatch on ec219:01
Makyo1.14.1-raring19:01
hatchrick_h_: I'm having issues getting ec2 to spin up19:01
hatchMakyo: 1.16 here19:01
MakyoMaaaybe i'll stick with this version for a bit loner.19:02
Makyolonger19:02
hatchhaha yeah definitely19:02
hatcharg so frustrating19:03
hatchjuju won't bootstrap, says it already IS - but then won't do a `status` and there are no instances on ec2 spun up19:03
rick_h_juju switch ?19:03
rick_h_hatch: are you looking at local env vs remote ec2 env?19:04
hatchrick_h_: have the default set to my ec2 version19:04
hatch`juju switch` shows that environment19:04
rick_h_hatch: right, but have you used juju switch to check what env is set?19:04
rick_h_ah ok19:04
rick_h_hatch: and if you go to your aws console no machine is coming up?19:05
hatchnope nothing in there....if I `sudo juju status` it hangs hah19:05
hatchmaybe I'll reboot19:05
hatchoh wait19:05
hatchmy laptop has quantal19:05
hatchmaybe that's not supported anylonger?19:05
hatchoh no I'm still on 1.14.1-quantal-amd6419:06
hatchhmm19:06
hatchI'll try rebooting it19:06
hatchno luck...I wonder if there is an issue connecting19:08
hatchto the #juju channel19:08
* hatch said that like batman saying "to the batcave"19:09
gary_posterhatch try juju destroy-environment, I was told in similar circumstances19:09
hatchhmm it appears to be hanging19:09
hatchoh there it goes19:10
gary_posterjcastro, I'm marking myself in summit as attending various meetings, even though I arguably should be required on the ones I created at the very least, because I just can't be bothered. :-P Good enough?19:10
hatchgary_poster: looks like that has solved the issue thanks - so it's "environment flag" must be some config file that was never cleaned up then19:11
gary_posteryeah I dunno19:11
gary_posterglad it worked :-)19:11
hatchnow, we wait19:12
hatchI hope?19:12
hatchhaha19:12
hatchstill doesn't show any instances spinning up19:12
hatchthere it goes19:14
hatchyay!19:14
hatchI'd really love to install 13.10 on this thing :/19:15
hatchMakyo: so how is the VM on the 'air' treating you?19:15
Makyohatch, I've actually done little with it.  I'll poke at it and make sure it's workable before the trip.19:16
MakyoCan always just bring both again, I guess.19:16
hatchhaha noooo19:16
hatchI figured you might have converted to working on it :)19:17
MakyoThere's some aspects of workflow that I haven't gotten to fixing yet.19:19
MakyoI use occasional mouse integration with vim, and that doesn't work.  Keybindings for home/end/pgup/pgdn are wrong for me.19:20
MakyoDid finally get bzr working on metal, though not lbox.19:20
Makyo(which is fine)19:21
hatchMakyo: this might help http://fromanegg.com/post/45733384142/nfs-between-ubuntu-vm-and-osx-host19:21
hatchalso if you find any errors/additions plz let me know :)19:21
MakyoOh, I've got everything set up in virtualbox with raring server.  Bit different :o)19:22
MakyoStill the NFS solution, though.19:23
MakyoSlightly tweaked.19:23
hatchMakyo: so when you do things like bzr do you need to do the 'exec ssh-agent bash'19:25
hatchthen 'ssh-add <key>'19:26
hatchI can't seem to find a workaround to that irritatnt19:26
MakyoNo, though like I said, I haven't done too much.19:26
Makyobzr locally seems to work fine, though.19:26
MakyoAs does at read actions in vm.19:27
hatchyou're running it on osx?19:27
hatchbzr I mean19:27
MakyoYeah, from brew, though I had to rejigger PYTHON_PATH19:27
hatchwe'll have to chat in SF about it, sounds like you're doing things a little different than I19:27
hatchbut yours might require less jiggerin19:28
hatchand speaking of jiggerin, I cannot get this ec2 to work19:28
hatchI got the bootstrap node but it just hangs when I try and deploy anything19:28
hatchjujugui anyone else available to QA Makyo's branch on ec2?19:29
gary_posterI'll do it19:29
hatchthanks - tonight I'll flush juju and the keys and whatnot and set it back up19:29
hatchhopefully something just got corrupted or whatever19:29
gary_posterhatch, Makyo, something we could do to productively get people into d3 in sprint might be to use the new error info to split up inspector categories by error type.  If one non-d3 person pairs with Matt or Jeff on that then that might be productive.19:37
hatchactually on the same line of that I wouldn't mind sitting down with matt to see if there is a better way to do that19:37
gary_posterIt would be good to have a list of Things We Want to Talk About so that when we have some spare moments we can go off and have a pre-considered list of things to do.19:37
hatchit's pretty hard to follow as-is19:37
gary_postercool19:37
hatchit may be that that's how it is19:38
MakyoSure.  It can be our fourth refactor.19:38
Makyo</bitter>19:38
hatchrofl19:38
hatchhey we could switch to canvas19:38
* hatch runs19:38
MakyoI'd rather work on docs, unless someone can convince me that we have the time and resources to massively refactor yet again.19:39
gary_posterMakyo, he said *of the inspector*.  That's a whole new field for refactoring!19:39
MakyoOh!19:39
gary_posterMakyo, but seriously, he's talking 150 lines, not the env view19:39
hatchhaha yeah19:39
MakyoI was thinking the env view, sorry.  I missed that :(19:39
hatchthe data enter/exit stuff is very confusing19:39
hatchis what I mean19:39
MakyoAh, yeah.19:39
MakyoWelcome to d3 :/19:39
MakyoSorry about that, totally misread.19:40
hatch:) sok19:42
gary_posterI wonder if simply dividing it up into sub functions would make it easier to read19:42
gary_posterif the divisions were conceptual19:42
gary_posterupdate in particular I mean19:42
gary_posterit always seems to do so much19:42
hatchgary_poster: yeah that's what I was thinking too19:43
gary_posterMakyo qa ok.  thank you!  ship it.19:45
* gary_poster has to go get boys from school. biab19:45
Makyo*lboxing-light*19:46
hatchhehe19:52
MakyoI give up.  lboxing still broken in lw checkouts with that same 404 if we run test-debug test-prod in the order we do.20:00
MakyoThankfully it still works from the branch folder.20:00
MakyoIf lbox had shins, I would kick them.20:01
hatchMakyo: I think I do lightweight checkouts and it works good here20:02
hatchbzr init the top folder then check out trunk and branch within that upper branch20:02
MakyoPropose works 50% of the time, submit always fails.20:02
MakyoThat's what I have.20:02
hatchyeah works 100% of the time here20:02
hatchphantom crashes probably 50% of the time if I don't do it in lbox20:03
hatchheh20:03
gary_posterMakyo, if you need me to do anything (like land), ping me.  Otherwise I should take a break before evening meetings20:05
Makyogary_poster, landing now.  What version did we decide on? 0.11?20:05
gary_posteryes Makyo 20:05
Makyo\o/20:05
MakyoWell, happy to see lbox also fail in the branch directory.20:06
hatchMakyo: busted battery, inability to lbox, <third problem here> - time to throw that computer out20:07
Makyotoo heavy20:07
hatchlol20:07
hatchdrag it out?20:07
* Makyo sets it gently in the garbage. Still lboxing.20:07
hatchMakyo: so every time I import benji's bundle using trunk it positions them differently in the canvas, I'm going to assume this is expected because it doesn't have xy annotations - but just want to confirm20:14
hatchand by import I mean drag and drop20:14
Makyohatch, yeah, pretty sure.  It's running an automated pack-layout on it, and there are a few variables that go into how that winds up working out.20:15
hatchsounds good20:15
MakyoFINALLY20:32
hatchheh ubuntu.com is down20:37
hatchwoops20:37
hatchbcsaller: you kickin around with us this week still?20:38
bcsallerhatch: I'm around,  what do you need?20:39
hatchso I'm tracking down an issue where if you click 'deploy bundle' button the canvas stops reacting to interactions (drag/zoom etc)20:39
hatchit looks like the button click is sending additional information to the deployer20:39
hatchbut the 'required' data is in the proper place20:40
hatchso I was wondering if the fakebackend deployer code could be causing this issue?20:40
hatchfigured I'd check before parsing the ingestDeployer :)20:40
bcsallerhatch: interacting with the canvas? no20:40
bcsalleringest return data that can be acted on using fakebackend api calls20:41
bcsallerreturns20:41
hatchbcsaller: actually I just figured it out haha20:42
hatchsorry20:42
bcsallernp20:42
hatchall those errors on the bundle topology cause the main topology to fall over20:42
bcsallerthey shouldn't be related at all, that would be a serious issue20:44
bcsallerunconnected structures in memory20:44
hatchyeah I'll need to export a proper bundle20:46
hatchbut it does look like that's the issue20:46
bcsalleris something using #id where is should be a class off the topology container? thats could be a conflict point20:46
bcsallerpan/zoom might do that with the +/- buttons20:46
hatchyeah I'm looking into that right now20:47
hatchyeah I think we have an odd internal issue because creating the bundle topology instance causes it to break, it doesn't even need to be rendered20:52
hatchoh well....investigation time@20:52
hatch!20:52
hatchoh this is interesting...20:54
bcsallerhatch: if you need to talk about it let me know21:04
hatchbcsaller: will do, I've tracked it down to the yui property of the events property in PanZoomModule21:05
hatchgoing to have to trace it down to how that's mixed in21:06
bcsalleroh, you think its a shared class level var rather than instance? hmm. I'd make sure that its not a #id thing first though21:06
bcsalleras that seems more likely 21:06
hatchit's the panToPoint method actually21:08
hatch(sorry I'm just chatting while I track it down) :)21:08
MakyoHave to walk dogs so I can finish the release without them bugging me.21:19
hatchinteresting 'zoom' in d3 can mean so much more21:44
huwshimiMorning22:02
bacgary_poster: my branch is proposed at https://codereview.appspot.com/14811043.  i leave very early tomorrow but will try to check in from JFK.22:02
bachi huwshimi22:02
* bac walk22:02
hatchhey huwshimi22:06
* hatch can't figure out where d3 'yui' events are bound22:17
huwshimihatch: d3.events?22:18
hatchhuwshimi: well I'm trying to figure out why the 'yui' property events in the PanZoomModule aren't being bound22:18
hatchor....rebound22:18
huwshimioh22:19
hatchthe comments say it's beign listened to with Y.on22:19
hatchbut not anywhere I would expect it to be?22:19
huwshimihatch: Could it be to do with the 'events': 'scene'?22:20
Makyohatch, assets/javascript/d3-somethignsomething22:20
Makyod3--component thingy?22:21
MakyoThat one.22:21
hatchMakyo: yeah I'm in d3-components.js22:21
hatchthere is no .on( for the yui events22:21
huwshimihatch: There are some docs in docs/d3-component-framework.rst that cover d3 events22:22
huwshimihatch: Not sure if any of that is useful22:22
hatchcool I'll cehck that out22:22
Makyoline24922:22
bcsallerhatch: when you make the bundle view, check the 'interactive' flag22:22
Makyohatch, ^^^22:23
hatchit's set to true22:23
MakyoSpecifically line 27422:23
bcsallerthen it should bind them22:23
huwshimirick_h_: Thanks for the reviews, adding the cleanup for the tokens and landing my branches :)22:23
hatchoh jeebus22:24
rick_h_huwshimi: np, I'll get you later in SFO for test-skipping :P22:24
hatchnow I see it Makyo22:24
hatchthanks :/22:24
huwshimirick_h_: Oh dear, that was unintentional :(22:25
hatchlol22:25
huwshimirick_h_: I very rarely add functions, only modify them, so it escaped my mind :(22:25
hatchhuwshimi: did you see the video on the new additions to sass?22:26
huwshimihatch: I did not22:26
hatchhuwshimi: whenever you have some time to blow http://www.youtube.com/watch?v=-ZJeOJGazgE22:27
hatchsoime pretty cool stuff there22:27
huwshimihatch: Great, thanks.22:28
* hatch takes bundle initializer and staples it to the top of the class22:29
hatch:P22:29
rick_h_hatch: alphabetical :P by type of functoin22:29
rick_h__private, then public22:30
rick_h_hatch: all others fail becaues I now have to use search to find them22:30
hatchinitializer and destructor are private22:30
hatchYUI for some reason doesn't _ them haha22:30
hatchhonestly though from my time in C++ land I always put inits at the top and destructors at the bottom22:31
hatchmaybe it's a convention? no idea, it's been 4 ever22:31
hatchhaha22:31
rick_h_hatch: stop doing it wrong22:31
hatchwouldn't you put public at the top?22:31
rick_h_hatch: no22:31
hatchwhy not?22:32
hatchthose are the methods people 'can' use22:32
hatchso....they should be easier to find?22:32
hatchhonestly I use cmd+r to bounce to functions so I don't really care22:33
hatch:)22:33
rick_h_just saying how it is22:33
hatchmaybe in rick land!!!22:33
gary_posterMakyo hatch starting if you want to join22:33
Makyogary_poster, would rather focus on release if that's okay22:34
gary_posterMakyo, +1 :-)22:34
bacrick_h_: would you review https://codereview.appspot.com/14811043 in the morning?22:38
rick_h_bac: will do22:39
bacthanks22:40
bacoh, yay, the water is out22:40
hatchbcsaller: is there somewhere which handles detaching the topology events?22:50
bcsallerhatch: Not sure, it was written for a persistent singleton view so that path might not be well tested, but each module removed from the topo will unbind22:52
bcsallerhatch: just not sure there is any automatic triggering of that, but a destroy method looping the modules and calling removeModule or whatever would do that 22:53
hatchbcsaller: hmm ok I'm trying to find out why creating a new instance of the topology causes the old handlers to get detached22:57
hatchbut it looks like i'll probably be on that in the am22:58
bcsallerhatch: if you get stuck let me know, I might have some ideas (though I didn't see that myself)22:58
hatchbcsaller: if you want to see the issue...put a debugger in panzoom.js<zoomHandler> and put a debugger in topology.js<computeScales> in the "on('zoom')" callback - you'll notice that after you open the bundle details page, click deploy, the zoomHandler never gets called23:12
hatchbut I'm not going to be working on it until the am so only if you were curious23:13
bcsallerhatch: just looking through addModule/bind to see if there is somewhere we need to copy a datastructure23:16
bcsallerhatch: I might see it23:16
bcsallerd3-components.js:30023:17
bcsallersubscriptions is stored in events which I'm guessing is a shared reference to the module level decl23:17
bcsallerso if we copy events in addModule it goes away, or move subs elsewhere23:17
bcsallerbecause the subscription tracking is being shared23:18
bcsallerd3-components:133  modEvents = Y.mix(module.events);23:18
bcsallershould fix it I think23:19
hatchbcsaller: cool that's also what I was going to experiment with in the am23:20
hatchrick_h_: will you have some time in the am to show me how to add a bundle to the charmstore for testing?23:21
hatchI really like the service icon they are using on ubuntu.com under 'Ubuntu Openstack'23:37
gary_posterhey rick_h_ am I right that featured and popular and new categories now have their own separate collections for bundles?23:38
gary_posterI think I remember that23:38
gary_posterhttp://staging.jujucharms.com/api/3/search/interesting23:39
Makyojujugui ping re: release23:58
gary_posterhiya23:58
hatchMakyo: yo23:59
* hatch working on promises23:59
* hatch is worried rick_h_ will get violent23:59
Makyogary_poster, there's a step in here for running integration tests on the charm (everything else was good, so woo), but I get 'juju-test not found'.  Is that bit outdated, or am I missing something?23:59

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