tkusukawa / kusu

Automatically exported from code.google.com/p/kusu
0 stars 0 forks source link

Internal eror 500 when going to worktime tab #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Going to Worktime tab

I think the problem occurred after upgrading the gems. But the strange thing is 
it occurred day after it.

What is the expected output? 

Worktime tab.

What do you see instead?

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.

What version of the product are you using? On what operating system?

Redmine Work Time plugin    0.1.2

system:
Linux 2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011 x86_64 GNU/Linux

gem list:

actionmailer (3.1.0, 2.3.11, 2.3.8, 2.3.5)
actionpack (3.1.0, 2.3.11, 2.3.8, 2.3.5)
activemodel (3.1.0)
activerecord (3.1.0, 2.3.11, 2.3.8, 2.3.5)
activeresource (3.1.0, 2.3.11, 2.3.8, 2.3.5)
activesupport (3.1.0, 2.3.11, 2.3.8, 2.3.5)
arel (2.2.1)
Ascii85 (1.0.1)
bcrypt-ruby (3.0.0)
builder (3.0.0)
bundler (1.0.18)
daemon_controller (0.2.6)
erubis (2.7.0)
fastthread (1.0.7)
gruff (0.3.6)
hike (1.2.1)
holidays (1.0.3)
i18n (0.6.0, 0.4.2)
icalendar (1.1.6)
mail (2.3.0)
mime-types (1.16)
multi_json (1.0.3)
mysql (2.8.1)
nokogiri (1.5.0)
open-uri-cached (0.0.4)
passenger (3.0.9, 2.2.14)
pdf-reader (0.10.0)
pg (0.11.0, 0.9.0)
polyglot (0.3.2)
prawn (0.12.0)
rack (1.3.2, 1.1.1, 1.1.0, 1.0.1)
rack-cache (1.0.3)
rack-mount (0.8.3)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.1.0, 2.3.11, 2.3.8, 2.3.5)
railties (3.1.0)
rake (0.9.2, 0.8.7)
rdoc (3.9.4)
sprockets (2.0.0)
sqlite3-ruby (1.3.0)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
ttfunk (1.0.2)
tzinfo (0.3.29)

Please provide any additional information below.

Processing WorkTimeController#index (for 217.119.233.170 at 2011-09-13 
10:20:39) [GET]
  Parameters: {"month"=>"9", "action"=>"index", "day"=>"13", "year"=>"2011", "controller"=>"work_time", "user"=>"3"}
Rendering template within layouts/base
Rendering work_time/show

ActionView::TemplateError (wrong number of arguments (0 for 1)) on line #60 of 
vendor/plugins/redmine_work_time/app/views/work_time/_user_month_table.html.erb:
57:           </a>
58: <%end%>
59:           <%= link_to(issueHtml, {:controller=>"issues", :action=>"show", 
:id=>issue_id}, :popup=>true) %>
60:           <%= print_issue_cost(issue) %>
61:           <div style="position:absolute;top:15px;right:15px;">
62:             <%=sprintf("%1.1f", issue_pack[:total])%>
63:           </div>

    vendor/plugins/redmine_work_time/app/helpers/work_time_helper.rb:4:in `estimated_hours'
    vendor/plugins/redmine_work_time/app/helpers/work_time_helper.rb:4:in `print_issue_cost'
    vendor/plugins/redmine_work_time/app/views/work_time/_user_month_table.html.erb:60
    vendor/plugins/redmine_work_time/app/views/work_time/_user_month_table.html.erb:40:in `each'
    vendor/plugins/redmine_work_time/app/views/work_time/_user_month_table.html.erb:40
    vendor/plugins/redmine_work_time/app/views/work_time/_user_month_table.html.erb:33:in `each'
    vendor/plugins/redmine_work_time/app/views/work_time/_user_month_table.html.erb:33
    vendor/plugins/redmine_work_time/app/views/work_time/show.html.erb:39
    vendor/plugins/redmine_work_time/app/controllers/work_time_controller.rb:26:in `index'
    passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request'
    passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start'
    passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'

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

Original issue reported on code.google.com by dyna...@gmail.com on 13 Sep 2011 at 8:30

GoogleCodeExporter commented 9 years ago
Please try again on redmine_work_time ver0.1.3.

b.t.w.
Do you use redmine_backlogs plugin?
(same error occur in Issue 54)

Original comment by T.Kusukawa on 18 Sep 2011 at 2:45