"integer x too big to convert to"
|
|
Apologies if this is a silly mistake but I’ve been hitting this a lot recently and I’ve no idea why. I’m hoping its just a library version issue or something similar. Basically – whenever I try to execute the “export” method on a pattern I recieve a stack trace like this: /usr/lib/ruby/gems/1.8/gems/RubyInlineAcceleration-0.0.1/lib/inline_acceleration.rb:202:in `struct_RClass_m_tbl’: integer 47783902310320 too big to convert to `int’ (RangeError) from /usr/lib/ruby/gems/1.8/gems/RubyInlineAcceleration-0.0.1/lib/inline_acceleration.rb:202:in `m_tbl’ from /usr/lib/ruby/gems/1.8/gems/ParseTreeReloaded-0.0.1/lib/parse_tree_reloaded.rb:91:in `parse_tree_for_method’ from /usr/lib/ruby/gems/1.8/gems/ruby2ruby-1.1.6/lib/ruby2ruby.rb:1063:in `to_sexp’ from /usr/lib/ruby/gems/1.8/gems/ruby2ruby-1.1.6/lib/ruby2ruby.rb:1055:in `with_class_and_method_name’ from /usr/lib/ruby/gems/1.8/gems/ruby2ruby-1.1.6/lib/ruby2ruby.rb:1062:in `to_sexp’ from /usr/lib/ruby/gems/1.8/gems/ruby2ruby-1.1.6/lib/ruby2ruby.rb:1099:in `parse_tree_to_sexp’ from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.4/lib/scrubyt/utils/ruby_extensions.rb:119:in `to_sexp’ from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.4/lib/scrubyt/output/export.rb:127:in `export_extractor’ from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.4/lib/scrubyt/output/export.rb:99:in `export’ from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.4/lib/scrubyt/output/scrubyt_result.rb:34:in `export_new’ from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.4/lib/scrubyt/output/scrubyt_result.rb:28:in `export_old2’ from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.4/lib/scrubyt/output/scrubyt_result.rb:24:in `export_old1’ from /usr/lib/ruby/gems/1.8/gems/scrubyt-0.3.4/lib/scrubyt/output/scrubyt_result.rb:8:in `export’ from get_rates.rb:20 I’ve done some hunting via Google to no avail so I’d be very interested to hear if anyone has a solution. When this has happened in the past I’ve simply built my extractor manually getitng the xPath from Firebug. However,m in this case it isn’t working – I have no idea why. So I now need this export command to work – I appreciate any and all help! Thank you. :) |
|
|
http://agora.scrubyt.org/forums/3/topics/218 http://agora.scrubyt.org/forums/3/topics/199 http://agora.scrubyt.org/forums/3/topics/229 Seem that there is a problem exporting on x64 machines, inlineacceleration is precompiled so I think it uses 32bit code and 64 machines didn’t work using it. |
|
|
Oh bugger. Yes – I’m using Slicehost and its 64bit. Thanks for pointing them out. I shall find another way. |