hammackj / risu

Risu is Nessus parser, that converts the generated reports into a ActiveRecord database, this allows for easy report generation and vulnerability verification.
http://hammackj.github.io/risu
MIT License
63 stars 20 forks source link

assets template errors #12

Closed ebdavison closed 13 years ago

ebdavison commented 13 years ago

All of the templates I have tried so far produce errors after updating gems and doing a new nessusdb gem install.

The assets templates produces the following error:

Error: undefined method number_of_hosts' for #<Class:0xb662c01c> ./bin/../lib/nessusdb/prawn_templater.rb:31:ingenerate' (eval):19:in generate' /usr/lib/ruby/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:238:ineval' ./bin/../lib/nessusdb/prawn_templater.rb:31:in generate' /usr/lib/ruby/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:238:ininstance_eval' /usr/lib/ruby/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:238:in initialize' /usr/lib/ruby/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:130:innew' /usr/lib/ruby/gems/1.8/gems/prawn-core-0.8.4/lib/prawn/document.rb:130:in generate' ./bin/../lib/nessusdb/prawn_templater.rb:29:ingenerate' bin/nessusdb:230:in `main' bin/nessusdb:241

hammackj commented 13 years ago

Did the fixes I mentioned solve the problem?

ebdavison commented 13 years ago

Yes, I was then able to get nessusdb to run.
This was after I fixed the gem and install issue.

hammackj commented 13 years ago

Okay. Sorry for the trouble, it is best to use the rubygems install.