FX ruby program error EOF

View: New views
2 Messages — Rating Filter:   Alert me  

FX ruby program error EOF

by ice1962 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


[ernst.vcf]

begin:vcard
fn:Ernst J.  Tanaka
n:Tanaka;Ernst J.
adr:;;2235 8th Avenue 5a;New York;NY;10027;USA
email;internet:ernst@...
tel;work:917 4930311
tel;home:917 4930311
tel;cell:347 449 2907
x-mozilla-html:TRUE
url:www.tanakasite.com
version:2.1
end:vcard



_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: FX ruby program error EOF

by Lyle Johnson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 9, 2008 at 10:36 AM, Ernst J. Tanaka <ernst@...> 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
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users
LightInTheBox - Buy quality products at wholesale price