GithubHelp home page GithubHelp logo

southbridgeio / redmine_activity_report Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 11.0 60 KB

The plugin is designed to send daily, weekly and monthly reports on the elapsed time on the project.

License: MIT License

Ruby 53.20% HTML 46.80%

redmine_activity_report's People

Contributors

archonwang avatar arturtr avatar constxife avatar dasha-shu avatar endenwer avatar evgenykungurov avatar nakilon avatar olemskoi avatar openforceru avatar vladislav-yashin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

redmine_activity_report's Issues

adding chron job

bundle exec whenever -i redmine_activity_report -f plugins/redmine_activity_report/config/schedule.rb

I'm getting this error below

/var/lib/gems/2.1.0/gems/bundler-1.10.6/lib/bundler/rubygems_integration.rb:292:in block in replace_gem': whenever is not part of the bundle. Add it to Gemfile. (Gem::LoadError) from /usr/local/bin/whenever:22:in

'

didnot send email

Hi dear all i setup plugin work correct all settings done cron work correct but i didnot recive any email this is a trace results
/usr/share/redmine# RAILS_ENV=production bundle exec rake activity_report:daily --trace
** Invoke activity_report:daily (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute activity_report:daily
Please Help me

Issue during the database migration

Hello,
during the database migration on Redmine 2.6.9, i'm getting this error:

/var/www/redmine # bundle exec rake redmine:plugins:migrate RAILS_ENV=production

rake aborted!
NoMethodError: undefined method ids' for #<Class:0x000000032b67d8> /usr/local/share/gems/gems/activerecord-3.2.22/lib/active_record/dynamic_matchers.rb:55:in method_missing'
/var/www/redmine-2.6.9/plugins/redmine_activity_report/init.rb:16:in block in <top (required)>' /var/www/redmine-2.6.9/lib/redmine/plugin.rb:75:in instance_eval'
/var/www/redmine-2.6.9/lib/redmine/plugin.rb:75:in register' /var/www/redmine-2.6.9/plugins/redmine_activity_report/init.rb:6:in <top (required)>'
/usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in require' /usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in block in require'
/usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:236:in load_dependency' /usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in require'
/var/www/redmine-2.6.9/lib/redmine/plugin.rb:150:in block in load' /var/www/redmine-2.6.9/lib/redmine/plugin.rb:141:in each'
/var/www/redmine-2.6.9/lib/redmine/plugin.rb:141:in load' /var/www/redmine-2.6.9/config/initializers/30-redmine.rb:19:in <top (required)>'
/usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:245:in load' /usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:245:in block in load'
/usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:236:in load_dependency' /usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:245:in load'
/usr/local/share/gems/gems/railties-3.2.22/lib/rails/engine.rb:593:in block (2 levels) in <class:Engine>' /usr/local/share/gems/gems/railties-3.2.22/lib/rails/engine.rb:592:in each'
/usr/local/share/gems/gems/railties-3.2.22/lib/rails/engine.rb:592:in block in <class:Engine>' /usr/local/share/gems/gems/railties-3.2.22/lib/rails/initializable.rb:30:in instance_exec'
/usr/local/share/gems/gems/railties-3.2.22/lib/rails/initializable.rb:30:in run' /usr/local/share/gems/gems/railties-3.2.22/lib/rails/initializable.rb:55:in block in run_initializers'
/usr/local/share/gems/gems/railties-3.2.22/lib/rails/initializable.rb:54:in each' /usr/local/share/gems/gems/railties-3.2.22/lib/rails/initializable.rb:54:in run_initializers'
/usr/local/share/gems/gems/railties-3.2.22/lib/rails/application.rb:136:in initialize!' /usr/local/share/gems/gems/railties-3.2.22/lib/rails/railtie/configurable.rb:30:in method_missing'
/var/www/redmine-2.6.9/config/environment.rb:14:in <top (required)>' /usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in require'
/usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in block in require' /usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:236:in load_dependency'
/usr/local/share/gems/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in require' /usr/local/share/gems/gems/railties-3.2.22/lib/rails/application.rb:103:in require_environment!'
/usr/local/share/gems/gems/railties-3.2.22/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)

i've installed "whenever", as requested in the documentation.
maybe a bug (?)

Do not send mail report

Redmine 4.1 Bitnami. The plugin have success behavior then not activity was found and have issue then activites are presents. The issue plugin work results see on attachec screenshot.
AR_MailingIssue

Change name of folder

Hi,

When we clone git, we get a folder name redmine_activity_report and we put it in folder plugins.
But in reality, folder have to be "timesheet".
There is no doc and it's not really a good way to do installation so can you change your name internaly to become redmine_activity_report ?

Thanks
Ludovic

does it support redmine 2.5?

/opt/redmine# bundle exec rake redmine:plugins NAME=redmine_activity_report RAILS_ENV=production
rake aborted!
undefined method ids' for #<Class:0x00000002e52a48> /var/lib/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/dynamic_matchers.rb:55:inmethod_missing'
/opt/redmine/plugins/redmine_activity_report/init.rb:16:in block in <top (required)>' /opt/redmine/lib/redmine/plugin.rb:73:ininstance_eval'
/opt/redmine/lib/redmine/plugin.rb:73:in register' /opt/redmine/plugins/redmine_activity_report/init.rb:6:in<top (required)>'
/var/lib/gems/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in block in require' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:inload_dependency'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in require' /opt/redmine/lib/redmine/plugin.rb:133:inblock in load'
/opt/redmine/lib/redmine/plugin.rb:124:in each' /opt/redmine/lib/redmine/plugin.rb:124:inload'
/opt/redmine/config/initializers/30-redmine.rb:19:in <top (required)>' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:inload'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in block in load' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:inload_dependency'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in load' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:593:inblock (2 levels) in class:Engine'
/var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:592:in each' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:592:inblock in class:Engine'
/var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:30:in instance_exec' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:30:inrun'
/var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:55:in block in run_initializers' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:54:ineach'
/var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:54:in run_initializers' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/application.rb:136:ininitialize!'
/var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:in method_missing' /opt/redmine/config/environment.rb:14:in<top (required)>'
/var/lib/gems/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' /var/lib/gems/2.1.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in block in require' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:inload_dependency'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in require' /opt/redmine/plugins/a_common_libs/lib/tasks/a_common_libs.rake:1:in<top (required)>'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in load' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:inblock in load'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in load_dependency' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:inload'
/opt/redmine/lib/tasks/redmine.rake:178:in block in <top (required)>' /opt/redmine/lib/tasks/redmine.rake:178:ineach'
/opt/redmine/lib/tasks/redmine.rake:178:in <top (required)>' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:inload'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in block in load' /var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:inload_dependency'
/var/lib/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in load' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:425:inblock in load_tasks'
/var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:425:in each' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:425:inload_tasks'
/var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/application.rb:145:in load_tasks' /var/lib/gems/2.1.0/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:inmethod_missing'
/opt/redmine/Rakefile:7:in `<top (required)>'
(See full trace by running task with --trace)

does it support redmine 3.2.X?

I tried it on Redmine 3.2.1, I config the plugin as follows

  1. installed the plugin and config the plugin settings
  2. in projects add [activity_user], [report_user]
  3. config the schedule.rb
  4. restart redmine

I wait until the time I have defined, but nothing happened after I make these config...
anything I've missed? Thanks.

Collapse settings

It is installed on Bitnami Redmine Plus Agile 4.1.0-8. Everything was OK. whenever is installed. From adminis-plugin page I selected the trackers. After that I activated this plugin from the program settings/configuration. After this there is no opportunity to see the settings screen anymore.

image

For the project which is not using this plugin there is no problem.
When I select all trackers issues collapsed completely.
image

Plugins installed to the system
image

I will try to install and use also only on plugin to understand the incompatability.

New feature: add time logs comments

hello, I was wondering if it is possible to add the comments of a time log in the list of the single time logs (Daily report).
I would be nice to have it (maybe optionally) also in the other two reports

davide

activity report

this is awesome. I noticed it only works when hours are tracked.

any way you can give it the option to do the activity report...not just when hours are tracked but when tasks are updated just like the activity tab? same output?

Does it support 3.0.3 redmine version?

When I executed "bundle exec rake redmine:plugins:migrate", I got the following error:

(in /opt/redmine-3.0.3-0/apps/redmine/htdocs)
rake aborted!
Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/opt/redmine-3.0.3-0/apps/redmine/htdocs/app/models/custom_field.rb:32:in <class:CustomField>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/app/models/custom_field.rb:18:in<top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:83:in field_attributes' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:86:inclass:Base'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:48:in <module:FieldFormat>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:19:inmodule:Redmine'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:18:in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine.rb:38:in<top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/config/initializers/30-redmine.rb:6:in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/config/environment.rb:14:in<top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/plugins/a_common_libs/lib/tasks/saas.rake:1:in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:inblock in <top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:in each' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:in<top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/Rakefile:7:in <top (required)>' (See full trace by running task with --trace) bash-4.1# bundle exec rake redmine:plugins:migrate (in /opt/redmine-3.0.3-0/apps/redmine/htdocs) rake aborted! Mysql2::Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) /opt/redmine-3.0.3-0/apps/redmine/htdocs/app/models/custom_field.rb:32:inclass:CustomField'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/app/models/custom_field.rb:18:in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:83:infield_attributes'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:86:in <class:Base>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:48:inmodule:FieldFormat'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:19:in <module:Redmine>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine/field_format.rb:18:in<top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/redmine.rb:38:in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/config/initializers/30-redmine.rb:6:in<top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/config/environment.rb:14:in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/plugins/a_common_libs/lib/tasks/saas.rake:1:in<top (required)>'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:in block in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:ineach'
/opt/redmine-3.0.3-0/apps/redmine/htdocs/lib/tasks/redmine.rake:179:in <top (required)>' /opt/redmine-3.0.3-0/apps/redmine/htdocs/Rakefile:7:in<top (required)>'
(See full trace by running task with --trace)

Error in Redmine 4.0.4

I got this errors on execute commands in Redmine 4.0.4 Docker version
command:
RAILS_ENV=production bundle exec rake activity_report:monthly --trace

root@03b0c83d65c0:/home/redmine/redmine# RAILS_ENV=production bundle exec rake activity_report:monthly --trace
** Invoke activity_report:monthly (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute activity_report:monthly
rake aborted!
ActionView::Template::Error: undefined method `default_url_options' for ActionMailer::Parameterized::Mailer:Class
/home/redmine/redmine/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:11:in `default_url_options'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute.rb:128:in `public_send'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute.rb:128:in `block (2 levels) in class_attribute'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/url_for.rb:219:in `optimize_routes_generation?'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/routing_url_for.rb:134:in `optimize_routes_generation?'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/route_set.rb:229:in `optimize_routes_generation?'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/route_set.rb:199:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/route_set.rb:331:in `block (2 levels) in define_url_helper'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:29:in `block (2 levels) in _97e9ef89c4627687adbc01a38e28fc97'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:25:in `each'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:25:in `block in _97e9ef89c4627687adbc01a38e28fc97'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:9:in `each'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:9:in `_97e9ef89c4627687adbc01a38e28fc97'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/template.rb:159:in `block in render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:170:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/template.rb:354:in `instrument_render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/template.rb:157:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/deface-1.3.2/lib/deface/action_view_extensions.rb:41:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/abstract_renderer.rb:44:in `block in instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `block in instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/abstract_renderer.rb:43:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:16:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/renderer.rb:44:in `render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/renderer.rb:25:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/rendering.rb:103:in `_render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/rendering.rb:84:in `render_to_body'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/rendering.rb:25:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:943:in `block in collect_responses_from_templates'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `map'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `collect_responses_from_templates'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:925:in `collect_responses'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:828:in `mail'
/home/redmine/redmine/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:28:in `report'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/base.rb:194:in `process_action'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/callbacks.rb:41:in `process_action'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/base.rb:134:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/rescuable.rb:25:in `block in process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/rescuable.rb:17:in `handle_exceptions'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/rescuable.rb:24:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/rendering.rb:32:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:607:in `block in process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `block in instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:606:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:123:in `block in processed_mailer'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:122:in `tap'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:122:in `processed_mailer'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:113:in `deliver_now'
/home/redmine/redmine/plugins/redmine_activity_report/lib/activity_report.rb:49:in `block in send_activity_reports'
/home/redmine/redmine/plugins/redmine_activity_report/lib/activity_report.rb:48:in `each'
/home/redmine/redmine/plugins/redmine_activity_report/lib/activity_report.rb:48:in `send_activity_reports'
/home/redmine/redmine/plugins/redmine_activity_report/lib/tasks/activity_report.rake:9:in `block (2 levels) in <top (required)>'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/bin/rake:23:in `load'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/bin/rake:23:in `<main>'

Caused by:
NoMethodError: undefined method `default_url_options' for ActionMailer::Parameterized::Mailer:Class
/home/redmine/redmine/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:11:in `default_url_options'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute.rb:128:in `public_send'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute.rb:128:in `block (2 levels) in class_attribute'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/url_for.rb:219:in `optimize_routes_generation?'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/routing_url_for.rb:134:in `optimize_routes_generation?'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/route_set.rb:229:in `optimize_routes_generation?'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/route_set.rb:199:in `call'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/action_dispatch/routing/route_set.rb:331:in `block (2 levels) in define_url_helper'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:29:in `block (2 levels) in _97e9ef89c4627687adbc01a38e28fc97'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:25:in `each'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:25:in `block in _97e9ef89c4627687adbc01a38e28fc97'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:9:in `each'
/home/redmine/redmine/plugins/redmine_activity_report/app/views/activity_report_mailer/report.html.erb:9:in `_97e9ef89c4627687adbc01a38e28fc97'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/template.rb:159:in `block in render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:170:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/template.rb:354:in `instrument_render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/template.rb:157:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/deface-1.3.2/lib/deface/action_view_extensions.rb:41:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/abstract_renderer.rb:44:in `block in instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `block in instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/abstract_renderer.rb:43:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/template_renderer.rb:16:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/renderer.rb:44:in `render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/renderer/renderer.rb:25:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/rendering.rb:103:in `_render_template'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/rendering.rb:84:in `render_to_body'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/rendering.rb:25:in `render'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:943:in `block in collect_responses_from_templates'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `map'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:940:in `collect_responses_from_templates'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:925:in `collect_responses'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:828:in `mail'
/home/redmine/redmine/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:28:in `report'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/base.rb:194:in `process_action'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb:98:in `run_callbacks'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/callbacks.rb:41:in `process_action'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionpack-5.2.3/lib/abstract_controller/base.rb:134:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/rescuable.rb:25:in `block in process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/rescuable.rb:17:in `handle_exceptions'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/rescuable.rb:24:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionview-5.2.3/lib/action_view/rendering.rb:32:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:607:in `block in process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `block in instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb:168:in `instrument'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/base.rb:606:in `process'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:123:in `block in processed_mailer'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:122:in `tap'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:122:in `processed_mailer'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/actionmailer-5.2.3/lib/action_mailer/message_delivery.rb:113:in `deliver_now'
/home/redmine/redmine/plugins/redmine_activity_report/lib/activity_report.rb:49:in `block in send_activity_reports'
/home/redmine/redmine/plugins/redmine_activity_report/lib/activity_report.rb:48:in `each'
/home/redmine/redmine/plugins/redmine_activity_report/lib/activity_report.rb:48:in `send_activity_reports'
/home/redmine/redmine/plugins/redmine_activity_report/lib/tasks/activity_report.rake:9:in `block (2 levels) in <top (required)>'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
/home/redmine/data/tmp/bundle/ruby/2.4.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/bin/rake:23:in `load'
/home/redmine/redmine/vendor/bundle/ruby/2.4.0/bin/rake:23:in `<main>'
Tasks: TOP => activity_report:monthly

what should i do to fix the error?

Issue installing cronjob

Executing bundle exec whenever -i redmine_activity_report -f plugins/redmine_activity_report/config/schedule.rb from the redmine root directory produces this error:

/usr/local/rvm/gems/ruby-2.4.1/gems/whenever-0.10.0/lib/whenever/command_line.rb:119:in split': invalid byte sequence in UTF-8 (ArgumentError) from /usr/local/rvm/gems/ruby-2.4.1/gems/whenever-0.10.0/lib/whenever/command_line.rb:119:in prepare'
from /usr/local/rvm/gems/ruby-2.4.1/gems/whenever-0.10.0/lib/whenever/command_line.rb:68:in read_crontab' from /usr/local/rvm/gems/ruby-2.4.1/gems/whenever-0.10.0/lib/whenever/command_line.rb:97:in updated_crontab'
from /usr/local/rvm/gems/ruby-2.4.1/gems/whenever-0.10.0/lib/whenever/command_line.rb:38:in run' from /usr/local/rvm/gems/ruby-2.4.1/gems/whenever-0.10.0/lib/whenever/command_line.rb:6:in execute'
from /usr/local/rvm/gems/ruby-2.4.1/gems/whenever-0.10.0/bin/whenever:44:in <top (required)>' from /usr/local/rvm/gems/ruby-2.4.1/bin/whenever:23:in load'
from /usr/local/rvm/gems/ruby-2.4.1/bin/whenever:23:in <main>' from /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in eval'
from /usr/local/rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `

'

It is a fresh redmine install. What did I miss?

Thanks

multibyte issue

Hello I've had some issue with multibyte coding.. maybe due to my local settings, anyway I was having the following error that I've fixedchenging the russian text with "tracker". I was wondering if that's change something in the plugin?

davide

 RAILS_ENV=production bundle exec rake activity_report:monthly --trace
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
** Invoke activity_report:monthly (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute activity_report:monthly
rake aborted!
SyntaxError: /var/www/redmine-3.1.5/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:54: invalid multibyte char (US-ASCII)
/var/www/redmine-3.1.5/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:54: invalid multibyte char (US-ASCII)
/var/www/redmine-3.1.5/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:54: syntax error, unexpected $end, expecting ')'
...il, subject: @subject.gsub(' для трекера', ''), te...
** Invoke activity_report:monthly (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute activity_report:monthly
rake aborted!
SyntaxError: /var/www/redmine-3.1.5/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:54: invalid multibyte char (US-ASCII)
/var/www/redmine-3.1.5/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:54: invalid multibyte char (US-ASCII)
/var/www/redmine-3.1.5/plugins/redmine_activity_report/app/models/activity_report_mailer.rb:54: syntax error, unexpected $end, expecting ')'

Плагин не работает в версии Redmine 3.4.6.stable

Добрый день.

Установил плагин по инструкции в Readme, активировал в модулях проекта, но при переходе на вкладку "Activity report" вижу только статус обновления и всё, ошибок в консоли нет скрин прилагается -> http://joxi.ru/l2ZE0elHwdX83m

Если в этот момент обновить страницу ты вылазит 500 ошибка -> http://joxi.ru/4AkadG8hyaDMJm

Буду признателен в любой помощи.

Error: undefined method `default_url_options'

Крон прислал ошибку. Попробовал запустить руками, те же ошибки. 4.0.1

RAILS_ENV=production bundle exec rake activity_report:daily
rake aborted!
ActionView::Template::Error: undefined method `default_url_options' for ActionMailer::Parameterized::Mailer:Class

Caused by:
NoMethodError: undefined method `default_url_options' for ActionMailer::Parameterized::Mailer:Class

Error: undefined method `activity_report_settings'

Ubuntu 16.04 x64
mysql Ver 14.14 Distrib 5.7.17, for Linux (x86_64)

Environment: Redmine version 3.3.2.stable Ruby version 2.2.3-p173 (2015-08-18) [x86_64-linux] Rails version 4.2.7.1 Environment production Database adapter Mysql2 SCM: Subversion 1.9.3 Mercurial 3.7.3 Cvs 1.12.13 Git 2.7.4 Filesystem Redmine plugins: redmine_activity_report 1.2.9 redmine_agile 1.4.2 redmine_checklists 3.1.5 redmine_ckeditor 1.1.3 redmine_code_review 0.7.0 redmine_contacts 4.0.6 redmine_issue_templates 0.1.1 redmine_lightbox2 0.2.5 redmine_people 1.2.0 redmine_tweaks 1.0.0

Установил плагин следующим образом:

  1. gem install whenever
  2. git clone https://github.com/centosadmin/redmine_activity_report.git plugins/redmine_activity_report
  3. bundle exec rake redmine:plugins:migrate
  4. bundle exec whenever -i redmine_activity_report -f plugins/redmine_activity_report/config/schedule.rb

В настройках проекта на вкладке "модули" установил признак использования модуля "activity report". После нажатия на конпку сохранить получил 500-ю ошибку. Теперь при попытке открыть вкладку настроек этого проекта в log/production.log выводится следующее:
`
Rendered projects/settings.html.erb within layouts/base (287.1ms)
Completed 500 Internal Server Error in 315ms (ActiveRecord: 29.6ms)

ActionView::Template::Error (undefined method activity_report_settings' for #<Project:0x007f897f9c03c8>): 10: <div class="box"> 11: <p> 12: <%= check_box_tag 'activity_report_settings[with_subprojects]', '1', 13: @project.activity_report_settings.try(:[], 'with_subprojects').present?, 14: id: 'activity_report_settings_with_subprojects' 15: %> 16: <%= label_tag 'activity_report_settings[with_subprojects]', t('activity_report.settings.with_subprojects') %> plugins/redmine_activity_report/app/views/projects/settings/_activity_report.html.erb:13:in block in _d1dc3f9055d7c33e435c3d0d10d89191'
plugins/redmine_activity_report/app/views/projects/settings/_activity_report.html.erb:7:in _d1dc3f9055d7c33e435c3d0d10d89191' app/views/common/_tabs.html.erb:17:in block in _cb4762fefee9f355ada80db890ea8e1f'
app/views/common/_tabs.html.erb:16:in each' app/views/common/_tabs.html.erb:16:in _cb4762fefee9f355ada80db890ea8e1f'
app/helpers/application_helper.rb:325:in render_tabs' app/views/projects/settings.html.erb:3:in _ff8510739965a8347bdffd3499e4d230'
lib/redmine/sudo_mode.rb:63:in sudo_mode'

Проверил еще на двух проектах - аналогично.
Как это можно исправить?

cannot work

hello,when I run this command,it show below error, can you tell me what problem happen?thank you.

whenever

gem error

when i tried installing the gem the bundler throws the following error:

ERROR: Could not find a valid gem 'whenever' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://api.rubygems.org/specs.4.8.gz)

also adding the line gem 'whenever' didnt help. Kindly advice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.