`DRb::DRbMessage#recv_request': uninitialized constant DRb::

[ruby-dev:28802] e$B$N%Q%C%A$,$"$?$k$H!"<!$O$3$&$G$9!#e(B

% ./ruby -v test/runner.rb -v test/drb/test_drb.rb
ruby 1.9.0 (2006-06-23) [i686-linux]
Loaded suite test_drb.rb
Started
test_01(TestDRbAry): (druby://localhost.localdomain:44095)
/tmp/19/lib/ruby/1.9/drb/drb.rb:617:in DRb::DRbMessage#recv_request': uninitialized constant DRb::DRbMessage::Values (NameError) from (druby://localhost.localdomain:44095) /tmp/19/lib/ruby/1.9/drb/drb.rb:911:inDRb::DRbTCPSocket#recv_request’
from (druby://localhost.localdomain:44095)
/tmp/19/lib/ruby/1.9/drb/drb.rb:1530:in init_with_client' from (druby://localhost.localdomain:44095) /tmp/19/lib/ruby/1.9/drb/drb.rb:1542:insetup_message’
from (druby://localhost.localdomain:44095)
/tmp/19/lib/ruby/1.9/drb/drb.rb:1494:in
DRb::DRbServer::InvokeMethod#perform' from (druby://localhost.localdomain:44095) /tmp/19/lib/ruby/1.9/drb/drb.rb:1589:inDRb::DRbServer#main_loop’
from (druby://localhost.localdomain:44095)
/tmp/19/lib/ruby/1.9/drb/drb.rb:1585:in DRb::DRbServer#main_loop' from (druby://localhost.localdomain:44095) /tmp/19/lib/ruby/1.9/drb/drb.rb:1581 from /tmp/19/lib/ruby/1.9/drb/extserv.rb:16:ininitialize’
from /tmp/19/ruby/test/drb/ut_array.rb:12

e$B7k2L$H$7$F!"%?%$%`%"%&%H$K$J$k$N$OJQ$o$i$J$$$G$9$M!#e(B

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B

In message “Re: [ruby-dev:28807] Re: DRb::DRbMessage#recv_request': uninitialized constant DRb::DRbMessage::Values (NameError)" on Fri, 23 Jun 2006 22:34:35 +0900, Tanaka A. <[email protected]> writes: | |In article <[email protected]>, | Tanaka A. <[email protected]> writes: | |> test_01(TestDRbAry): (druby://localhost.localdomain:44095) /tmp/19/lib/ruby/1.9/drb/drb.rb:617:inDRb::DRbMessage#recv_request’: uninitialized constant DRb::DRbMessage::Values (NameError)
|
|e$B$3$l$Oe(B Values e$B$,;D$C$F$$$k$?$a$N$h$&$G!”$3$s$J$H$3$m$G$7$g$&$+!#e(B

e$B%3%_%C%H$7$F$/[email protected]$5$$!#e(B
e$B$$e(B

In article [email protected],
Tanaka A. [email protected] writes:

test_01(TestDRbAry): (druby://localhost.localdomain:44095) /tmp/19/lib/ruby/1.9/drb/drb.rb:617:in `DRb::DRbMessage#recv_request’: uninitialized constant DRb::DRbMessage::Values (NameError)

e$B$3$l$Oe(B Values
e$B$,;D$C$F$$$k$?$a$N$h$&$G!"$3$s$J$H$3$m$G$7$g$&$+!#e(B

Index: ruby.h

RCS file: /src/ruby/ruby.h,v
retrieving revision 1.137
diff -u -p -r1.137 ruby.h
— ruby.h 9 Jun 2006 21:20:10 -0000 1.137
+++ ruby.h 23 Jun 2006 13:31:30 -0000
@@ -632,7 +632,6 @@ RUBY_EXTERN VALUE rb_mProcess;
RUBY_EXTERN VALUE rb_cBasicObject;
RUBY_EXTERN VALUE rb_cObject;
RUBY_EXTERN VALUE rb_cArray;
-RUBY_EXTERN VALUE rb_cValues;
RUBY_EXTERN VALUE rb_cBignum;
RUBY_EXTERN VALUE rb_cClass;
RUBY_EXTERN VALUE rb_cDir;
Index: lib/drb/drb.rb

RCS file: /src/ruby/lib/drb/drb.rb,v
retrieving revision 1.35
diff -u -p -r1.35 drb.rb
— lib/drb/drb.rb 19 Jun 2006 22:07:42 -0000 1.35
+++ lib/drb/drb.rb 23 Jun 2006 13:31:30 -0000
@@ -614,7 +614,7 @@ module DRb
msg = load(stream)
argc = load(stream)
raise ArgumentError, ‘too many arguments’ if @argc_limit < argc

  •  argv = Values.new(argc, nil)
    
  •  argv = Array.new(argc, nil)
     argc.times do |n|
    
    argv[n] = load(stream)
    end
    Index: lib/drb/invokemethod.rb
    ===================================================================
    RCS file: /src/ruby/lib/drb/invokemethod.rb,v
    retrieving revision 1.5
    diff -u -p -r1.5 invokemethod.rb
    — lib/drb/invokemethod.rb 28 Jul 2004 09:05:07 -0000 1.5
    +++ lib/drb/invokemethod.rb 23 Jun 2006 13:31:30 -0000
    @@ -4,7 +4,7 @@ module DRb
    class DRbServer
    module InvokeMethod18Mixin
    def block_yield(x)
  • if x.size == 1 && x[0].class == Values
  • if x.size == 1 && x[0].class == Array
    x[0] = DRbArray.new(x[0])
    end
    block_value = @block.call(*x)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs