Since a week or so I am getting this error in a program which has been
running fine for 6 months or so.
I have a hard time running debug on this error and finding the cause. As
it seems that the error is in the middle of fxruby and not in my
application.
I click on button1 - the first time every works perfect. Handling the
next record, pressing button1 leads to this error.
Any help is appreciated.
Ernst
C:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'': end of file
reached (EOFError)
from C:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill''
from C:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout''
from C:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout''
from C:/ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill''
from C:/ruby/lib/ruby/1.8/net/protocol.rb:116:in `readuntil''
from C:/ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline''
from C:/ruby/lib/ruby/1.8/net/http.rb:2017:in `read_status_line''
from C:/ruby/lib/ruby/1.8/net/http.rb:2006:in `read_new''
... 14 levels...
from
C:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.13-mswin32/lib/fox16/responder2.rb:55:in
`call''
from
C:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.13-mswin32/lib/fox16/responder2.rb:55:in
`onHandleMsg''
from C:/rubydev/ch06/monitor/trade.rb:1754:in `run''
from C:/rubydev/ch06/monitor/trade.rb:1754
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ernst.vcf
Type: text/x-vcard
Size: 264 bytes
Desc: not available
URL:
<http://rubyforge.org/pipermail/fxruby-users/attachments/20080609/b416d032/attachment.vcf>
On Mon, Jun 9, 2008 at 10:36 AM, Ernst J. Tanaka <ernst at tanakasite.com> wrote:> Since a week or so I am getting this error in a program which has been > running fine for 6 months or so. > I have a hard time running debug on this error and finding the cause. As it > seems that the error is in the middle of fxruby and not in my application...<snip>> C:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `sysread'': end of file reached > (EOFError) > from C:/ruby/lib/ruby/1.8/net/protocol.rb:133:in `rbuf_fill'' > from C:/ruby/lib/ruby/1.8/timeout.rb:56:in `timeout'' > from C:/ruby/lib/ruby/1.8/timeout.rb:76:in `timeout'' > from C:/ruby/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill''<snip> Ernst, Sorry for the delayed response; I just discovered that Gmail has been queuing up a bunch of my e-mail messages since June 5 (still not sure why). I don''t know anything about your application, but it''s pretty clear from the stack trace that the error''s occurring way down in Ruby''s I/O libraries, which FXRuby has nothing to do with. You say your application has been running fine for the past six months; have you recently upgraded the version of Ruby that you''re using (say, a newer version of the one-click installer for Ruby)? Or is it possible that something has changed in the remote service that your application is accessing over the network? I''m sorry I can''t be of more help, other than to say that based on the stack trace you''ve shown, I don''t see any evidence that FXRuby is at fault. Hope this helps, Lyle