amartel/redmine_pdf_wiki — Issue #9: Internal error.
Author: Lordtias
Created: 2011-12-15 17:23:25+00:00
State: open

hi Martel

I couldn't test what you told me in the other issue, I had to change the Linux's distribution (I was using Fedora, and now i use Debian). The problem is that when I click 'PFD' the browser shows me this:

# Internal error
#
# An error occurred on the page you were trying to access.
# If you continue to experience problems please contact your Redmine administrator for # assistance.
#
# If you are the Redmine administrator, check your log files for details about the error.

And when I go to check redmine's log I get the following :

ActionController::MissingFile (Cannot read file /usr/share/redmine/tmp/wiki2pdf/1518sb4bu.pdf):
vendor/plugins/redmine_pdf_wiki/app/controllers/wikitopdf_controller.rb:70:in `to_pdf'
vendor/plugins/redmine_pdf_wiki/app/controllers/wikitopdf_controller.rb:10:in `export'
/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/share/redmine/log/production.log" 2617L, 181379C

I think I have the permits configured correctly, especially tmp's permits, and I Installed the htmltopdf using the next command:

aptitude install wkhtmltopdf

With this command i got version 0.9.9.
On the other hand, the plug-in's configuration is ok.

Thx for the help.