"IOError: [Errno 35] Resource temporarily unavailable" with PhantomJS, python, selenium, unittest
Fixed! A coworker pointed me to this related issue: http://trac.edgewall.org/ticket/2066#comment:1 I modified the patch there to make sys.__stderr__
and sys.__stdout__
have the block flag. Calling that function immediately after the instantiation of the phantomjs WebDriver
allowed the stderr to be sent to stderr.