EgbertW / redmine_planning

Redmine plugin that makes it easier to create a project planning
GNU General Public License v3.0
43 stars 29 forks source link

Installation Error #2

Closed codyliou closed 10 years ago

codyliou commented 10 years ago

hi, the plugins migrate is Error

C:\Sites\redmine-2.5.1>rake redmine:plugins:migrate RAILS_ENV=production --trace

* Invoke redmine:plugins:migrate (first_time) * Invoke environment (first_time) \ Execute environment rake aborted! uninitialized constant RbCommonHelper C:/Sites/redmine-2.5.1/plugins/redmine_planning/lib/planning_hooks.rb:18:in <top (required)>' C:/Sites/redmine-2.5.1/plugins/redmine_planning/init.rb:21:inblock in <top (required)>' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:440:in _run__176771909__prepare__992196323__callbacks' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:405:in__run_callback' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:385:in _run_prepare_callbacks' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:81:inrun_callbacks' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/reloader.rb:74:in prepare!' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/reloader.rb:48:inprepare!' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/application/finisher.rb:47:in block in <module:Finisher>' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/initializable.rb:30:ininstance_exec' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/initializable.rb:30:in run' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/initializable.rb:55:inblock in run_initializers' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/initializable.rb:54:in each' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/initializable.rb:54:inrun_initializers' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/application.rb:136:in initialize!' C:/RailsInstaller/Ruby200/lib/ruby/gems/2.0.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:inmethod_missing'

EgbertW commented 10 years ago

First of all: migrate plugins should not be necessary as this plugin does not use any additional models. Anyway, the error would've stopped Redmine from firing up too.

Can you check if this is fixed in commit 04819e80ad39a29011e1b79c2d6bd8e1a867c6f3 please?

codyliou commented 10 years ago

Updata Is OK

EgbertW commented 10 years ago

Thanks for the feedback. If you happen to have updated in the past 4 hours there's a fair chance that you're running 0.6.3 which attempts to use Redmine API. This will result in an HTTP Authentication dialog when creating a relation between two issues. This behavior is fixed in 0.6.4 so I'd recommend to upgrade.