On 4/20/05, Horst Duchene <monora / gmail.com> wrote:

> Cheers
> Horst
> 
> 
Wanted to try rgl , i am new to graphical libraries and dont know what is XML
I get this error after
gem install rgl

rgl-0.2.3]# rake
(in /usr/local/lib/ruby/gems/1.8/gems/rgl-0.2.3)
ruby -Ilib:tests -S testrb tests/TestTransitiveClosure.rb
tests/TestComponents.rb tests/TestDirectedGraph.rb
tests/TestGraphXML.rb tests/TestImplicit.rb
tests/TestUnDirectedGraph.rb tests/TestTraversal.rb tests/TestEdge.rb
Loaded suite [tests/TestTransitiveClosure.rb, tests/TestComponents.rb,
tests/TestDirectedGraph.rb, tests/TestGraphXML.rb,
tests/TestImplicit.rb, tests/TestUnDirectedGraph.rb,
tests/TestTraversal.rb, tests/TestEdge.rb]
Started
.............E.E...........................
Finished in 0.086025 seconds.

  1) Error:
test_graphxml(TestGraphXML):
NoMethodError: undefined method `from_graphxml' for
RGL::DirectedAdjacencyGraph:Class
    ./tests/TestGraphXML.rb:22:in `test_graphxml'

  2) Error:
test_north_graphs(TestGraphXML):
NoMethodError: undefined method `from_graphxml' for
RGL::DirectedAdjacencyGraph:Class
    ./tests/TestGraphXML.rb:38:in `test_north_graphs'
    ./tests/TestGraphXML.rb:35:in `open'
    ./tests/TestGraphXML.rb:35:in `test_north_graphs'
    ./tests/TestGraphXML.rb:28:in `foreach'
    ./tests/TestGraphXML.rb:28:in `test_north_graphs'

42 tests, 170 assertions, 0 failures, 2 errors
rake aborted!
what is missing, what should I do?
thanks,
Prasad