/srv/irclogs.ubuntu.com/2013/01/24/#juju-gui.txt

=== Makyo is now known as Makyo|out
bcsallerfrankban: can you test that phantomjs branch again after install phantomjs? :) npm install -g phantomjs Want to get another verification that it works13:31
frankbanbcsaller: sure13:33
frankbanbcsaller: i wonder why phantomjs is not a dependency of mocha-phantomjs13:34
bcsallerfrankban: I would think so as well, but their might be an issue with phantom also wanting a global install 13:34
frankbanbcsaller: 326 tests complete (6 seconds) 1 test pending, very cool!13:34
bcsallersweet :)13:35
bcsallerhey wait! your computer is faster than mine!13:35
bcsallerno fair13:35
frankban:-)13:35
gary_posterhey bcsaller looks like you merged the phantomjs without the review changes14:32
bcsallergary_poster: they should be in there14:33
bcsallerdocs, removed console comments, what did I miss? (and sorry)14:33
gary_posterbcsaller, ah weird.  No, it's cool.  Your branch (https://code.launchpad.net/~bcsaller/juju-gui/phantom-testing) does not have your changes (verified locally and in LP) but trunk does.  I guess that is some lbox magic or something. <shrug> But yes it's in trunk, thanks and sorry for false alarm14:37
bcsallergary_poster: yeah, I didn't repropose/push, just did the submit after the changes14:37
gary_posterinteresting that lbox works that way.  Thanks for the branch bcsaller, really awesome to have that.14:37
bcsallergary_poster: really happy to have this branch in :)14:38
gary_posterdefinitely :-)14:38
=== Makyo|out is now known as Makyo
teknicobac, bcsaller, benji, frankban, Makyo, daily call in 2 minutes15:28
MakyoDownside to the phantomjs thing: leaving make test-server running while you try to submit causes everything to blow up.16:21
bcsallerwe could change the port?16:25
MakyoNot a big deal, just forgot I had the server running :)16:25
benjiMakyo: no, over here!  what are you doing over there?16:56
MakyoBouncing between windows, apparently :)  I'll review after a restart, because apparently a package update requires that.16:57
benjiactually, a restart sounds good; maybe it will make my camera work again; back in a minute16:58
benji___Why does Ubuntu hate me?  Almost every time I reboot I have to rebind my workspace navigation keys.17:02
bcsallerbenji___: I get that too with things like toggle max state on windows, drives me crazy17:04
teknicobcsaller, it happened to me too, so I stopped redbinding them and learnt to love the default bindings :-)17:07
bcsallerteknico: I never saw you as a conformist17:07
teknicobcsaller, it came as a total shock to me too, it must be the age :-)17:08
bcsallerha17:08
=== benji___ is now known as benji
benjibcsaller: yep, I use a custom maximize toggle too, wierd thing is that one will get reset and not the other17:15
frankbancharm accepted! \o/17:17
teknicofrankban, yes, it was announced on #juju about half an hour ago :-)17:25
frankban:-) cool17:26
benji<sigh> Attempting to install phantomjs generates an error, therefore I can't land my branch.17:52
benjidoes this make sense to anyone?17:56
benjihttp://paste.ubuntu.com/1566725/17:56
benjiguihelp: ^^17:56
hazmatbenji, looks like a download error, for the binary from google code, i'd retry18:03
benjihazmat: I figured the same thing.  I retried, no luck.18:03
hazmatbenji, your on 32 bit?18:04
benjiyep18:04
benjihmm, it looks like the file it is trying to download 404s (http://phantomjs.googlecode.com/files/phantomjs-1.8.0-linux-i686.tar.bz2)18:09
hazmatthat might be the delta, its possible the link is bad18:09
benji1.7.0 exists; I will try requesting that version18:09
hazmatbenji, 1.8.1 is also present http://code.google.com/p/phantomjs/downloads/list18:10
benjimm18:10
MakyoIs https://bugs.launchpad.net/juju-gui/+bug/1087110 no longer a thing?18:10
_mup_Bug #1087110: makefile and tests are not run automatically before landing <juju-gui:Triaged> < https://launchpad.net/bugs/1087110 >18:10
benjihmm, I wonder why it is trying 1.8.018:10
Makyobenji, there was an update to npm today, for me.  Maybe try that?18:11
Makyos/try/check18:11
benjiMakyo: nope (I have updated recently)18:14
benjihmm, different error from "sudo npm install -g phantomjs@1.8.1"18:16
benjiguihelp: I haven't been able to get npm to install phantomjs; I have two cards gumming up the lane, therefore I am going to subvert lbox and just land the branches in question.  You have five (5) minutes to object.18:36
benjiTime's Up!18:42
bcsallerbenji: can you manually install http://phantomjs.googlecode.com/files/phantomjs-1.8.1-linux-i686.tar.bz218:42
bcsalleropps18:42
bcsallertoo slow 18:42
benjibcsaller: :)18:42
benjibcsaller: I tried (in that I tried pointing npm at that URL as well as wget-ting the file and pointing npm at the file on disk; all failed)18:43
bcsalleryou're sure it was 1.8.1?18:43
benjiI also tried "npm install -i phantomjs@1.81"18:43
bcsallerand not 1.8.0? that was the link I saw before18:43
benjiyep, I tried several versions18:44
bcsallerbut have you tried it w/o npm?18:44
benjiwhat does "w/o npm" mean?18:44
bcsalleryou can download the package directly and see about putting it in the right place18:46
bcsalleror at least check if the binary will run from the archive for you18:46
benjithat's worth trying, I'll see about that18:47
bcsallerfor me it looks like a stand alone binary, you might have to check its library deps with `ldd` and make sure you're not missing anything as you're skipping normal packaging 18:49
benjibcsaller: how about just using apt to install it?18:50
bcsallerhaven't tried, my guess is its too old but you can try that as well 18:51
benjiuntarring it into a temp directory gives me a working (apparently) phantomjs; now, I wonder where I would put it 18:51
bcsallersomewhere in your pat18:51
bcsallerpath18:52
bcsallerit just spawns that with some args18:52
benjithat confuses me, isn't there some sort of npm packagy, javascripty thing supposed to be going on...18:53
benjibcsaller: I was supposed to run this command, right? "sudo npm install -g phantomjs"18:53
bcsallernpm is being subverted to serve a binary in this case (and not well)18:53
benjihmm18:54
bcsallerphantom is basically headless webkit18:54
bcsalleror I thought it was, might be something else under the hood18:54
benjiit is (basically headless webkit)18:56
benjiok, I have phantomjs installed; "sudo npm install -g mocha-phantomjs" appeared to work18:56
benjirunning lbox now18:56
benjieating avocado... mmm18:57
benjiyay! the tests failed!18:58
benjibcsaller: yay, it lives!  Double yay: it cought a test failure that I would have introduced to trunk!19:03
bcsallerbenji: excellent, sorry about the install trouble19:03
benjibcsaller: I will add a note to HACKING that if you have trouble installing phantomjs you can do it manually and outline that; many thanks for the help!19:04
benjioh man, I love running the tests in a terminal so much19:12
bcsalleryeah, me too19:12
gary_posterbcsaller Makyo benji bac, hi.  Neither the menu's "view" choice work nor the double-click work to go from the environment to a service.  I'll file a bug in 30 minutes or so if no-one else has, but if someone is available to file that would be great.  If someone is available to fix, that would be great.20:24
Makyogary_poster, on it, will start with the bug.20:24
benjigary_poster: I can file it20:24
benjior Makyo can20:24
gary_posterThank you Makyo.  Thanks benji :-)20:24
gary_posterMakyo, looks like click on a unit no longer works on http://uistage.jujucharms.com:8080/service/wordpress/ either20:25
bcsallergary_poster: a fix for that was applied a day or so ago, maybe someone merged it out20:26
gary_posterok thanks bcsaller, maybe check with Makyo if there is a quick fix20:26
bcsallergary_poster: it was a trivial, found it, I'll just merge the fix, its putting old code back :-/20:37
Makyobcsaller, where was it?20:38
bcsallerMakyo: app.js/handler for *:navigateTo 20:38
Makyobcsaller, ah, alright20:39
bcsallerI think all I saw was the console.log and removed the handler, read the second line as arguments 20:40
bcsaller*shameface*20:40
MakyoOn looking at https://launchpad.net/juju-gui should we update the charm store url?20:40
MakyoIt's still pointing to the ~juju-gui charm.20:41
gary_posterbcsaller, ok thank you.  Makyo yes please I think you can20:41
Makyogary_poster, Done and done.20:42
gary_posterthank you Makyo!20:43
benjiprotip: if you want to run a subset of the tests in a terminal you can just start the test server (and close the annoying test window it opens) and then run a command like this: mocha-phantomjs "http://localhost:8084/test/index.html?grep=viewport module"21:32
benjiSince mocha-phantomjs supports reading the test file from the filesystem it would be a nice enhancement to get "mocha-phantomjs test/test_index.html" (or similar) to work21:33
benji...then we wouldn't need a test server to run the tests in a terminal21:33
bcsallerbenji: or just add .only to the describe or it for the test21:37
bcsallerwe can change the test-server script to pass through options, grep is a cli option as well, you don't need to modify the url directly21:38
benjibcsaller: I didn't see grep in the help for mocha-phantomjs and --grep didn't work (although it didn't complain about it either, which is odd)21:42
benjithe .only trick is a good one; everyone should know that one, maybe you should mention it in the weekly meeting21:43
bcsallerbenji: hmm, only mocha takes --grep directly, sorry about that 21:44
* Makyo dogwalks.21:56
* Makyo dedogwalks.22:23

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