Skip to content
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

stdio transport not working in ubuntu, works fine on mac osx #24

Closed
cjroebuck opened this issue Dec 31, 2012 · 5 comments
Closed

stdio transport not working in ubuntu, works fine on mac osx #24

cjroebuck opened this issue Dec 31, 2012 · 5 comments

Comments

@cjroebuck
Copy link

Hey, I have the same issue as in #14: Error opening file '/dev/stdin' .

I've changed the child transport to http now and it works, but would be nice to know why stdio transport doesnt work in ubuntu (btw, works fine locally on MacOSX)

@lawnsea
Copy link
Contributor

lawnsea commented Jan 21, 2013

Spooky uses phantom's file module to open stdin, so this looks like an issue for them. I'm going to close this one, but please reopen if you can provide a test case that demonstrates the problem is on spooky's end.

@lawnsea lawnsea closed this as completed Jan 21, 2013
@mjp0
Copy link

mjp0 commented Feb 19, 2013

Just a note that version 0.1.2 still works in Ubuntu. I just tried the latest but it didn't work so I reverted back to 0.1.2 and now everything works again.

@fruchtose
Copy link

I had the same experience as @zero- . Running examples/hello.js did nothing, and I had to kill an abandoned Phantomjs process. Going to 0.1.2, examples/hello.js runs correctly.

@WoZ
Copy link

WoZ commented Apr 12, 2013

Need to reopen issue. Phantomjs has troubles with accessing stdin, stdout and stderr via fs module (discussion here). Phantom's community suggest to use require('system').stdin.

@lawnsea
Copy link
Contributor

lawnsea commented May 5, 2013

@WoZ Now using system.stdin. Removed buffering hacks as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants