-
-
Notifications
You must be signed in to change notification settings - Fork 426
Errno::EPIPE: Broken pipe #535
Comments
Thanks for the crash report. I can't tell much about what's going on here, but could you try upgrading to Qt 5 to see if it solves the issue? You can install it via a binary installer from qt-project.org in your home directory and set the QMAKE environment variable to the location of the qmake binary. This will allow Qt 4.8 from Homebrew and Qt 5 to coexist. |
I can confirm the same issue on two development machines in our shop running Mountain Lion with qt versions ranging from 4.8.1 to 4.8.4. We haven't tried qt 5 yet but will. |
UPDATE: After installing qt5, I'm getting the following error when running cucumber:
Any ideas? :) |
I received the same thing as @bilus and decided to remove qt4. So far I've been unsuccessful getting capybara-webkit to install correctly against qt5. Sometimes I get qmake errors. Sometimes I can get it to install but get lib errors with things like qt-everywhere not being found. |
We are seeing a similar issue with v1.5.1 using ruby 2.2.2, and brew-installed qt v4.8.6 on OSX 10.10.3:
When running: visit '/login' There are no errors when we run v1.5.0 Our capybara config is: require 'capybara'
require 'capybara/rspec'
require 'capybara/webkit'
RSpec.configure do |_|
Capybara.app = Rack::Builder.new do
map('/') { run Rails.application }
end.to_app
Capybara.default_driver = :webkit
end |
Hey @aramprice, it looks like you're hitting #777. I'd recommend trying out the Note that we recommend folks upgrade to Qt 5 if possible, as there are a number of bugs with Qt 4.8 that are outside of our control. However, it looks like you're hitting one of the issues addressed in the |
@mhoran we didn't yet try the Is there an ETA on when the
There were also (new in v1.5.1 + Qt 5) error when clicking a link because it is not visible. This may just be the exposure of existing behavior that Qt 4 was more tolerant of. [1]
|
Travis was having some issues last week, so I waited for more than four hours before the build ran, and I haven't had a chance to look at the failures yet. I may have some time to mess with it this weekend. Otherwise, my next opportunity will likely be next Friday.
That's weird. We intentionally fail when trying to click on hidden elements (this is what Capybara expects). Have you looked at any screenshots to see if the elements were actually hidden before, or if they are hidden now? |
@jferris - We haven't had a chance to look into the v1.5.0 / v1.5.1 differences yet. We'll probably take a look early next week. I meant to put in a stack trace and more details but I lost the output when I swapped back to v1.5.0 to compare. By the way thanks to both you and @mhoran for your quick responses here, it is great to get quick feedback! |
@aramprice I just released 1.5.2 which includes some crash fixes. Can you give that a shot? |
@jferris - that seems to have done the trick, thanks! Info:
|
@aramprice thanks! |
I'm using capybara-webkit with rspec in a non-rails environment to test a list of pages. After a while the webkit_server process crashes with Errno::EPIPE: Broken pipe. I've tried calling session.reset! but that hasn't proven effective. Any ideas?
Here's one of the crash reports.
https://gist.github.com/remear/6abd100ba89bff25a557
QT is installed via homebrew.
I think this is the equivalent of ldd on OS X...
The text was updated successfully, but these errors were encountered: