IceskYsl/worklogs

work error

Closed this issue · 1 comments

[root@smbserver current]# RAILS_ENV=production bundle exec rake worklogs:day
worklogs:day: day=>2013-08-01
rake aborted!
undefined local variable or method settings' for #<#<Class:0x00000024587298>:0x00000024586050> /opt/www/redmine/redmine-2.3/plugins/worklogs/app/views/worklog_mailer/day_log.text.erb:37:in_plugins_worklogs_app_views_worklog_mailer_day_log_text_erb___3482220894078830897_304973420'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/template.rb:145:in block in render' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:ininstrument'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in render' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:47:inblock (2 levels) in render_template'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in block in instrument' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:inblock in instrument'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in instrument' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:ininstrument'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in instrument' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:46:inblock in render_template'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:54:in render_with_layout' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:45:inrender_template'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:18:in render' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:36:inrender_template'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:17:in render' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:110:in_render_template'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:103:in render_to_body' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:88:inrender'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:696:in block in collect_responses_and_parts_order' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/collector.rb:26:incall'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/collector.rb:26:in custom' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/abstract_controller/collector.rb:10:intext'
/opt/www/redmine/redmine-2.3/app/models/mailer.rb:417:in block in mail' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:697:incollect_responses_and_parts_order'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:648:in mail' /opt/www/redmine/redmine-2.3/app/models/mailer.rb:416:inmail'
/opt/www/redmine/redmine-2.3/plugins/worklogs/app/models/worklog_mailer.rb:22:in day_log' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:inprocess_action'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in process' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:inprocess'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:459:in process' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:453:ininitialize'
/opt/www/redmine/redmine-2.3/app/models/mailer.rb:427:in initialize' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:439:innew'
/usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionmailer-3.2.13/lib/action_mailer/base.rb:439:in method_missing' /opt/www/redmine/redmine-2.3/app/models/mailer.rb:440:inmethod_missing'
/opt/www/redmine/redmine-2.3/plugins/worklogs/lib/tasks/worklogs.rake:8:in block (3 levels) in <top (required)>' /opt/www/redmine/redmine-2.3/app/models/mailer.rb:377:inwith_synched_deliveries'
/opt/www/redmine/redmine-2.3/plugins/worklogs/lib/tasks/worklogs.rake:7:in block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:ineval'
/usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `

'
Tasks: TOP => worklogs:day
(See full trace by running task with --trace)

fix~