Redmine Charts2 plugin error - No route matches [GET] "/plugin_assets/open_flash_chart/javascripts/swfobject.js" - Solved
Added by Philip Lapczynski over 11 years ago
When I try to run the charts 2 plugin, I am getting routing error open_flash_chart. Not sure what's going on. Any help is appreciated.
Update: This issue is solved. I'm leaving the forum topic up in case anyone encounters the same problem I had. Here is the corresponding issue from the developers repository https://github.com/pharmazone/redmine_charts2/issues/32
I have followed these installation instructions...
Installation Steps
1) Installed charts plugin
2) Installed OpenFlashChart plugin.
3) Copy OpenFlashChart's assests.
I screwed up this step. The to directory was misspelled thus causing the problem
$ cd {REDMINE_ROOT} $ cp -r plugins/open_flash_chart/assets public/plugin_assets/open_flash_chart
4) Migrate database
5) Restarted Redmine
Here are my settings:
Bitnami Redmine Linux Stack 2.3.1-0 Environment: Redmine version 2.3.1.stable Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.13 Environment production Database adapter Mysql2 Redmine plugins: redmine_charts2 0.2.1 redmine_graphs 0.1.0
Log file except:
Started GET "/redmine/plugin_assets/open_flash_chart/javascripts/swfobject.js" for xx.xx.xx.xx at 2013-05-18 11:19:01 -0400 ActionController::RoutingError (No route matches [GET] "/plugin_assets/open_flash_chart/javascripts/swfobject.js"): actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' rack (1.4.5) lib/rack/runtime.rb:17:in `call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.4.5) lib/rack/lock.rb:15:in `call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward' rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch' rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!' rack-cache (1.2) lib/rack/cache/context.rb:51:in `call' railties (3.2.13) lib/rails/engine.rb:479:in `call' railties (3.2.13) lib/rails/application.rb:223:in `call' railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing' rack (1.4.5) lib/rack/builder.rb:134:in `call' rack (1.4.5) lib/rack/urlmap.rb:64:in `block in call' rack (1.4.5) lib/rack/urlmap.rb:49:in `each' rack (1.4.5) lib/rack/urlmap.rb:49:in `call' passenger (4.0.0.rc6) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' passenger (4.0.0.rc6) lib/phusion_passenger/request_handler/thread_handler.rb:135:in `accept_and_process_next_request' passenger (4.0.0.rc6) lib/phusion_passenger/request_handler/thread_handler.rb:106:in `main_loop' passenger (4.0.0.rc6) lib/phusion_passenger/request_handler.rb:458:in `block (4 levels) in start_threads' passenger (4.0.0.rc6) lib/phusion_passenger/utils/robust_interruption.rb:102:in `disable_interruptions' passenger (4.0.0.rc6) lib/phusion_passenger/request_handler.rb:453:in `block (3 levels) in start_threads'
Replies (1)
RE: Redmine Charts2 plugin error - No route matches [GET] "/plugin_assets/open_flash_chart/javascripts/swfobject.js" - Solved - Added by Philip Lapczynski over 11 years ago
I figured it out. When I copied the assets the directory open_flash_chart was misspelled.