-
-
Notifications
You must be signed in to change notification settings - Fork 427
Getting EOFError with visit
#782
Comments
Could this be similar to the issue[1] we are seeing with v1.5.1 (but not v1.5.0)? [1] #535 (comment) |
@aramprice I do encounter this with v1.5.0. Are you able to reproduce the error? |
I just released 1.5.2 with some crash fixes. Can you give that a try? |
That seems to have resolved it, see #535 (comment) |
@Hainish Can you confirm whether version 1.5.2 resolves this issue or not? |
I faced this problem with qt5 and capybara-webkit 1.6.0. It runs on a headless Ubuntu 14.04 instance. Totally okay on my mac os 10.10. EOFError: end of file reached
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.6.0/lib/capybara/webkit/connection.rb:55:in `read_nonblock'
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.6.0/lib/capybara/webkit/connection.rb:55:in `read'
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.6.0/lib/capybara/webkit/connection.rb:46:in `gets'
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.6.0/lib/capybara/webkit/browser.rb:299:in `check'
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.6.0/lib/capybara/webkit/browser.rb:211:in `command'
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.6.0/lib/capybara/webkit/browser.rb:19:in `visit'
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-webkit-1.6.0/lib/capybara/webkit/driver.rb:48:in `visit'
from /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/capybara-2.4.4/lib/capybara/session.rb:227:in `visit' Any ideas? It's a random failure. |
I'm currently facing this problem with qt 5.2.1 using capybara-webkit 1.5.2 and running it on a headless Ubuntu 14.04.2 instance EOFError: end of file reached
/var/lib/gems/1.9.1/gems/capybara-webkit-1.5.2/lib/capybara/webkit/connection.rb:49:in `read_nonblock'
/var/lib/gems/1.9.1/gems/capybara-webkit-1.5.2/lib/capybara/webkit/connection.rb:49:in `read'
/var/lib/gems/1.9.1/gems/capybara-webkit-1.5.2/lib/capybara/webkit/connection.rb:40:in `gets'
/var/lib/gems/1.9.1/gems/capybara-webkit-1.5.2/lib/capybara/webkit/browser.rb:283:in `check'
/var/lib/gems/1.9.1/gems/capybara-webkit-1.5.2/lib/capybara/webkit/browser.rb:210:in `command'
/var/lib/gems/1.9.1/gems/capybara-webkit-1.5.2/lib/capybara/webkit/browser.rb:18:in `visit'
/var/lib/gems/1.9.1/gems/capybara-webkit-1.5.2/lib/capybara/webkit/driver.rb:41:in `visit'
/var/lib/gems/1.9.1/gems/capybara-2.4.0/lib/capybara/session.rb:226:in `visit'
/var/lib/gems/1.9.1/gems/capybara-2.4.0/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
/root/Content/lib/tasks/instagram.rake:35:in `block (3 levels) in <top (required)>'
/var/lib/gems/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:13:in `each'
/var/lib/gems/1.9.1/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:13:in `each'
/root/Content/lib/tasks/instagram.rake:32:in `block (2 levels) in <top (required)>' Same code runs fine locally on my Mac OSX 10.10.4 |
I've created a docker image for this issue. See https://github.com/Hainish/capybara-webkit-782 Interestingly, if I change the |
Any updates on this? |
👍 We're also having this issue in our travis-ci setup:
capybara-webkit version 1.6.0 |
I had the same issue with
And I have tried with Anyway I have resolve this issue with installing additional packeges:
Please, let me know if it helps. Thanks |
I got the same error using capybara-webkit 1.7.0 and qt 5.5.0 (from homebrew). I rebuilt capybara-webkit with qt4, which seemed to resolve it on my local OS X...
|
I got the same error using capybara-webkit 1.7.0 and qt 5.2.1. me@mymachine:~$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty I tried the following without success:
|
https://github.com/galaydaroman's fix, above, #782 (comment) fixes the issue for me. |
galaydaroman's fix corrected this problem for me as well. |
I can also confirm that it seems to work for me. Thanks @galaydaroman 👍 |
No problem. Thanks for your response guys
|
Looks like gstreamer might be required for QtWebKit now? It looks like I have it installed locally as a dependency for something else. |
I added the gstreamer libs to the section of the wiki on installing QtWebKit on Ubuntu -- please let me know or correct it if I've misstated anything, but this seems to be solving my problems!! :) |
Indeed, I had these issues on CircleCI on Ubuntu Trusty (no capybara spec would pass):
...and this machine:
pre:
- sudo apt-get install gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x Environment:
|
hi, problem on my application was with to many asset files. After adding to spec/rails_helper.rb
i could fix the issue |
I had similar issue. |
I was getting EOFError on one server but not another, both running Ubuntu 14.04 with the same gem and Qt versions. @galaydaroman 's fix in #782 (comment) pointed me in the right direction - one server didn't have the gstreamer packages installed, after installing these and rebuilding the gems the error went away. |
@Dimcha did you find a solution, we are facing a similar issue. |
Closing due to age and that comments seem to indicate this was due to system config issues. If this is still an issue with current releases we can reopen when a way to replicate is provided |
Apologies if this is a duplicate of #777. I'm getting this for
capybara-webkit
>= 1.3.0
,<= 1.5.1
,master
. Haven't tested earlier versions. I'm running this on a headless server withxvfb
Stack trace with
1.3.0
:Stack trace with
master
:The text was updated successfully, but these errors were encountered: