Bugs: Browse | Submit New | Admin

[#21139] xmlrpc/client.rb: unitialised constant since cookie code 'fix' (ruby-dev:34403)

Date:
2008-07-09 16:07
Priority:
3
Submitted By:
Steve Rawlinson (trip)
Assigned To:
Shyouhei Urabe (shyouhei)
Category:
External APIs / Interfacing
State:
Closed
Platform:
 
Summary:
xmlrpc/client.rb: unitialised constant since cookie code 'fix' (ruby-dev:34403)

Detailed description
The code added to xml/client.rb to resolve the cookie issue in ruby-dev:34403 seems to cause an unitialised constant
error:

/usr/local/lib/ruby/1.8/xmlrpc/client.rb:571:in `do_rpc': uninitialized constant XMLRPC::Client::WEBrick (NameError)
        from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:570:in `collect'
        from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:570:in `do_rpc'
        from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2'
        from /usr/local/lib/ruby/1.8/xmlrpc/client.rb:410:in `call'
        from ./callolympus.rb:83

This is from svn revision 16048 onwards.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-07-13 02:57
Sender: Nobuyoshi Nakada 

This bug is fixed in the repository.
Date: 2008-07-11 11:25
Sender: Steve Rawlinson

'require webrick' fixes the problem.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2008-07-13 02:57nobu
resolution_idNone2008-07-13 02:57nobu
close_date2008-07-13 02:572008-07-13 02:57nobu