pharmazone / redmine_charts2

Plugin which integrates with Redmine 2.0.3 and 2.1.x following charts: burndown, timeline, ratios of logged hours and issues, deviations of logged hours.
http://github.com/pharmazone/redmine_charts2
MIT License
51 stars 22 forks source link

AcionDispatch error #2

Closed Crotery closed 12 years ago

Crotery commented 12 years ago

Hi! Trying to use this plugin on redmine 1.4.4 with ruby 1.9.3 unsuccessfully :(

Original plugin redmine_charts works on ruby 1.8.7, but not on 1.9.3, because of "Hash to Array" error, but your plugin can't be even migrated

There are a lot of warnings in trace, they are, as I think, not regarded to your plugin, because they appears always before install.

ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-linux]

* LOCAL GEMS *

actionmailer (3.2.8, 2.3.14, 2.3.5) actionpack (3.2.8, 2.3.14, 2.3.5) activemodel (3.2.8) activerecord (3.2.8, 2.3.14, 2.3.5) activerecord-mysql2-adapter (0.0.3) activeresource (3.2.8, 2.3.14, 2.3.5) activesupport (3.2.8, 2.3.14, 2.3.5) arel (3.0.2) builder (3.0.4) bundler (1.2.1) business_time (0.6.1, 0.4.0) coderay (1.0.8) daemons (1.1.9) erubis (2.7.0) eventmachine (1.0.0) fastercsv (1.5.5) hike (1.2.1) i18n (0.6.1, 0.4.2) journey (1.0.4) json (1.7.5) mail (2.4.4) mime-types (1.19) multi_json (1.3.6) mysql (2.8.1) mysql2 (0.3.11, 0.2.18) net-ldap (0.3.1) nokogiri (1.5.5) polyglot (0.3.3) rack (1.1.3, 1.0.1) rack-cache (1.2) rack-ssl (1.3.2) rack-test (0.6.2) rails (2.3.14, 2.3.5) railties (3.2.8) rake (0.9.2.2) rdoc (3.12) render_parent (0.0.4) rmagick (2.13.1) ruby-ole (1.2.11.4) ruby-openid (2.2.2, 2.1.8) rubygems-bundler (1.1.0) rvm (1.11.3.5) spreadsheet (0.7.4, 0.6.8) sprockets (2.1.3) thin (1.5.0) thor (0.16.0) tilt (1.3.3) treetop (1.4.11) tzinfo (0.3.33) vpim (0.695)

havana:/SITES/_hidden_/redmine._hidden_# RAILS_ENV=production rake db:migrate:plugins --trace NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/rails/gem_dependency.rb:21. NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#refresh! called from /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34. NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#load_gems_in called from /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:322. WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. at /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/rdoc/task.rb:322: warning: already initialized constant RDocTask * Invoke db:migrate:plugins (first_time) * Invoke environment (first_time) \ Execute environment rake aborted! uninitialized constant Rails::Plugin::ActionDispatch /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/activesupport/lib/active_support/dependencies.rb:131:in rescue in const_missing' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/activesupport/lib/active_support/dependencies.rb:120:inconst_missing' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/plugins/redmine_charts/init.rb:10:in block in evaluate_init_rb' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/railties/lib/rails/plugin.rb:158:ineval' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/rails/plugin.rb:158:in block in evaluate_init_rb' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:insilence_warnings' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/rails/plugin.rb:154:in evaluate_init_rb' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/railties/lib/rails/plugin.rb:48:inload' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/plugins/engines/lib/engines/plugin.rb:44:in load' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/railties/lib/rails/plugin/loader.rb:38:inblock in load_plugins' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/rails/plugin/loader.rb:37:in each' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/railties/lib/rails/plugin/loader.rb:37:inload_plugins' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/initializer.rb:369:in load_plugins' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/railties/lib/initializer.rb:165:inprocess' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/initializer.rb:113:in run' /var/www/www/data/www/***hidden***/redmine.***hidden***/config/environment.rb:21:in<top (required)>' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in require' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:inblock in require' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in new_constants_in' /var/www/www/data/www/***hidden***/redmine.***hidden***/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:inrequire' /var/www/www/data/www/_hidden_/redmine._hidden_/vendor/rails/railties/lib/tasks/misc.rake:4:in block in <top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:incall' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in block in execute' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:ineach' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in execute' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:inblock in invoke_with_call_chain' /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:ininvoke_with_call_chain' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:176:in block in invoke_prerequisites' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:174:ineach' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:174:in invoke_prerequisites' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:157:inblock in invoke_with_call_chain' /usr/local/rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:ininvoke_with_call_chain' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in invoke' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:ininvoke_task' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block (2 levels) in top_level' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:ineach' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block in top_level' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in top_level' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:66:inblock in run' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/lib/rake/application.rb:63:inrun' /usr/local/rvm/gems/ruby-1.9.3-p286@global/gems/rake-0.9.2.2/bin/rake:33:in <top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p286@global/bin/rake:19:inload' /usr/local/rvm/gems/ruby-1.9.3-p286@global/bin/rake:19:in <main>' /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:ineval' /usr/local/rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in `

' Tasks: TOP => db:migrate:plugins => environment

pharmazone commented 12 years ago

This plugin was refactored to work with Redmie 2.0. It won't be work with Redmine 1.4

Crotery commented 12 years ago

Thank You for Reply


Best Regards, Egor Kh. aka AlataR.

On Mon, Oct 29, 2012 at 1:16 PM, Alexey S. Mirniy notifications@github.comwrote:

This plugin was refactored to work with Redmie 2.0. It won't be work with Redmine 1.4

— Reply to this email directly or view it on GitHubhttps://github.com/pharmazone/redmine_charts2/issues/2#issuecomment-9857914.