Charts plugin error with OpenFlashCharts
Added by Anonymous about 15 years ago
I recently upgraded to Redmine 0.8.5.
I upgraded OpenFlashCharts to the latest version by executing:
script/plugin install http://svn.pullmonkey.com/plugins/trunk/open_flash_chart/
So far everything is fine and my WeBrick server starts up correctly.
When I install redmine_charts, the server fails to start up with the following error:
D:/Tools/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:276:in `load_missing_constant': uninitialized constant OpenFlashChart::Base (NameError) from D:/Tools/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:468:in `const_missing' from D:/Tools/redmine-0.8.5/vendor/plugins/redmine_charts/lib/redmine_charts/stack_data_converter.rb:60 from D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from D:/Tools/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require' from D:/Tools/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in' from D:/Tools/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require' from D:/Tools/redmine-0.8.5/vendor/rails/activesupport/lib/active_support/dependencies.rb:102:in `require_or_load' ... 27 levels... from D:/Tools/redmine-0.8.5/vendor/rails/railties/lib/commands/server.rb:39 from D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from D:/Tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from script/server:3
If I remove redmine_charts, the error vanishes and the server starts up correctly.
Any idea what the issue might be?
TIA.
Replies (18)
RE: Charts plugin error with OpenFlashCharts - Added by Perrier T about 15 years ago
Same here. Have you got a solution for this one?
RE: Charts plugin error with OpenFlashCharts - Added by Anonymous about 15 years ago
Unfortunately not. It seemed to buggy and the developer too unresponsive to leave the plugin in a production environment.
RE: Charts plugin error with OpenFlashCharts - Added by liny lin almost 15 years ago
Hi,
Any update with this issue??
RE: Charts plugin error with OpenFlashCharts - Added by Perrier T almost 15 years ago
I haven't tried it for a while but there isn't any change on the project's page. http://github.com/mszczytowski/redmine_charts
RE: Charts plugin error with OpenFlashCharts - Added by julias slabodin over 14 years ago
does any one has an answer for that?
i'm running with redmine 0.9.3
and get this error:
uninitialized constant OpenFlashChart::Base
RE: Charts plugin error with OpenFlashCharts - Added by Lawrence Ferreira over 14 years ago
Please, take a look at:
REDMINE_BASE/vendor/plugins/redmine_charts/README.markdown
<snipped>- Instalation
Download the sources and put them to your vendor/plugins folder.
$ cd {REDMINE_ROOT}
$ git clone git://github.com/mszczytowski/redmine_charts.git vendor/plugins/redmine_charts
Install OpenFlashChart plugin.
$ ./script/plugin install git://github.com/pullmonkey/open_flash_chart.git
Run Redmine and have a fun!
<snipped>
Maybe this can help you...
Lawrence
RE: Charts plugin error with OpenFlashCharts - Added by michael turner over 14 years ago
The main project may not have been updated in awhile, but look at the fork network to find versions that have been patched for 0.9 redmine use, among other things. Hopefully these will make it back upstream as well, but in the meantime, look here:
RE: Charts plugin error with OpenFlashCharts - Added by Intrad Acebo over 14 years ago
Hello, I have same problem here. Did you found any solution?
does any one has an answer for that?
i'm running with redmine 0.9.3
and get this error:uninitialized constant OpenFlashChart::Base
RE: Charts plugin error with OpenFlashCharts - Added by michael turner over 14 years ago
Seriously, have you tried one of the forks from the github link? A number of them have patches beyond the last official mszczytowski release. I have this running on 0.9.3 with rails 2.3.5 and the stock pullmonkey/open_flash_chart from the install instructions.
RE: Charts plugin error with OpenFlashCharts - Added by julias slabodin over 14 years ago
i tried them all- still the same problem, i'm running redmine with windows and not red hat- can this be the problem?
RE: Charts plugin error with OpenFlashCharts - Added by michael turner over 14 years ago
It could be. Sorry, I don't have a windows system to test with.
It also looks like mszczytowski has been pushing a number of updates recently, so hopefully it will all end up fixed and nicely bundled upstream.
RE: Charts plugin error with OpenFlashCharts - Added by Alex Last about 14 years ago
any updates on Charts plugin installation?
I get
uninitialized constant OpenFlashChart::Base
when trying to run DB migration, as the plugin page says
RE: Charts plugin error with OpenFlashCharts - Added by Terence Mill about 14 years ago
We have installed the plugin sucessfully.
Redmine Charts
Plugin for Redmine which integrates some nice project charts.
http://github.com/mszczytowski/redmine_charts/
Maciej Szczytowski 0.1.0
Now i see new rights "View charts" and "Save charts". I set right for the roles and activated Charts in my project modules list.
I got a new tab "Charts", but wehn i click it i get internal 500 error. In production.log i see following message
NoMethodError (undefined method `name' for nil:NilClass): vendor/plugins/redmine_charts/app/controllers/charts_controller.rb:46:in `index' passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
RE: Charts plugin error with OpenFlashCharts - Added by Terence Mill about 14 years ago
I forgot the version for open_flashChart we installed http://github.com/mszczytowski/redmine_charts.git
OpenFlashChart Version 2.0.0 11/14/2008
RE: Charts plugin error with OpenFlashCharts - Added by Anonymous about 14 years ago
Just tried but I also stil get
uninitialized constant OpenFlashChart::Base
ALso I cannot start redmine any more.
RE: Charts plugin error with OpenFlashCharts - Added by Anonymous about 14 years ago
I managed to get things running by:
1) manually download the openFlashChart plugin and put it in the vendor/plugins folder
2) open terminal go to the redmine dir and enter ./use_redmine
3) do the DB migration.
(I'm using a BitNami Redmine Stack)
RE: Charts plugin error with OpenFlashCharts - Added by Terence Mill about 14 years ago
I have no script ./use_redmine in my debian distribution. I have installed the plugins like described in the installation notes.
I also tried the BugFix described here http://github.com/mszczytowski/redmine_charts/issues#issue/55, but still get Internal Server error when cklicking Charts tab and following message in production.log
# Logfile created on Tue Oct 26 18:30:38 +0200 2010 NoMethodError (undefined method `name' for nil:NilClass): vendor/plugins/redmine_charts/app/controllers/charts_controller.rb:46:in `index' passenger (2.2.14) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' passenger (2.2.14) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:441:in `start_request_handler' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:381:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/utils.rb:252:in `safe_fork' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:377:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:163:in `start' passenger (2.2.14) lib/phusion_passenger/railz/application_spawner.rb:222:in `start' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.14) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' passenger (2.2.14) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.14) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
RE: Charts plugin error with OpenFlashCharts - Added by Terence Mill almost 14 years ago
Problem for us still not solved, see here: http://www.redmine.org/boards/3/topics/5863?r=20178#message-20178