I'm enjoying some library conflict soup today. Need libxml-ruby 1.1.3 for some parts of a project, and we're already
using aws-s3 (so grateful!).
After adding libxml-ruby, things mostly worked, but I started getting errors like this when accessing the acl() method
on S3Object:
Node#ns? is deprecated. Use !Node#namespaces.namespace.nil? instead.
Node#ns is deprecated. Use Node#namespaces.namespace instead.
/usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/runner.rb:48: undefined method `value' for
#<LibXML::XML::Node:0x62af00c> (NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:101:in `each_attr'
from /usr/local/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:100:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/node.rb:100:in `each_attr'
from /usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/../../support/faster-xml-simple/lib/faster_xml_simple.rb:167:in
`hash_of_attributes'
from /usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/../../support/faster-xml-simple/lib/faster_xml_simple.rb:76:in
`collapse'
from /usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/../../support/faster-xml-simple/lib/faster_xml_simple.rb:64:in
`out'
from /usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/../../support/faster-xml-simple/lib/faster_xml_simple.rb:53:in
`xml_in'
from /usr/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/parsing.rb:64:in `parse'
... 18 levels...
from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/runner.rb:48
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./script/runner:3
There is value method on Node, I think it needs to use the content() method.
Has anyone else seen this? |