Ruby/google troubles

hi,

i’ve sent 2 e-mail to ian@caliban.org, but the smtp server reply:

···

so i forward here my output executing the serach.rb* example
provided with the package.


/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:24: warning: toplevel constant
XSDAnySimpleType referenced by XSD::XSDAnySimpleType
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:25: warning: toplevel constant
XSDString referenced by XSD::XSDString
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:26: warning: toplevel constant
XSDBoolean referenced by XSD::XSDBoolean
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:27: warning: toplevel constant
XSDDecimal referenced by XSD::XSDDecimal
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:28: warning: toplevel constant
XSDFloat referenced by XSD::XSDFloat
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:29: warning: toplevel constant
XSDDouble referenced by XSD::XSDDouble
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:30: warning: toplevel constant
XSDDuration referenced by XSD::XSDDuration
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:31: warning: toplevel constant
XSDDateTime referenced by XSD::XSDDateTime
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:32: warning: toplevel constant
XSDTime referenced by XSD::XSDTime
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:33: warning: toplevel constant
XSDDate referenced by XSD::XSDDate
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:34: warning: toplevel constant
XSDGYearMonth referenced by XSD::XSDGYearMonth
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:35: warning: toplevel constant
XSDGYear referenced by XSD::XSDGYear
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:36: warning: toplevel constant
XSDGMonthDay referenced by XSD::XSDGMonthDay
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:37: warning: toplevel constant
XSDGDay referenced by XSD::XSDGDay
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:38: warning: toplevel constant
XSDGMonth referenced by XSD::XSDGMonth
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:39: warning: toplevel constant
XSDHexBinary referenced by XSD::XSDHexBinary
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:40: warning: toplevel constant
XSDBase64Binary referenced by XSD::XSDBase64Binary
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:41: warning: toplevel constant
XSDAnyURI referenced by XSD::XSDAnyURI
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:42: warning: toplevel constant
XSDQName referenced by XSD::XSDQName
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:43: warning: toplevel constant
XSDInteger referenced by XSD::XSDInteger
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:44: warning: toplevel constant
XSDLong referenced by XSD::XSDLong
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:45: warning: toplevel constant
XSDInt referenced by XSD::XSDInt
/usr/lib/ruby/site_ruby/1.8/soap/typeMap.rb:46: warning: toplevel constant
XSDShort referenced by XSD::XSDShort
/usr/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has ]' without escape /usr/lib/ruby/site_ruby/1.8/wsdl/rexmlparser.rb:39:in doParse’: uninitialized
constant REXML::VERSION_MAJOR (NameError)
from /usr/lib/ruby/site_ruby/1.8/wsdl/parser.rb:85:in parse' from /usr/lib/ruby/site_ruby/1.8/soap/wsdlDriver.rb:81:in parse’
from /usr/lib/ruby/site_ruby/1.8/soap/wsdlDriver.rb:39:in initialize' from /usr/lib/ruby/site_ruby/1.8/google.rb:252:in new’
from /usr/lib/ruby/site_ruby/1.8/google.rb:252:in initialize' from ./search.rb:8:in new’
from ./search.rb:8

can you help me?

tnx, saiph

here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.

Hi,

saiph wrote:

so i forward here my output executing the serach.rb* example
provided with the package.

It’s the problem of old soap4r module.

What version of ruby are you using? ruby -v

If your ruby is 1.8.1, just delete soap4r module from site_ruby dir.
You seem to have old soap4r module in site_ruby dir. ruby/1.8.1
includes soap module in libdir, not site_dir.

cd /usr/lib/ruby/site_ruby/1.8; rm -rf soap wsdl xsd

If your ruby is 1.8.0, download newer version of soap4 from RAA and
re-install it.

Regards,
// NaHi

yes, you have reason!

i think gentoo upgraded these ebuild just this week.

it’s usefull to know that there is also a problem
with the old (or current gentoo) devel/logger ruby module.

after the upgrade of dependencies ruby/google works good.

tnx for the help!

···

here are more things in heaven and earth,
horatio, than are dreamt of in your philosophy.