Project

General

Profile

Error after updating to Version 0.8.7 SVN

Added by Florian Krauthan over 14 years ago

Hello,
after i have updatet my redmine installation to version 0.8.7 (the current SVN trunk version) i get a error if i view a issue. All the other Parts works.

The error:

A ActionView::TemplateError occurred in issues#show:

  Can only render or redirect once per action
  On line #17 of app/views/layouts/base.rhtml

    14:       body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
    15:     </style>
    16: <![endif]-->
    17: <%= call_hook :view_layouts_base_html_head %>
    18: <!-- page specific tags -->
    19: <%= yield :header_tags -%>
    20: </head>

    lib/redmine/hook.rb:113:in `send'
    lib/redmine/hook.rb:113:in `view_layouts_base_html_head'
    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:144:in `call_hook'
    app/views/layouts/base.rhtml:17:in `_run_rhtml_app47views47layouts47base46rhtml'
    app/controllers/issues_controller.rb:124:in `show_without_todo'
    app/controllers/issues_controller.rb:123:in `show_without_todo'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/rack/request_handler.rb:91:in `process_request'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_request_handler.rb:206:in `main_loop'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb:376:in `start_request_handler'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/utils.rb:182:in `safe_fork'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:162:in `start'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb:261:in `spawn_rails_application'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb:254:in `spawn_rails_application'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/spawn_manager.rb:286:in `handle_spawn_application'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:351:in `__send__'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
    /var/lib/gems/1.8/gems/passenger-2.2.4/lib/phusion_passenger/abstract_server.rb:195:in `start_synchronously'


Replies (8)

RE: Error after updating to Version 0.8.7 SVN - Added by Mischa The Evil over 14 years ago

You've installed the Todo Lists plugin? The failing method-call to show_without_todo seems to come from that plugin...

RE: Error after updating to Version 0.8.7 SVN - Added by Florian Krauthan over 14 years ago

Ah ok that was the problem. I have deleted this Plugin and now it works. Thanks a lot.

RE: Error after updating to Version 0.8.7 SVN - Added by Mischa The Evil over 14 years ago

Florian Krauthan wrote:

Ah ok that was the problem. I have deleted this Plugin and now it works.

Good. Could you also report the issue to the author of the plugin? TIA!

Regards,

Mischa.

RE: Error after updating to Version 0.8.7 SVN - Added by Florian Krauthan over 14 years ago

i have seen that this issue is already reportet.

RE: Error after updating to Version 0.8.7 SVN - Added by Pete Olsen over 14 years ago

I am the same issue however the To Do List plugin is not the issue.
Any Ideas?
Thank You
Pete.

Processing WelcomeController#index (for 10.145.120.31 at 2009-12-08 14:20:32) [GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index

ActionView::TemplateError (Mysql::Error: Table 'redmine.statuses' doesn't exist: SHOW FIELDS FROM `statuses`) on line #12 of app/views/welcome/index.rhtml:
9:              <%= link_to l(:label_news_view_all), :controller => 'news' %>
10:   </div>
11:   <% end %>
12:   <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
13: </div>
14: 
15: <div class="splitcontentright">

    lib/redmine/hook.rb:63:in `send'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:63:in `each'
    lib/redmine/hook.rb:63:in `call_hook'
    lib/redmine/hook.rb:60:in `call_hook'
    lib/redmine/hook.rb:144:in `call_hook'
    app/views/welcome/index.rhtml:12:in `_run_rhtml_app47views47welcome47index46rhtml'
    /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
    /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each'
    /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
    /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'

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

RE: Error after updating to Version 0.8.7 SVN - Added by Pete Olsen over 14 years ago

Pete Olsen wrote:

I am the same issue however the To Do List plugin is not the issue.
Any Ideas?
Thank You
Pete.
[...]

I would like to note that I too updated from 0.8.4 to 0.8.7 via SVN. My issue does not even allow Redmine to come up at all. I get the 500 error on the main page.

Thanks.
Pete.

RE: Error after updating to Version 0.8.7 SVN - Added by Mischa The Evil over 14 years ago

Pete Olsen wrote:

I am the same issue however the To Do List plugin is not the issue.
Any Ideas?
[...]

See http://www.redmine.org/boards/2/topics/10044#message-10089. It's not the Stuff_To_Do plugin IMO which causes the problem.

RE: Error after updating to Version 0.8.7 SVN - Added by Pete Olsen over 14 years ago

Thanks Mischa, that was the fix.

    (1-8/8)