The error occurred when I try to install the 'redmine_question' plugin.
Added by William Kim almost 7 years ago
Hi all.
I need a help... :(
The error occurred when I try to install the 'redmine_question' plugin.
- Environment
1. OS : Windows 7 x86
2. Bitnami Redmine 3.4.4-1 (Windows installer로 설치)
3. github : https://github.com/edavis10/question_plugin
- Log
C:\Bitnami\redmine-3.4.4-1>cd C:\Bitnami\redmine-3.4.4-1\apps\redmine\htdocs\plu
gins
C:\Bitnami\redmine-3.4.4-1\apps\redmine\htdocs\plugins>rake redmine:plugins:migrate NAME=question_plugin RAILS_ENV=production
(in C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs)
rake aborted!
NameError: uninitialized constant QuestionHooksBase::Gravatarify
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/plugins/question_plugin/lib/quest
ion_hooks_base.rb:3:in `<class:QuestionHooksBase>'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/plugins/question_plugin/lib/quest
ion_hooks_base.rb:1:in `<top (required)>'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/plugins/question_plugin/lib/quest
ion_issue_hooks.rb:1:in `<top (required)>'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/plugins/question_plugin/init.rb:3
:in `<top (required)>'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/plugin.rb:155:in `blo
ck in load'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `eac
h'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `loa
d'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/config/initializers/30-redmine.rb
:21:in `<top (required)>'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/config/environment.rb:14:in `<top
(required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
What should I do...?
I can't find the solution.
Please advise to me!
Replies (4)
RE: The error occurred when I try to install the 'redmine_question' plugin. - Added by Guillermo ML almost 7 years ago
You are trying to install a plugin that hasn't been updated in six years, maybe it isn't compatible with a recent Redmine version.
You could try to use a more recent fork, like igloonet or planio-gmbh.
RE: The error occurred when I try to install the 'redmine_question' plugin. - Added by William Kim almost 7 years ago
Thank you for your reply!
I tried to use 'planio-gmbh' but below error is occurred. T_T
C:\Bitnami\redmine-3.4.4-1\apps\redmine\htdocs\plugins>rake redmine:plugins:migr
ate RAILS_ENV=production
(in C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs)
rake aborted!
NoMethodError: undefined method `observers' for ActiveRecord::Base:Class
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/plugins/question_plugin/init.rb:3
1:in `<top (required)>'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/plugin.rb:155:in `blo
ck in load'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `eac
h'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/plugin.rb:146:in `loa
d'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/config/initializers/30-redmine.rb
:21:in `<top (required)>'
C:/Bitnami/redmine-3.4.4-1/apps/redmine/htdocs/config/environment.rb:14:in `<top
(required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
C:\Bitnami\redmine-3.4.4-1\apps\redmine\htdocs\plugins>
Please advise to me again :)
RE: The error occurred when I try to install the 'redmine_question' plugin. - Added by Guillermo ML almost 7 years ago
The planio plugin has a 3.3 branch
Same for igloonet
Both have recent changes that aren't in the master branch. You could try these or ask the authors about redmine 3.3.x compability.
RE: The error occurred when I try to install the 'redmine_question' plugin. - Added by William Kim almost 7 years ago
Thank you!!
It resolved!
I tried to install with branch.
Thank you so much!