Project

General

Profile

internal server error with plugin DocPu

Added by m ehrhart over 13 years ago

Hello,

I use redmine 1.0.2 and I'm verry happy with it.

Instal is performed on Debian Lenny, (with lenny-backports). mod_passenger is used and sqlite3 as backend.

I try the latest DocPu plugin v002 ; but when I try to build a document, an "internal server error" is raised.

From $redmine_root/log/production.log

Processing DocPuController#build_remote (for 192.168.1.222 at 2010-12-07 12:26:57) [POST]
  Parameters: {"project_id"=>"kronosrtdev", "action"=>"build_remote", "authenticity_token"=>"TRFBL1uvLP2TGQRekYiV3CuivLc+42I/pYMAu6QPt3w=", "id"=>"2", "contr
oller"=>"doc_pu", "_"=>""}

NameError (uninitialized constant RedCloth::Formatters):
  vendor/plugins/redmine_doc_pu/app/models/doc_pu_wiki_page.rb:22:in `to_latex'
  vendor/plugins/redmine_doc_pu/app/models/doc_pu_document.rb:23:in `build'
  vendor/plugins/redmine_doc_pu/app/controllers/doc_pu_controller.rb:97:in `build_remote'
  /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
  /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
  /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  /usr/lib/phusion_passenger/passenger-spawn-server:61

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

Latex is installed with all the modules. (debian lenny packages texlive, texlive-latex-recommended, texlive-latex-extra)

I can compile a document with article_en_tcfi.tex

RedCloth is installed with v 4.2.3

What is

NameError (uninitialized constant RedCloth::Formatters):
???

Thanks you very much.