Project

General

Profile

NoMethodError (undefined method `downcase' for nil:NilClass) when open to-PDF link

Added by Robin Kluth about 12 years ago

Hey :)

Redmine 1.3.0.stable (MySQL)

I get the following error if I try to export a wiki-page to PDF:

Processing WikiController#show to pdf (for 79.195.158.175 at 2012-02-15 18:15:41) [GET]
Parameters: {"format"=>"pdf", "project_id"=>"skoda-6y3", "action"=>"show", "id"=>"Fensterheber_per_FFB_öffnenschließen", "controller"=>"wiki"}

NoMethodError (undefined method `downcase' for nil:NilClass):
lib/redmine/export/pdf.rb:120:in `RDMwriteHTMLCell'
lib/redmine/export/pdf.rb:509:in `wiki_to_pdf'
app/controllers/wiki_controller.rb:76:in `show'
/usr/lib/ruby/1.8/mongrel.rb:159:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:158:in `each'
/usr/lib/ruby/1.8/mongrel.rb:158:in `process_client'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:285:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:285:in `new'
/usr/lib/ruby/1.8/mongrel.rb:285:in `run'
/usr/lib/ruby/1.8/mongrel.rb:268:in `initialize'
/usr/lib/ruby/1.8/mongrel.rb:268:in `new'
/usr/lib/ruby/1.8/mongrel.rb:268:in `run'

Rendering /srv/redmine/public/500.html (500 Internal Server Error)

Current Redmine language: german.

Can anyone confirm this?


Replies (4)

RE: NoMethodError (undefined method `downcase' for nil:NilClass) when open to-PDF link - Added by Jorge Barata about 12 years ago

Yes, I am getting this error too:

Processing WikiController#show to pdf (for 141.101.70.125 at 2012-03-07 12:26:39) [GET]
  Parameters: {"format"=>"pdf", "project_id"=>"cthulhu", "action"=>"show", "id"=

NoMethodError (undefined method `downcase' for nil:NilClass):
  lib/redmine/export/pdf.rb:120:in `RDMwriteHTMLCell'
  lib/redmine/export/pdf.rb:509:in `wiki_to_pdf'
  app/controllers/wiki_controller.rb:76:in `show'
  public/dispatch.fcgi:24

Rendering /home/redmine/src/public/500.html (500 Internal Server Error)

Redmine 1.3.0.stable

RE: NoMethodError (undefined method `downcase' for nil:NilClass) when open to-PDF link - Added by Jun NAITOH about 12 years ago

I can't reproduce.

Please look Submissions , and please write a reproducible wiki format text.

    (1-4/4)