berti92 / mega_calendar

Plugin for redmine: Brings a better calendar and more opportunities to display issues and holidays
http://www.devbert.de/index.php/en/project/megacalendar/
MIT License
70 stars 52 forks source link

it is not compatible with redmine_local_avatar. #25

Closed archonwang closed 8 years ago

archonwang commented 8 years ago

ur... could you fix it ,Thanks so much.. the error occured when I migrate db los is:

/opt/redmine/plugins/redmine_issue_checklist/init.rb:24: warning: duplicated key at line 24 ignored: :issue_checklist rake aborted! uninitialized constant LocalAvatarsPlugin::UsersControllerPatch /opt/redmine/plugins/redmine_local_avatars/init.rb:37:in block in <top (required)>' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:446:ininstance_exec' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:446:in block in make_lambda' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:192:incall' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:192:in block in simple' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:incall' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:in block in call' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:ineach' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:504:in call' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:inrun_callbacks' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in _run_prepare_callbacks' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:inrun_callbacks' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/reloader.rb:83:in prepare!' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/reloader.rb:55:inprepare!' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application/finisher.rb:50:in block in <module:Finisher>' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:ininstance_exec' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:30:in run' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:55:inblock in run_initializers' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/initializable.rb:54:in run_initializers' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application.rb:352:ininitialize!' /opt/redmine/config/environment.rb:14:in <top (required)>' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application.rb:328:inrequire_environment!' /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/railties-4.2.5.2/lib/rails/application.rb:457:in `block in run_tasks_blocks' Tasks: TOP => redmine:plugins:migrate => environment (See full trace by running task with --trace)

berti92 commented 8 years ago

Which version of Redmine do you use and which version (with link please) of the plugin redmine_local_avatar do you use?

Thanks.

archonwang commented 8 years ago

Environment:

Redmine version 3.3.0.stable.15784 Ruby version 2.2.4-p230 (2015-12-16) [x86_64-linux] Rails version 4.2.7.1 Environment production Database adapter Mysql2

archonwang commented 8 years ago

Redmine local avatars V0.2.0 https://github.com/thorin/redmine_local_avatars.git

berti92 commented 8 years ago

Sorry - no clue how i should do that