*** coolsvap|away is now known as coolsvap | 04:10 | |
*** mrmartin has joined #storyboard | 05:15 | |
*** coolsvap is now known as coolsvap|away | 06:22 | |
*** jtomasek has joined #storyboard | 06:28 | |
*** openstackgerrit_ has joined #storyboard | 06:43 | |
*** yolanda has left #storyboard | 07:04 | |
*** jcoufal has joined #storyboard | 07:56 | |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard: WIP: Fix the test_backend.sh scripts to work usefully CI https://review.openstack.org/213732 | 09:35 |
---|---|---|
*** CTtpollard has quit IRC | 10:01 | |
*** CTtpollard has joined #storyboard | 10:04 | |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard: WIP: Fix the test_backend.sh scripts to work usefully CI https://review.openstack.org/213732 | 10:33 |
*** notnownikki has joined #storyboard | 10:53 | |
*** yolanda has joined #storyboard | 11:12 | |
pdar | Ok, I'm back to looking at this vagrant development machine thing. I feel I should check, after I have started my vagrant vm, I assumed that I should `vagrant ssh` into it and consider that as the place which is referred to as "locally". The documentation doesnt really make it very clear. I wondered if anyone else has looked at this? | 11:15 |
SotK | That sounds like the correct assumption | 11:53 |
* SotK is an idiot | 11:55 | |
SotK | the js-build part was failing because run-jsbuild.sh runs on the project the change is for, not the project defined in the jjb definition | 11:56 |
SotK | I guess I'll go back to the first version of my patch and hopefully then the test will work for patches to storyboard-webclient | 11:57 |
openstackgerrit | Adam Coldrick proposed openstack-infra/storyboard: Set correct default credentials in the test_backend.sh scripts https://review.openstack.org/213732 | 12:01 |
Zara | I tried looking through irc logs for information about setting up with vagrant, since I didn't use it either. unfortunately my results were mostly people saying that they didn't use vagrant. | 12:09 |
Zara | (furthermore, the people who *have* used it haven't been around here for a while. I'm wondering if we should change the docs if we can't currently support the setup suggested. though hopefully we can puzzle things out and that won't be necessary.) | 12:15 |
pdar | I have been updating the provided vargrant file and will submit a patch once I have it working | 12:17 |
pdar | I started to learn how to vagrant this morning so I could fix it | 12:18 |
pdar | then I can finally review those patches! | 12:19 |
SotK | \o/ | 12:19 |
Zara | :D | 12:21 |
pdar | http://i.imgur.com/t0XHtgJ.gif | 12:22 |
SotK | recursion! | 12:39 |
Zara | I tried to find a cute picture of yak shaving but none were quite right. | 12:43 |
Zara | so we'll all just have to imagine one | 12:43 |
*** persia_ is now known as persia | 13:19 | |
pdar | Oh shucks, I reached this OSError business again, http://pastebin.com/HnUSDmSx | 13:33 |
SotK | :( | 13:35 |
SotK | it looks a bit different from last time | 13:35 |
Zara | that looks a lot like the sorts of errors I had when I was trying to install it at first | 13:35 |
Zara | there might be things in the storyboard logs (I can look) though I think it was a lot of 'delete everything npm's done so far and hope for the best' | 13:36 |
* SotK wonders how he managed to escape this stuff | 13:37 | |
Zara | there's not much so I think there was a lot of trial and error. :( http://eavesdrop.openstack.org/irclogs/%23storyboard/%23storyboard.2015-06-24.log | 13:38 |
Zara | and then next day | 13:38 |
Zara | http://eavesdrop.openstack.org/irclogs/%23storyboard/%23storyboard.2015-06-25.log | 13:38 |
Zara | it's a different error but I remember I had lots of different ones around that time | 13:39 |
pdar | Oh, I did forget to add the seperate node apt repo | 13:40 |
Zara | (there was lot of deleting modules and then re-running `npm install <module>` manually) | 13:40 |
pdar | alas for tis not easy... I shall experiment and continue, ta for the links! | 13:44 |
Zara | yeah, reading through they're not very helpful. :( but on the bright side, that means that it must have been possible to solve most of the weirdness I faced just by hacking around. | 13:47 |
Zara | this is something we'll need to fix, though; I don't like that the setup is so inconsistent, since it doesn't make it easy to use or to contribute. | 13:49 |
pdar | it helps filter only those truely commited to helping | 13:55 |
SotK | haha | 13:56 |
SotK | It'd be cool if the vagrant VM already had everything correctly set up | 13:56 |
pdar | thats what I'm aiming for | 13:59 |
SotK | excellent :D | 14:01 |
*** jtomasek has quit IRC | 14:59 | |
*** cody-somerville- has quit IRC | 14:59 | |
*** jtomasek has joined #storyboard | 15:12 | |
*** cody-somerville- has joined #storyboard | 15:12 | |
pdar | what happens when it works? | 15:23 |
SotK | your prompt should hang saying "Waiting..." | 15:23 |
SotK | (assuming this is the `tox -egrunt_no_api -- serve` step) | 15:24 |
pdar | o | 15:24 |
pdar | m | 15:24 |
pdar | g | 15:24 |
pdar | its doing that | 15:24 |
SotK | woo! | 15:25 |
SotK | if you go to $your_vm_ip:8080 in a browser you should see your StoryBoard | 15:25 |
Zara | :D | 15:26 |
Zara | you might need to adjust the gruntfile, not sure about it with vagrant | 15:27 |
SotK | oh yeah, I forgot about that | 15:27 |
Zara | (hehe, I only remember it because when it first worked for me I thought it wasn't working and left it overnight to puzzle it out in the morning) | 15:28 |
Zara | since I hadn't done that step | 15:28 |
SotK | line 476 in Gruntfile.js, s/localhost/\*/ | 15:28 |
pdar | ohh, I shall correct that | 15:29 |
Zara | 476, I should remember that. I always /localhost until I find the one that looks right... which isn't easy to teach. | 15:30 |
pdar | hmm, I got "Unable to connect" | 15:33 |
* pdar investigates further... | 15:33 | |
SotK | oh, I'm an idiot again :) | 15:34 |
SotK | $your_vm_ip:9000 for the UI | 15:34 |
Zara | haha I didn't notice that either and I have it in front of me xD | 15:35 |
pdar | ek, still not there | 15:40 |
SotK | hm, can you ping $your_vm_ip from the machine your web browser is on? | 15:42 |
pdar | yep | 15:45 |
Zara | have you tried restarting the server? could always be magic | 15:46 |
Zara | (just for the webclient, I think.) | 15:47 |
pdar | :( nope | 15:50 |
Zara | does it say something like Running "connect:livereload" (connect) task | 15:54 |
Zara | Started connect web server on http://0.0.0.0:9000 | 15:54 |
Zara | (wondering if it's a different port somehow or there's some sort of clue there) | 15:54 |
pdar | I get http://pastebin.com/HXV1hUtt | 15:57 |
SotK | that looks normal | 15:58 |
Zara | the bit at the top is different from mine | 15:58 |
SotK | oh yeah, mine too, I didn't see that | 15:59 |
pdar | the grunt_cli bit? | 15:59 |
Zara | (mine doesn't include the warnings about the native thread-sleep stuff. other than that it seems to be identical, though) | 16:00 |
Zara | I still have the grunt_cli bit, so that shouldn't be an issue | 16:00 |
Zara | also mine mentions a few karma packages, which aren't mentioned (hang on will paste mine) | 16:02 |
Zara | http://pastebin.com/bSKw8NBA | 16:04 |
Zara | though I think those are test utilities... hmm | 16:06 |
Zara | there's stuff about thread sleep there though I'm still not sure if that's the issue, or if there's some extra config we've forgotten about... https://github.com/google/web-starter-kit/issues/691 | 16:15 |
pdar | aha, `npm list` shows "npm ERR! not ok code 0" | 16:19 |
Zara | haha, npm's error message is cute | 16:20 |
CTtpollard | .... | 16:20 |
Zara | until you see it a hundred times, anyway | 16:20 |
*** jcoufal has quit IRC | 16:20 | |
Zara | just checked, and `npm list` does work for me (it just takes a while) so that's definitely a difference | 16:22 |
pdar | does your `npm list` give you any errors or warnings? | 16:32 |
Zara | no warnings, it takes a while to load and I get an error about an extraneous angular module | 16:34 |
Zara | but I get a tree of the modules and their dependencies, which seems about right | 16:34 |
Zara | (the top of the output is cut off so I'll just try piping it into less to check) | 16:34 |
Zara | yeah, nothing strange at the top | 16:36 |
pdar | at the bottom of mone I get http://hastebin.com/ibuwulavux.vbs | 16:36 |
Zara | yeah, that's different to mine. I do have one of those 'extraneous' errors (though it's about angular instead) but no overall error code at the end. | 16:38 |
Zara | so maybe the 'invalid' one is the important one | 16:38 |
* pdar will investigate further | 16:41 | |
Zara | sorry I can't be more help with this. :( a quick search suggests npm update might help, since it looks like it's to do with missing dependencies, but it's all a bit guesswork-y, which isn't great. | 16:43 |
*** gothicmi1dfood has joined #storyboard | 16:47 | |
*** gothicmi1dfood has quit IRC | 16:48 | |
*** gothicmindfood has quit IRC | 16:48 | |
*** gothicmindfood has joined #storyboard | 16:48 | |
pdar | thanks for the help Zara, `npm update` is doing something, not sure how useful yet but still... also it is nice to know one is not alone in a channel :) | 17:04 |
Zara | :) glad it's doing something; if nothing else, it's more interesting than the alternative | 17:04 |
Zara | I'm about to vanish for a bit but should be available again in a couple of hours | 17:05 |
*** openstackgerrit_ has quit IRC | 18:11 | |
*** notnownikki has quit IRC | 18:25 | |
*** yolanda has left #storyboard | 20:01 | |
*** mrmartin has quit IRC | 21:17 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!