Projects

Ticket #631 (closed defect: fixed)

Opened 6 months ago

Last modified 3 weeks ago

soap4r is not working for me

Reported by: jahayes@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.7
Component: MacRuby Keywords:
Cc:

Description

I'm trying to use stubs generated with ruby 1.8 wsdl2ruby.rb and I've installed the soap4r gem with macgem.

When I use the stub files with macruby I get the following error:

unknown: warning: variable $KCODE is no longer effective
ClientDriver.rb:1:in <main>': bignum too big to convert into long long' (RangeError)

After some hunting I'm able to repro with the following:

$ pwd
/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/Gems/1.9.0/gems/soap4r-1.5.8/lib
$ macruby soap/baseData.rb
unknown: warning: variable $KCODE is no longer effective
baseData.rb:1089:in block': bignum too big to convert into long long' (RangeError)

I'm somewhat new to ruby so this could be pilot error.

Change History

Changed 3 weeks ago by jhemmelg@…

Attempted to reproduce with main branch as of 8/17/2010: macruby soap/baseData.rb is no longer generating the RangeError. The warning about $KCODE still exists, but this is from MRI 1.9 series and is not unique to MacRuby.

Changed 3 weeks ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.7

I confirm, the problem seems to be gone in trunk. Thanks for the verification, closing.

Note: See TracTickets for help on using tickets.