subtasks -- install error

Added by m p over 10 years ago

/opt/redmine$ rake db:migrate_plugins RAILS_ENV=production --trace
(in /opt/redmine)
  • Invoke db:migrate_plugins (first_time)
  • Invoke environment (first_time)
  • Execute environment
    rake aborted!
    undefined method `create_journal' for class `Issue'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'
    /opt/redmine/vendor/plugins/subtasks_plugin/lib/redmine_subtasks/redmine_ext/issue_patch.rb:137:in `included'
    /opt/redmine/vendor/plugins/subtasks_plugin/lib/redmine_subtasks/redmine_ext/issue_patch.rb:8:in `class_eval'
    /opt/redmine/vendor/plugins/subtasks_plugin/lib/redmine_subtasks/redmine_ext/issue_patch.rb:8:in `included'
    /opt/redmine/vendor/plugins/subtasks_plugin/init.rb:42:in `include'
    /opt/redmine/vendor/plugins/subtasks_plugin/init.rb:42:in `send'
    /opt/redmine/vendor/plugins/subtasks_plugin/init.rb:42:in `evaluate_init_rb'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:177:in `call'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:177:in `evaluate_method'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in `call'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:272:in `run_callbacks'
    /opt/redmine/vendor/rails/railties/lib/initializer.rb:493:in `send'
    /opt/redmine/vendor/rails/railties/lib/initializer.rb:493:in `prepare_dispatcher'
    /opt/redmine/vendor/rails/railties/lib/initializer.rb:155:in `process'
    /opt/redmine/vendor/rails/railties/lib/initializer.rb:97:in `send'
    /opt/redmine/vendor/rails/railties/lib/initializer.rb:97:in `run'
    /opt/redmine/config/environment.rb:20
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
    /opt/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
    /opt/redmine/vendor/rails/railties/lib/tasks/misc.rake:3
    /usr/lib/ruby/1.8/rake.rb:546:in `call'
    /usr/lib/ruby/1.8/rake.rb:546:in `execute'
    /usr/lib/ruby/1.8/rake.rb:541:in `each'
    /usr/lib/ruby/1.8/rake.rb:541:in `execute'
    /usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
    /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/rake.rb:518:in `invoke_prerequisites'
    /usr/lib/ruby/1.8/rake.rb:1183:in `each'
    /usr/lib/ruby/1.8/rake.rb:1183:in `send'
    /usr/lib/ruby/1.8/rake.rb:1183:in `each'
    /usr/lib/ruby/1.8/rake.rb:515:in `invoke_prerequisites'
    /usr/lib/ruby/1.8/rake.rb:507:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
    /usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
    /usr/lib/ruby/1.8/rake.rb:494:in `invoke'
    /usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task'
    /usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
    /usr/lib/ruby/1.8/rake.rb:1909:in `each'
    /usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
    /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
    /usr/lib/ruby/1.8/rake.rb:1903:in `top_level'
    /usr/lib/ruby/1.8/rake.rb:1881:in `run'
    /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
    /usr/lib/ruby/1.8/rake.rb:1878:in `run'
    /usr/bin/rake:28

Replies (2)

RE: subtasks -- install error - Added by Vadim Epstein over 10 years ago

Can anyone tell me: does official release of this plug in exist? Where can I download it?

I am asking as only thread on this topic exists as plugin description
http://www.redmine.org/wiki/redmine/PluginSubtasks

RE: subtasks -- install error - Added by Jay Man over 10 years ago

Great question, I don't understand why this has not been made part of the core. Seems like it's been requested for over a year now. But all you get is a plugin that has never seemed to work.

(1-2/2)