Project

General

Profile

[Redmine checklists plugin] - Missing helper file

Added by Mathieu f almost 6 years ago

Hi,

I'm trying to install the plugin "Redmine Contracts with Time Tracking" but I have some struggles.

Here are my informations:
- Ruby 2.5.1p57
- Rails 5.1.6
- Ubuntu 16.04 Xenial
- Database used: MySQL 14.14
- Webrick

So once the plugin folder is nested in /plugins I run $ rake redmine:plugins:migrate RAILS_ENV=production, and then this error message appears:
--------------------------------------------------------------------------------------------------------------------------------------------
rake aborted!
AbstractController::Helpers::MissingHelperError: Missing helper file helpers/checklists_helper.rb
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:25:in `apply'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:32:in `block in <top (required)>'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:31:in `each'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:31:in `<top (required)>'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/redmine_checklists.rb:31:in `block in <top (required)>'
/home/mathieu/code/redmine-test/config/environment.rb:14:in `<top (required)>'

Caused by:
LoadError: No such file to load -- checklists_helper.rb
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:25:in `apply'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:32:in `block in <top (required)>'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:31:in `each'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/patches/add_helpers_for_checklists_patch.rb:31:in `<top (required)>'
/home/mathieu/code/redmine-test/plugins/checklists/lib/redmine_checklists/redmine_checklists.rb:31:in `block in <top (required)>'
/home/mathieu/code/redmine-test/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
--------------------------------------------------------------------------------------------------------------------------------------------

Unfortunatly I haven't found useful info for this problem.
Does anyone have experienced this problem?

Thanks for your help.
Mathieu


Replies (2)

RE: [Redmine checklists plugin] - Missing helper file - Added by Viktor Kuznetsov almost 5 years ago

Got the same issue with

Environment:
  Redmine version                3.3.1.stable
  Ruby version                   2.3.3-p222 (2016-11-21) [x86_64-linux-gnu]
  Rails version                  4.2.11.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            2.11.0
  Filesystem                     
Redmine plugins:
  no plugin installed

RE: [Redmine checklists plugin] - Missing helper file - Added by Viktor Kuznetsov almost 5 years ago

Solved, that was my mistake, I've placed the plugin folder into /usr/share/redmine/lib/plugins instead of /usr/share/plugins (witch was missing by default).

    (1-2/2)