EOF error - how to debug?

68 views
Skip to first unread message

Sjors

unread,
Dec 12, 2011, 1:12:22 AM12/12/11
to iCuke
iCuke is throwing an EOF error as soon as I try to tap a button. I
don't understand the internals of iCuke well enough to be able to
debug this. Any help would be greatly appreciated.

Here's the feature:
Given "集博移动.xcodeproj" is loaded in the iphone simulator with SDK 5.0
Then I should see "医学公式"
And I tap "医学公式"

This last line throws the following error:
end of file reached (EOFError)
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:135:in `read_nonblock'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:135:in `rbuf_fill'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:116:in `readuntil'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:126:in `readline'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:2211:in `read_status_line'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:2200:in `read_new'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1183:in `transport_request'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1169:in `request'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1162:in `block in request'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:627:in `start'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1160:in `request'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/httparty-0.8.1/lib/
httparty/request.rb:73:in `perform'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/httparty-0.8.1/lib/
httparty.rb:391:in `perform_request'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/httparty-0.8.1/lib/
httparty.rb:343:in `get'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
simulator.rb:52:in `get'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
simulator.rb:43:in `fire_event'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
simulator_driver.rb:64:in `tap'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
icuke_world.rb:98:in `block in <top (required)>'

The trace goes on for a while, but I believe this is the relevant
part.

The button is a simple UIButton, generated from code. I tried tapping
other interface elements and they resulted in the same error.

I use Ruby 1.9.2 through rvm on a Macbook. The app is built with XCode
4.2.1 (4D502) from the App Store, using the 5.0 SDK as base and
deployment target.

When I run cucumber I do get the following warning:
WARNING: Nokogiri was built against LibXML version 2.7.7, but has
dynamically loaded 2.7.8

Thanks in advance for any help,

Sjors

Jason Felice

unread,
Dec 12, 2011, 5:38:56 PM12/12/11
to ic...@googlegroups.com
iCuke does not support iOS5.  Unfortunately, there are no plans to support it at the moment.  This is because the Frank project does most of what iCuke does, except with more active users and code base.

-Jason

2011/12/12 Sjors <provoos...@gmail.com>
Reply all
Reply to author
Forward
0 new messages