[MacRuby] #731: uninitialized constant IO::WaitReadable / IO::WaitWritable
#731: uninitialized constant IO::WaitReadable / IO::WaitWritable ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- {{{ $ macirb irb(main):001:0> require 'net/http' => true irb(main):002:0> Net::HTTP.get('www.apple.com', '/') NameError: uninitialized constant IO::WaitReadable }}} I think that IO::WaitReadable and IO::WaitWritable are not defined. {{{ $ grep "WaitReadable" -r * ext/openssl/lib/openssl/buffering.rb: # IO::WaitReadable or IO::WaitWritable. ext/openssl/lib/openssl/buffering.rb: # IO::WaitReadable means SSL needs to read internally. ext/openssl/lib/openssl/buffering.rb: # rescue IO::WaitReadable ext/openssl/lib/openssl/buffering.rb: # IO::WaitReadable or IO::WaitWritable. ext/openssl/lib/openssl/buffering.rb: # IO::WaitReadable means SSL needs to read internally. ext/openssl/lib/openssl/buffering.rb: # rescue IO::WaitReadable ext/openssl/ossl_ssl.c: //rb_extend_object(exc, rb_mWaitReadable); ext/openssl/ossl_ssl.c: * rescue IO::WaitReadable ext/openssl/ossl_ssl.c: * rescue IO::WaitReadable lib/net/protocol.rb: rescue IO::WaitReadable $ grep "WaitWritable" -r * ext/openssl/lib/openssl/buffering.rb: # IO::WaitReadable or IO::WaitWritable. ext/openssl/lib/openssl/buffering.rb: # IO::WaitWritable means SSL needs to write internally. ext/openssl/lib/openssl/buffering.rb: # rescue IO::WaitWritable ext/openssl/lib/openssl/buffering.rb: # IO::WaitReadable or IO::WaitWritable. ext/openssl/lib/openssl/buffering.rb: # IO::WaitWritable means SSL needs to write internally. ext/openssl/lib/openssl/buffering.rb: # rescue IO::WaitWritable ext/openssl/ossl_ssl.c: //rb_extend_object(exc, rb_mWaitWritable); ext/openssl/ossl_ssl.c: * rescue IO::WaitWritable ext/openssl/ossl_ssl.c: * rescue IO::WaitWritable lib/net/protocol.rb: rescue IO::WaitWritable lib/net/protocol.rb: # OpenSSL::Buffering#read_nonblock may fail with IO::WaitWritable. }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/731> MacRuby <http://macruby.org/>
#731: uninitialized constant IO::WaitReadable / IO::WaitWritable ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by watson1978@…): Thank you for r4204 :D "NameError: uninitialized constant IO::WaitReadable" was not reproduced. But the returned value on Net::HTTP.get is broken. I think this to be another problem. So could you close this problem ? :) -- Ticket URL: <http://www.macruby.org/trac/ticket/731#comment:1> MacRuby <http://macruby.org/>
#731: uninitialized constant IO::WaitReadable / IO::WaitWritable ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by martinlagardette@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Yeah, we have some issues with our IO library that we need to fix, and I'm pretty sture that's why there are issues :-( There are other bugs tracking Net/FTP / HTTP / SMTP, so yeah, I'll close this bug for now :-) Thanks for the feedback! -- Ticket URL: <http://www.macruby.org/trac/ticket/731#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby