Comments (9)
Hi Luis. What do you mean by 'try to migrate'. Are you migrating Redmine to some new version? So far I've tested the lattest version of plugin on 1.1.1 and 1.1.2 only.
from redmine_better_gantt_chart.
sudo rake db:migrate_plugins RAILS_ENV=production --trace
(in /var/www/redmine)
** Invoke db:migrate_plugins (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method render_project' for class
Redmine::Helpers::Gantt'
/var/www/redmine/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:33:in alias_method' /var/www/redmine/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb:33:in
alias_method_chain'
/var/www/redmine/vendor/plugins/redmine_better_gantt_chart/lib/redmine_better_gantt_chart/gantt_helper_patch.rb:9:in included' /var/www/redmine/vendor/plugins/redmine_better_gantt_chart/lib/redmine_better_gantt_chart/gantt_helper_patch.rb:6:in
class_eval'
/var/www/redmine/vendor/plugins/redmine_better_gantt_chart/lib/redmine_better_gantt_chart/gantt_helper_patch.rb:6:in included' /var/www/redmine/vendor/plugins/redmine_better_gantt_chart/init.rb:23:in
include'
/var/www/redmine/vendor/plugins/redmine_better_gantt_chart/init.rb:23:in send' /var/www/redmine/vendor/plugins/redmine_better_gantt_chart/init.rb:23 /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in
call'
/var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in evaluate_method' /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in
call'
/var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in run' /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in
each'
/var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in send' /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in
run'
/var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in run_callbacks' /var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in
send'
/var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in run_prepare_callbacks' /var/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:631:in
prepare_dispatcher'
/var/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:185:in process' /var/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in
send'
/var/www/redmine/config/../vendor/rails/railties/lib/initializer.rb:113:in run' /var/www/redmine/config/environment.rb:20 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in require' /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in
require'
/var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in new_constants_in' /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:in
require'
/var/www/redmine/vendor/rails/railties/lib/tasks/misc.rake:4
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in invoke_with_call_chain' /usr/local/lib/ruby/1.8/monitor.rb:242:in
synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in
invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in invoke_with_call_chain' /usr/local/lib/ruby/1.8/monitor.rb:242:in
synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' /usr/local/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/local/bin/rake:19:in
load'
/usr/local/bin/rake:19
from redmine_better_gantt_chart.
What version of Redmine do you use?
from redmine_better_gantt_chart.
1.1.2
from redmine_better_gantt_chart.
I use the same version an can run db migrations without problems. This is a strange error because apparently 'render_project' method is in the lib. Can you check few things:
- Can you start Redmine? It shouldn't work either and give the same error.
- Is file lib/redmine/helpers/gantt.rb in place? Can you open it and check that 'def render_project' string is in the file?
- Do you have any other plugins installed which possibly change gantt lib? (Maybe something you installed recently?)
from redmine_better_gantt_chart.
- Without db:migrate... redmine return the same error.
- Is this the problem I have the patch 7456
from redmine_better_gantt_chart.
Sorry #7456
from redmine_better_gantt_chart.
Yes, that the reason. The patch removes 'render_project' method and replaces it with some other method. The plugin will not with it. Well, I can create a branch of the plugin with support of this patch, but don't have time now.
from redmine_better_gantt_chart.
Thanks for your work, I think ii's better upgrade my Redmine version to 1.2.0 and wait if your plugin are compatible
from redmine_better_gantt_chart.
Related Issues (20)
- 500 Error in Configuration of Better Gantt Chart HOT 1
- not compatible with redmine 2.4 HOT 6
- Ability to change start and due date in gantt HOT 1
- Drag-n-drop + redmine 2.4.2 HOT 1
- Not compatible with Redmine 2.5
- [feature request] alternate row colours
- [feature request] hover over issue shows issue details
- Compatible with Redmine 2.4.5 ?
- Windows compatible? HOT 1
- Highlight todays date in Gantt
- Incompatible with RedmineSidekiq and/or Redmine 2.5
- Are there site, screenshot or demo? HOT 3
- [feature request] integrated with progressive_gantt_mods plugins
- Copying issues creates "copied from" relation, but does not copy relative relation
- Ganttt data cannot be exported to png normally(internal 500 error will occur)
- Is the gantt_chart compatible with activesupport-4.2.0? HOT 5
- Will this module be compatible with v.3.x? HOT 11
- internal server error 500 due to invalid date
- Breaks new features of Redmine 3.2.x.: Parent task attributes: Independent of subtasks
- 500 error on project gantt page - Redmine 3.4 and later HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_better_gantt_chart.