Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[ruby-dev:28807] Re: `DRb::DRbMessage#recv_request': uninitialized constant: msg#00131

lang.ruby.devel

Subject: [ruby-dev:28807] Re: `DRb::DRbMessage#recv_request': uninitialized constant DRb::DRbMessage::Values (NameError)

In article <87fyhw7dbj.fsf@xxxxxxxx>,
Tanaka Akira <akr@xxxxxxxx> 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)

これは Values が残っているためのようで、こんなところでしょうか。

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)
--
[田中 哲][たなか あきら][Tanaka Akira]




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation