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

Dave Beckett dave at dajobe.org
Thu Aug 2 09:13:27 BST 2007


David Schmicher wrote:
> 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 identical results

That very page apge describes that we moved the source code to
Subversion in April 2006.

Also, redland 1.0.6 and bindings 1.0.6.1 have been out for months,
they are linked on the home page: http://librdf.org/

Maybe try those and see if they fix your issue?

Dave

> 
> 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/redland/node.rb:52:in `node_from_hash': undefined method `world' for nil:NilClass (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_require.rb:27:in `gem_original_require'
>         from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.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_require.rb:32:in `gem_original_require'
>          ... 11 levels...
>         from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/activerdf-1.6.1/lib/active_rdf.rb:46
>         from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
>         from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.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/redland/node.rb:50:in `node_from_hash': undefined method `world' for nil:NilClass (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_require.rb:27:in `gem_original_require'
>         from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.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_require.rb:32:in `gem_original_require'
>          ... 11 levels...
>         from C:/InstantRails/Ruby/lib/ruby/gems/1.8/gems/activerdf-1.6.1/lib/active_rdf.rb:46
>         from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'
>         from C:/InstantRails/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'
>         from activerdf_example_sparql.rb:2
> 
> Thanks for any insight
> 
> David 
> 
> !DSPAM:46accf97182985939618124!
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> redland-dev mailing list
> redland-dev at lists.librdf.org
> http://lists.librdf.org/mailman/listinfo/redland-dev
> 
> !DSPAM:46accf97182985939618124!



More information about the redland-dev mailing list