2009年10月21日水曜日

Redmine:Plugin migrateでエラー

環境:redmine 0.8.5 / sqlite3 3.6.7 / OpenSolaris 06/09

新しいPluginを入れて、migrateしたら、以下のエラー。

SOURCE::http://github.com/GOYELLO/redmine-schedules-plugin AS-IS 20091015

rake db:migrate_plugins RAILS_ENV=production
(in /export/home/webadm/redmine-0.8.5)
rake aborted!
can't convert Hash into String

(See full trace by running task with --trace)


そこで、--trace してみると、

/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:190:in `iconv'
/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:190:in `load_localized_strings'
/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:189:in `each'
/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:189:in `load_localized_strings'
/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:188:in `open'
/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:188:in `load_localized_strings'
/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:175:in `each'
/export/home/webadm/redmine-0.8.5/vendor/plugins/gloc-1.1.0/lib/gloc.rb:175:in `load_localized_strings'
/export/home/webadm/redmine-0.8.5/config/initializers/30-redmine.rb:4
/export/home/webadm/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
/export/home/webadm/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
/export/home/webadm/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/export/home/webadm/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:503:in `load'
/export/home/webadm/redmine-0.8.5/vendor/rails/railties/lib/initializer.rb:484:in `load_application_initializers'
/export/home/webadm/redmine-0.8.5/vendor/rails/railties/lib/initializer.rb:483:in `each'
/export/home/webadm/redmine-0.8.5/vendor/rails/railties/lib/initializer.rb:483:in `load_application_initializers'
/export/home/webadm/redmine-0.8.5/vendor/rails/railties/lib/initializer.rb:149:in `process'
/export/home/webadm/redmine-0.8.5/vendor/rails/railties/lib/initializer.rb:97:in `send'
/export/home/webadm/redmine-0.8.5/vendor/rails/railties/lib/initializer.rb:97:in `run'
/export/home/webadm/redmine-0.8.5/config/environment.rb:20
/usr/ruby/1.8/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/ruby/1.8/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/export/home/webadm/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/export/home/webadm/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/export/home/webadm/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/export/home/webadm/redmine-0.8.5/vendor/rails/railties/lib/tasks/misc.rake:3
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/usr/ruby/1.8/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/usr/ruby/1.8/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/var/ruby/1.8/gem_home/gems/rake-0.8.7/bin/rake:31
/var/ruby/1.8/gem_home/bin/rake:19:in `load'
/var/ruby/1.8/gem_home/bin/rake:19

どうも、Localeらしいのだが詳細がわからず、、、その2に続く。

0 件のコメント: