Project

General

Profile

Question #950

Internal server error on diff view with Code Review on redmine 1.3.0

Added by Jostein Elvaker Haande almost 8 years ago. Updated almost 8 years ago.

Status:
担当(Assigned)
Priority:
通常(Normal)
Assignee:
Start date:
02/18/2012
Due date:
% Done:

0%

Estimated time:

Description

Hello Haru Iida,

I've experienced a minor bug with your redmine plugin 'Code Review' (latest version, running on redmine branch 1.3.0). The bug appears when I go into open issues, and have a review associated with an issue. In the link that is listed in the issue, and this is followed and the diff rendered, the icon indicating the annotation in the diff is missing and on the bottom of the page (the footer), the following is stated:

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.

And if I look at the error log (ref: log/production.log) I get this:

RuntimeError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]):
  (eval):21:in `root_url'
  vendor/plugins/redmine_code_review/app/controllers/code_review_controller.rb:181:in `update_diff_view'
  passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
  passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
  passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
  passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start'
  passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
  passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
  passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
  passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
  passenger (3.0.11) helper-scripts/passenger-spawn-server:99

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

I don't know what's wrong, and would really appreciate some help on this error.

If you need more information I'd be more than willing to give this to you.

Thanks in advance, and I look forward to hearing back from you.

History

#1

Updated by Haru Iida almost 8 years ago

  • Project changed from r-labs to Code Review
  • Status changed from 新規(New) to 担当(Assigned)
  • Assignee set to Haru Iida
#2

Updated by Haru Iida almost 8 years ago

  • Target version changed from 0.4.7 to 0.5.0
#3

Updated by Haru Iida over 7 years ago

  • Target version changed from 0.5.0 to いつかやる(Unplanned)

Also available in: Atom PDF