Forums » Problems or support »
install error with "wrong number of arguments (1 for 0) (ArgumentError)"
Added by Wayne Lee over 9 years ago
Hi All,
I tried to install scrum plugin with my 2.6.0 redmine. My 2.6.0 redmine has been running fine for couple months.
After installing the scrum plugin, my redmine would not start and checking the log file I found the following error below.
Would you please tell me how to solve this issue? Or, how can I restore my redmine to orinal state?
Any helps are really appreciated.
Best,
Wayne
wrong number of arguments (1 for 0) (ArgumentError)
/var/www/html/redmine/plugins/scrum v0.11.1/lib/scrum/issue_patch.rb:16:in `block (2 levels) in included'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:35:in `[]'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:35:in `wrap_block_extension'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:22:in `build'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/autosave_association.rb:139:in `build'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/associations/builder/has_many.rb:10:in `build'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/associations/builder/collection_association.rb:13:in `build'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activerecord-3.2.19/lib/active_record/associations.rb:1198:in `has_many'
/var/www/html/redmine/plugins/scrum v0.11.1/lib/scrum/issue_patch.rb:16:in `block in included'
/var/www/html/redmine/plugins/scrum v0.11.1/lib/scrum/issue_patch.rb:13:in `class_eval'
/var/www/html/redmine/plugins/scrum v0.11.1/lib/scrum/issue_patch.rb:13:in `included'
/var/www/html/redmine/plugins/scrum v0.11.1/init.rb:16:in `include'
/var/www/html/redmine/plugins/scrum v0.11.1/init.rb:16:in `<top (required)>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `require'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `block in require'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in `load_dependency'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:251:in `require'
/var/www/html/redmine/lib/redmine/plugin.rb:150:in `block in load'
/var/www/html/redmine/lib/redmine/plugin.rb:141:in `each'
/var/www/html/redmine/lib/redmine/plugin.rb:141:in `load'
/var/www/html/redmine/config/initializers/30-redmine.rb:19:in `<top (required)>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `load'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `block in load'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:236:in `load_dependency'
/opt/ruby/lib/ruby/gems/2.1.0/gems/activesupport-3.2.19/lib/active_support/dependencies.rb:245:in `load'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:593:in `block (2 levels) in <class:Engine>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:592:in `each'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/engine.rb:592:in `block in <class:Engine>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:30:in `instance_exec'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:30:in `run'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:55:in `block in run_initializers'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:54:in `each'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/initializable.rb:54:in `run_initializers'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/application.rb:136:in `initialize!'
/opt/ruby/lib/ruby/gems/2.1.0/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:in `method_missing'
/var/www/html/redmine/config/environment.rb:14:in `<top (required)>'
config.ru:3:in `require'
config.ru:3:in `block in <main>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
/opt/ruby/lib/ruby/gems/2.1.0/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.8/helper-scripts/rack-preloader.rb:107:in `eval'
/opt/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.8/helper-scripts/rack-preloader.rb:107:in `preload_app'
/opt/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.8/helper-scripts/rack-preloader.rb:153:in `<module:App>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.8/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/opt/ruby/lib/ruby/gems/2.1.0/gems/passenger-5.0.8/helper-scripts/rack-preloader.rb:28:in `<main>'
Replies (2)
RE: install error with "wrong number of arguments (1 for 0) (ArgumentError)" - Added by Emilio González Montaña over 9 years ago
- You didn't read installation instructions (plugin folder should be renamed to just
scrum
). - Last plugin version still compatible with Redmine 2.6 series is v0.10.0 (also documented).
Please read before asking ;)
RE: install error with "wrong number of arguments (1 for 0) (ArgumentError)" - Added by Wayne Lee over 9 years ago
Thanks a lot for your help.