-
Notifications
You must be signed in to change notification settings - Fork 35
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
Casperjs binary cannot be found in PATH #14
Comments
Strange. That's exactly the way to go... Can you echo your PATH env variable (print os.getenv("PATH")) with the same python as Django ? I guess we should add a setting to specify the full path to casperjs binary, instead of scanning $PATH... |
Sure, here is my PATH env variable from the virtualenv of the project: /Users/paulwalsh/Sites/environments/open-budget/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/Cellar/gettext/0.18.1.1/bin:/usr/local/share/npm/bin:/usr/local/share/python:/Users/paulwalsh/Sites/gcutil-1.8.2:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/Cellar/gettext/0.18.1.1/bin:/usr/local/share/npm/bin:/usr/local/share/python:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin |
I just added a CASPERJS_CMD setting. I can't say it fixes this bug, but it should help you :) |
Ok, I'll give it a try. |
I had this problem. I had to run a chmod 755 on casperjs before it could be found. |
did it work? @pwalsh |
Blast from the past. I don't remember. I gave up on using django-screamshot. |
@cperezortiz does casperjs work when you run it in command line ? (i.e. phantomjs is well installed etc. ?) |
It is on PATH, I can use casperjs via command line.
I have installed casperjs with brew on Mac OS X
Still, screamshot doesn't find casperjs.
"which casperjs" gives:
/usr/local/bin/casperjs
"casperjs" gives:
CasperJS version 1.0.2 at /usr/local/Cellar/casperjs/1.0.2/libexec, using PhantomJS version 1.9.1
Usage: casperjs [options] script.[js|coffee] [script argument [script argument ...]]
casperjs [options] test [test path [test path ...]]
casperjs [options] selftest
Options:
--help Prints this help
--version Prints out CasperJS version
Read the docs http://casperjs.org/
My .bash_profile has:
export PATH=/usr/local/bin:$PATH
The text was updated successfully, but these errors were encountered: