Comments (6)
one more thing:
when i surf the page on localhost:3001 i get the same broken pipe errors in my browser, but after reloading the page the error is gone. this happens every second call?!
from culerity.
i did some more testing on versions of ruby and gems and i now pinned the problem:
broken pipe errors do NOT occur using OSX system ruby. i tried various versions of 1.8.7 and ree with RVM and i always got the broken pipe errors.
with system ruby there are no errors, BUT every second call will result in a blank page, which seems to be the same error, just different...
from culerity.
it seems that somehow the $stdout pipe goes away and the rails logging output can not be printed. maybe something with the log-file? less tries to open it as a binaray file:
less log/culerity.log
"log/culerity.log" may be a binary file. See it anyway?
i played around a little bit with rack/log_tailer.rb, in which the broken-pipe occurs and patched line 30 to rescue the output:
now the logging-output goes into the console, which is way better than an error on every second request.
from culerity.
Thanks a million, phoet - that was driving me craaazy. I tried OS X ports jruby, rvm install jruby, and jruby from source (latest), and got the same error each time. Your fix solved the issue for me (still seeing the broken pipe error, but it's not causing all my tests to fail!)
from culerity.
maybee you should try steam https://github.com/svenfuchs/steam
from culerity.
Thanks phoet, will do. I also ran into some issue with culerity running under the development environment during browser navigation calls ($browser.goto) but under culerity otherwise..made it impossible to do simple session based testing, so right now just working with selenium.
from culerity.
Related Issues (20)
- Culerity fails if JRuby is not in a standard path HOT 18
- culerity.js ajax_with_count fails on async:false calls HOT 1
- Can't follow links if contained in div.buttons HOT 2
- culerity_rails_server.pid in wrong location HOT 1
- IO.popen("script/server") makes the Rails app sad HOT 7
- Culerity throws deprecation warning when calling Node#type
- Exception invoking jsxGet_length (Culerity::CulerityException HOT 3
- Nailgun support HOT 6
- "Then I should see..." steps fail if text is contained in paragraph tags and not div tags HOT 4
- step 'When I follow "[link]"' finds wrong link, with celerity -v=0.7.7 and above HOT 4
- Doctype being removed HOT 3
- .each not working on a links collection HOT 3
- browser object HOT 2
- Culerity generators in Rails 3 HOT 3
- Culerity not working with regular JRuby HOT 6
- RemoteObjectProxy implements method_missing but not respond_to? HOT 2
- culerity hangs on exit HOT 3
- Culerity, Capybara and Ruby 1.9.2
- Culerity integration link is stale HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from culerity.