[redland-dev] Problem with Ruby RDF-Redland -

David Schmicher Bcodms at comcast.net
Sun Jul 29 18:33:45 BST 2007


Dave,

I had a similar problem that June posted about. I am attempting to run the =
sampe ActiveRDF for sparql code and running into an error.
I did download the latest code from the http://cvs.ilrt.org/cvsweb/redland/=
bindings/ruby/lib/rdf/redland/ for the node.rb file and got nearly identica=
l results


C:\Documents and Settings\Dave>ruby activerdf_example_sparql.rb
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/red=
land/node.rb:52:in `node_from_hash': undefined method `world' for nil:NilCl=
ass (NoMet
hodError)
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/node.rb:28:in `initialize'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/node.rb:191:in `initialize'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/constants.rb:4:in `new'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/constants.rb:4
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:27:in `gem_original_require'
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:27:in `require'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland.rb:11
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:32:in `gem_original_require'
         ... 11 levels...
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/activerdf-1.6.1/li=
b/active_rdf.rb:46
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:32:in `gem_original_require'
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:32:in `require'
        from activerdf_example_sparql.rb:2

C:\Documents and Settings\Dave>ruby activerdf_example_sparql.rb
C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/red=
land/node.rb:50:in `node_from_hash': undefined method `world' for nil:NilCl=
ass (NoMet
hodError)
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/node.rb:28:in `initialize'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/node.rb:179:in `initialize'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/constants.rb:4:in `new'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland/constants.rb:4
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:27:in `gem_original_require'
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:27:in `require'
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.=
3/lib/rdf/redland.rb:11
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:32:in `gem_original_require'
         ... 11 levels...
        from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/activerdf-1.6.1/li=
b/active_rdf.rb:46
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:32:in `gem_original_require'
        from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_re=
quire.rb:32:in `require'
        from activerdf_example_sparql.rb:2

Thanks for any insight

David =

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.usefulinc.com/pipermail/redland-dev/attachments/20070729/=
0c288b3d/attachment.htm


More information about the redland-dev mailing list