-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify devel branch works and merge it into master once 0.8 has been released. #9
Comments
If you're having errors, they're my fault. Maybe I wrote documentation poorly, maybe I didn't provide enough inline text, maybe I let a bug slip into the code. But errors are my fault. Period.
I'm confused by this error, because there's never actually an error, just a stack trace. Is there maybe something else listed above that in the error message that actually complains about a bug in particular? |
Yeah there was more above that unfortunately in a fit of rage I destroyed the VM. I'll have to investigate what this next one thinks. |
Ok so it was totally my fault (The laws I was trying to import where actually broken static links) and the purported error was really just a PHP notice. So I guess that's good news. This means that the current vagrant setup will get you within two steps of importing laws (updating a line in config.inc.php and moving the laws in). I am going to do the merge tomorrow. |
Decided to do the push now, could one of you @waldoj or @rtsio give the updated setup a whirl, if you have vagrant it should be about a 20 minute process. Just be aware that the code you are using for the statedecoded portion of the site references the most recent commit, specifically this one: statedecoded/statedecoded@9ea2569 |
Interesting! This makes me wonder if a file-validity step ought to be included. I'd omitted it because it really, really slows down the process of importing tens of thousands of files, but maybe it's worth at least testing the first file. I'll download this and try it out shortly, @NSkelsey. I'm looking forward to it! |
So I got this far:
It ended like such:
So I clone the repository, instead of downloading it as a ZIP, and then it went like such:
I'm running |
Things are happening! |
This needs to change to git clone... My bad
I tried to reproduce the submodule problem on my Mac partition and the command seems to work fine. So I am not sure what is causing that.
I am curious to hear what ended up happening, because if the submodules didn't get downloaded the puppet run should have failed. |
It's still running, though it's been stuck for at least ~20 minutes. Here's a Gist of the output. |
Hmmm, do you see network traffic? It may be downloading solr very slowly or if not it may have just got stuck. In either case you can log into the box and run to try the puppet setup again. (It should be idempotent)
A better option would be to discard the box and try again cleanly. For whats it worth, I just did the vagrant up on my mac and it worked swimmingly. |
No network traffic. I'll try again. |
I ran
Any theories? |
Different versions of git? Here is mine:
Apparently there are things called git subtrees which do similar things but are supported by more versions of git. Bleh |
|
Ok I will have to test this on other systems. But try removing the submodule directories (src and modules/solr) and running:
This stackoverflow was my reference If that doesn't work I am finding a better way to include these files... |
It looks like that went well:
|
By gum, it works! |
:) I will update the readme and now onto solr problems! |
I am going to stop playing around with this until, 0.8 gets tagged and work out issues from there. Right now when I run the vagrant setup process, then run the parser php runs into errors which may or may not be my fault, the fault of the commit I am using or just a bug.
For future reference here is the error:
The text was updated successfully, but these errors were encountered: