Tuesday, 2015-08-18

*** coolsvap|away is now known as coolsvap04:10
*** mrmartin has joined #storyboard05:15
*** coolsvap is now known as coolsvap|away06:22
*** jtomasek has joined #storyboard06:28
*** openstackgerrit_ has joined #storyboard06:43
*** yolanda has left #storyboard07:04
*** jcoufal has joined #storyboard07:56
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: WIP: Fix the test_backend.sh scripts to work usefully CI  https://review.openstack.org/21373209:35
*** CTtpollard has quit IRC10:01
*** CTtpollard has joined #storyboard10:04
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: WIP: Fix the test_backend.sh scripts to work usefully CI  https://review.openstack.org/21373210:33
*** notnownikki has joined #storyboard10:53
*** yolanda has joined #storyboard11:12
pdarOk, 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
SotKThat sounds like the correct assumption11:53
* SotK is an idiot11:55
SotKthe js-build part was failing because run-jsbuild.sh runs on the project the change is for, not the project defined in the jjb definition11:56
SotKI guess I'll go back to the first version of my patch and hopefully then the test will work for patches to storyboard-webclient11:57
openstackgerritAdam Coldrick proposed openstack-infra/storyboard: Set correct default credentials in the test_backend.sh scripts  https://review.openstack.org/21373212:01
ZaraI 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
pdarI have been updating the provided vargrant file and will submit a patch once I have it working12:17
pdarI started to learn how to vagrant this morning so I could fix it12:18
pdarthen I can finally review those patches!12:19
SotK\o/12:19
Zara:D12:21
pdarhttp://i.imgur.com/t0XHtgJ.gif12:22
SotKrecursion!12:39
ZaraI tried to find a cute picture of yak shaving but none were quite right.12:43
Zaraso we'll all just have to imagine one12:43
*** persia_ is now known as persia13:19
pdarOh shucks, I reached this OSError business again, http://pastebin.com/HnUSDmSx13:33
SotK:(13:35
SotKit looks a bit different from last time13:35
Zarathat looks a lot like the sorts of errors I had when I was trying to install it at first13:35
Zarathere 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 stuff13:37
Zarathere's not much so I think there was a lot of trial and error. :( http://eavesdrop.openstack.org/irclogs/%23storyboard/%23storyboard.2015-06-24.log13:38
Zaraand then next day13:38
Zarahttp://eavesdrop.openstack.org/irclogs/%23storyboard/%23storyboard.2015-06-25.log13:38
Zarait's a different error but I remember I had lots of different ones around that time13:39
pdarOh, I did forget to add the seperate node apt repo13:40
Zara(there was lot of deleting modules and then re-running `npm install <module>` manually)13:40
pdaralas for tis not easy... I shall experiment and continue, ta for the links!13:44
Zarayeah, 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
Zarathis 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
pdarit helps filter only those truely commited to helping13:55
SotKhaha13:56
SotKIt'd be cool if the vagrant VM already had everything correctly set up13:56
pdarthats what I'm aiming for13:59
SotKexcellent :D14:01
*** jtomasek has quit IRC14:59
*** cody-somerville- has quit IRC14:59
*** jtomasek has joined #storyboard15:12
*** cody-somerville- has joined #storyboard15:12
pdarwhat happens when it works?15:23
SotKyour prompt should hang saying "Waiting..."15:23
SotK(assuming this is the `tox -egrunt_no_api -- serve` step)15:24
pdaro15:24
pdarm15:24
pdarg15:24
pdarits doing that15:24
SotKwoo!15:25
SotKif you go to $your_vm_ip:8080 in a browser you should see your StoryBoard15:25
Zara:D15:26
Zarayou might need to adjust the gruntfile, not sure about it with vagrant15:27
SotKoh yeah, I forgot about that15: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
Zarasince I hadn't done that step15:28
SotKline 476 in Gruntfile.js, s/localhost/\*/15:28
pdarohh, I shall correct that15:29
Zara476, I should remember that. I always /localhost until I find the one that looks right... which isn't easy to teach.15:30
pdarhmm, I got "Unable to connect"15:33
* pdar investigates further...15:33
SotKoh, I'm an idiot again :)15:34
SotK$your_vm_ip:9000 for the UI15:34
Zarahaha I didn't notice that either and I have it in front of me xD15:35
pdarek, still not there15:40
SotKhm, can you ping $your_vm_ip from the machine your web browser is on?15:42
pdaryep15:45
Zarahave you tried restarting the server? could always be magic15:46
Zara(just for the webclient, I think.)15:47
pdar:( nope15:50
Zaradoes it say something like Running "connect:livereload" (connect) task15:54
ZaraStarted connect web server on http://0.0.0.0:900015:54
Zara(wondering if it's a different port somehow or there's some sort of clue there)15:54
pdarI get http://pastebin.com/HXV1hUtt15:57
SotKthat looks normal15:58
Zarathe bit at the top is different from mine15:58
SotKoh yeah, mine too, I didn't see that15:59
pdarthe 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
ZaraI still have the grunt_cli bit, so that shouldn't be an issue16:00
Zaraalso mine mentions a few karma packages, which aren't mentioned (hang on will paste mine)16:02
Zarahttp://pastebin.com/bSKw8NBA16:04
Zarathough I think those are test utilities... hmm16:06
Zarathere'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/69116:15
pdaraha, `npm list` shows "npm ERR! not ok code 0"16:19
Zarahaha, npm's error message is cute16:20
CTtpollard....16:20
Zarauntil you see it a hundred times, anyway16:20
*** jcoufal has quit IRC16:20
Zarajust checked, and `npm list` does work for me (it just takes a while) so that's definitely a difference16:22
pdardoes your `npm list` give you any errors or warnings?16:32
Zarano warnings, it takes a while to load and I get an error about an extraneous angular module16:34
Zarabut I get a tree of the modules and their dependencies, which seems about right16:34
Zara(the top of the output is cut off so I'll just try piping it into less to check)16:34
Zarayeah, nothing strange at the top16:36
pdarat the bottom of mone I get http://hastebin.com/ibuwulavux.vbs16:36
Zarayeah, 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
Zaraso maybe the 'invalid' one is the important one16:38
* pdar will investigate further16:41
Zarasorry 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 #storyboard16:47
*** gothicmi1dfood has quit IRC16:48
*** gothicmindfood has quit IRC16:48
*** gothicmindfood has joined #storyboard16:48
pdarthanks 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 alternative17:04
ZaraI'm about to vanish for a bit but should be available again in a couple of hours17:05
*** openstackgerrit_ has quit IRC18:11
*** notnownikki has quit IRC18:25
*** yolanda has left #storyboard20:01
*** mrmartin has quit IRC21:17

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