[Nitro] [ANN] RDOG is back

Michael Fellinger manveru at valaraan.de
Mon Sep 26 16:06:57 EDT 2005

Tim Larson wrote:

>On Mon, Sep 26, 2005 at 02:43:02PM +0200, zimba wrote:
>>Rdog is back online at the following url : http://rdog.oree.ch    
>>(redirects to rdog.oree.ch:8080)
>>This version is considered a stable (as always online, not as bug free), 
>>so feel free to contribute !
>Thanks for getting it online :)
>As reported in #nitro, when I attempt to save an edited page,
>I get "500 - Internal Server Error".  Apparently this is a
>nitro cgi problem, as it does not happen with webrick.
>zimba-tm requested that I post these error messages to the list:
>DEBUG: Rendering '/login'.
>DEBUG: Compiling action 'WikiController#login'
>DEBUG: Compiling template 'WikiController: template/login.xhtml'
>2005-09-26 13:37:30: (mod_fastcgi.c.1325)
>2005-09-26 13:37:30: (connections.c.723) missing cleanup in fastcgi
>/usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/adapter/cgi.rb:227:in `parse_params': undefined method `binmode' for nil:NilClass (NoMethodError)
>  from /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/adapter/cgi.rb:32:in `start'
>  from /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/server/runner.rb:242:in `invoke'
>  from /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/server.rb:125:in `run'
>  from /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro.rb:65:in `run'
>  from /home/zimba/domains/oree.ch/public_html/rdog/../run.rb:80
>  from /home/zimba/domains/oree.ch/public_html/rdog/cgi.rb:5:in `require'
>  from /home/zimba/domains/oree.ch/public_html/rdog/cgi.rb:5
>2005-09-26 13:37:43: (mod_fastcgi.c.1325)
>2005-09-26 13:37:43: (connections.c.723) missing cleanup in fastcgi
>DEBUG: Rendering '/doc/list_classes'.
>DEBUG: Compiling action 'WikiController#headers'
>ERROR: Error while handling '/doc/list_classes'.
>ERROR: undefined method `headers' for #<WikiController:0x8e01df4>
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/controller.rb:165:in `method_missing'
>  ./src/doc_controller.rb:14:in `initialize'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/render.rb:124:in `new'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/render.rb:124:in `render'
>  template/view.xhtml:124:in `index_template'
>  (eval):17:in `index_action'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/controller.rb:163:in `send'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/controller.rb:163:in `method_missing'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/render.rb:124:in `send'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/render.rb:124:in `render'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/adapter/cgi.rb:35:in `start'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/server/runner.rb:242:in `invoke'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/server.rb:125:in `run'
>  /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro.rb:65:in `run'
>  /home/zimba/domains/oree.ch/public_html/rdog/../run.rb:80
>  /home/zimba/domains/oree.ch/public_html/rdog/cgi.rb:5:in `require'
>  /home/zimba/domains/oree.ch/public_html/rdog/cgi.rb:5
>  LOGGED FROM: /usr/local/lib/ruby/gems/1.8/gems/nitro-0.23.0/lib/nitro/render.rb:180:in `log_error'
I don't think this is supposed to be like that, but i'm also sure there 
is an error in the main-design of rdog that i wanted to fix before 
looking into other issues.
we've got a DocController and a WikiController, but i intended to merge 
them to get rid of most errors with templates, skins, missing functions 
and other bugs.
maybe i can get it right today, was a long time i didn't work on the 
project at all, especially not with fcgi or anything else than webrick.

however, i will modify rdog today to better fit into spark without much 
modifications, so it will be no effort to upgrade spark without hitting 
rdog and so i can send patches on spark to george that will fit into his 

>Also, I noticed when looking at
>  http://rdog.oree.ch:8080/view/tutorial+nitro+Controllers
>it says, "Updated by manveru", but when I click on the
>revisions link it says " Revision 1 by gmosx"
>--Tim Larson
this one is weird, but i updated it once to add the paragraph 'snippets'.
i wonder why the revisions don't reflect that. but one cannot update 
anything atm, so i will ignore it until we can further investigate...

stay tuned :)
Michael 'manveru' Fellinger

More information about the Nitro-general mailing list