-
Notifications
You must be signed in to change notification settings - Fork 335
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
Error in generation step #24
Comments
It looks like the build process for the waveform package isn't being called during installation of audiogram. If you're in the root of the audiogram project, run |
Hmm, interesting, I can't reproduce that. e.g., in a clean Ubuntu 14.04 env, What's the full output from an initial |
Also, what's the output of During install you should be seeing something like:
After which the If it's not building, it's possibly because you're missing one of the dependencies? |
Spot on and my bad; I had omitted the bit where, when I installed it again, I spotted libgroove wasn't installed and rectified that. Obviously had I done that upfront, this wouldn't occur. For me the problem exists between chair and keyboard. |
@andybee When you say spotted that it wasn't installed, do you mean that you left that out of the initial installation (e.g. omitted |
The former, I forgot to include it when installing things via homebrew (I was installing on macOS). |
Gotcha 👍 Unfortunately the Homebrew install is still pretty rocky depending on versions/OS. At some point may go the Lambda route (#17) which would eliminate almost all the local dependencies. |
Running |
@harrisonhunter I finally figured out the problem here. It's a memory issue. I'd previously tested this on an EC2 micro instance (1 GB of memory). On a Digital Ocean micro droplet (512 MB of memory), running npm install with all the packages leads to a memory problem during the build step of The solution is either: -Use a larger droplet |
Added a note about this in the installation instructions: https://github.com/nypublicradio/audiogram/blob/master/INSTALL.md#linux-troubleshooting |
Thanks. Nice debugging! |
Hello, I am trying to run this on a digital ocean box and was able to build and start the server after following the instructions. Upon running, I can upload a file and change the theme and caption, but when I click generate, it seems to process regularly for a bit (gets passed audio uploading), then fails.
I get the following error in the browser:
https://www.dropbox.com/s/t3bpz4zfl9wmork/Screenshot%202016-08-01%2022.48.37.png?dl=0
And the following in the server console:
Note I tried this with Ubuntu 14.04 and 16.04, with multiple audio files, with and without the node-gyp step.
Any guidance would be appreciated.
The text was updated successfully, but these errors were encountered: