From: Sam Roberts Date: 2004-11-12T14:01:58+09:00 Subject: Re: rdoc error (Re: using the RSS standard lib) Quoteing jamesUNDERBARb@neurogami.com, on Fri, Nov 12, 2004 at 01:28:51PM +0900: > Sam Roberts wrote: > >Anybody know what happened to rss/maker? Ok, I still don't know what happened, but I think the darwinports version of the preview doesn't have rss/maker, but has the rest. I'm a little confused. Anyhow, I downloaded and manually installed rss1.0 from the RAA, and I have rss/maker. Sorry! > It appears that 1.8.2 preview 3 has an rss/maker section, but when I > tried to run rdoc over this code I got a SystemStackError error: > > > /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol': stack > level too deep (SystemStackError) > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > from /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in > `find_symbol' > ... 2118 levels... > from > /usr/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1210:in > `generate_html' > from > /usr/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1130:in `generate' > from /usr/local/lib/ruby/1.8/rdoc/rdoc.rb:269:in `document' > from /usr/local/bin/rdoc:63 > > > > This is using ruby 1.8.2 (2004-07-29) [i586-linux] > running rdoc from the /lib/rss directory of the preview 3 source code I get similar results, too, see below. Sam maker.rb: mmc. lib/rss/maker.rb:12:38: Skipping require of dynamic string: "#{prefix}/#{version}" lib/rss/maker.rb:14:36: Skipping require of dynamic string: "#{prefix}/#{mod}" ... parser.rb: mc.c.c.c.cc....c.......cc.......m............ rexmlparser.rb: mc..c. rss.rb: cc.m.mcc.cc.c.c.c.c.c.c.c.m.......cc.......................m.... syndication.rb: mm....cc taxonomy.rb: mm lib/rss/taxonomy.rb:24:54: unexpected token: '#' cccc trackback.rb: mm.m.cc.....cc.....m...cc...cc...ccccc utils.rb: mm.. xml-stylesheet.rb: mm..c lib/rss/xml-stylesheet.rb:35:29: unexpected token: '#' ..... xmlparser.rb: mcmcmc......c..c. xmlscanner.rb: mc..c.............. Generating HTML... /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:327:in `find_symbol': stack level too deep (SystemStackError) from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' from /opt/local/lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol' ... 634 levels... from /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1210:in `generate_html' from /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:1130:in `generate' from /opt/local/lib/ruby/1.8/rdoc/rdoc.rb:269:in `document' from /opt/local/bin/rdoc:63