Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

made addition phantomjs arguments configurable through yaml file. - #31

Open
ronthijssen wants to merge 1 commit into
fzaninotto:masterfrom
ronthijssen:args
Open

made addition phantomjs arguments configurable through yaml file.#31
ronthijssen wants to merge 1 commit into
fzaninotto:masterfrom
ronthijssen:args

Conversation

@ronthijssen

Copy link
Copy Markdown

The following configuration example does not work.

rasterizer:
  command: 'phantomjs --proxy=myproxy:1234'

It causes:

phantomjs failed; restarting
[uncaughtException] { [Error: spawn EMFILE] code: 'EMFILE', errno: 'EMFILE', syscall: 'spawn' }

made addition phantomjs arguments configurable through yaml file.

@fzaninotto

Copy link
Copy Markdown
Owner

Weird. What's your Node version ?

@ronthijssen

Copy link
Copy Markdown
Author

I've tested it both on v0.8.16 and 0.10.1

@tcoulter

Copy link
Copy Markdown

I've seen this error when phantomjs wasn't in the PATH. I fixed this by specifying the full path to phantomjs within the configuration file.

@slorber

slorber commented Dec 12, 2014

Copy link
Copy Markdown

hi

Passing phantomJS options has been implemented in #67

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants