Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ganttt data cannot be exported to png normally(internal 500 error will occur) #118

Open
fengyedou opened this issue Apr 1, 2015 · 0 comments

Comments

@fengyedou
Copy link

My redmine is 2.3.2 version, and the plug-in version is 0.9.

Error log is below, can you help with this issue?

Started GET "/redmine/projects/ds-msg-entre/issues/gantt.png?f%5B%5D=status_id&f%5B%5D=&month=12&months=2&op%5Bstatus_id%5D=%2A&set_filter=1&utf8=%E2%9C%93&year=2014&zoom=4" for xxx at 2015-04-01 15:00:16 +0800
Processing by GanttsController#show as PNG
Parameters: {"f"=>["status_id", ""], "month"=>"12", "months"=>"2", "op"=>{"status_id"=>"*"}, "set_filter"=>"1", "utf8"=>"✓", "year"=>"2014", "zoom"=>"4", "project_id"=>"xxx"}
Current user:xxx (id=1)
Rendered text template (0.0ms)
Sent data issues.xlsx (0.0ms)
Completed 200 OK in 1186ms (Views: 0.0ms | ActiveRecord: 187.2ms)
DEPRECATION WARNING: Version#completed_pourcent is deprecated and will be removed in Redmine 3.0. Please use #completed_percent instead. (called from completed_pourcent at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/models/version.rb:124)
DEPRECATION WARNING: Version#completed_pourcent is deprecated and will be removed in Redmine 3.0. Please use #completed_percent instead. (called from completed_pourcent at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/models/version.rb:124)
DEPRECATION WARNING: Version#completed_pourcent is deprecated and will be removed in Redmine 3.0. Please use #completed_percent instead. (called from completed_pourcent at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/models/version.rb:124)
DEPRECATION WARNING: Version#completed_pourcent is deprecated and will be removed in Redmine 3.0. Please use #completed_percent instead. (called from completed_pourcent at D:/BitNami/redmine-2.3.2-0/apps/redmine/htdocs/app/models/version.rb:124)
Completed 500 Internal Server Error in 10639ms

Magick::ImageMagickError (RegistryKeyLookupFailed CoderModulesPath' @ module.c/GetMagickModulePath/657): rmagick (2.13.1) lib/RMagick.rb:1701:informat='
plugins/redmine_better_gantt_chart/lib/redmine/helpers/better_gantt.rb:521:in to_image' plugins/redmine_better_gantt_chart/lib/redmine_better_gantt_chart/gantts_controller_patch.rb:24:inblock (2 levels) in show_with_custom_helper'
actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:196:in call' actionpack (3.2.13) lib/action_controller/metal/mime_responds.rb:196:inrespond_to'
plugins/redmine_better_gantt_chart/lib/redmine_better_gantt_chart/gantts_controller_patch.rb:22:in show_with_custom_helper' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:insend_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:inprocess_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in block in process_action' activesupport (3.2.13) lib/active_support/callbacks.rb:469:in_run__146843492__process_action__692954183__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:inprocess_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:inblock in process_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in process_action' activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:inprocess'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:indispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in block in action' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:incall'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:incall'
journey (1.0.4) lib/journey/router.rb:68:in block in call' journey (1.0.4) lib/journey/router.rb:56:ineach'
journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:incall'
rack-openid (1.3.1) lib/rack/openid.rb:98:in call' actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:incall'
rack (1.4.5) lib/rack/etag.rb:23:in call' rack (1.4.5) lib/rack/conditionalget.rb:25:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in call' actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in call' rack (1.4.5) lib/rack/session/abstract/id.rb:210:incontext'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in call' actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:incall'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in call' activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in block in call' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in_run__948517903__call__890849115__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in_run_call_callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.13) lib/rails/rack/logger.rb:32:incall_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:intagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:incall'
rack (1.4.5) lib/rack/methodoverride.rb:21:in call' rack (1.4.5) lib/rack/runtime.rb:17:incall'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.4.5) lib/rack/lock.rb:15:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in call' rack-cache (1.2) lib/rack/cache/context.rb:136:inforward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in fetch' rack-cache (1.2) lib/rack/cache/context.rb:185:inlookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in call!' rack-cache (1.2) lib/rack/cache/context.rb:51:incall'
railties (3.2.13) lib/rails/engine.rb:479:in call' railties (3.2.13) lib/rails/application.rb:223:incall'
rack (1.4.5) lib/rack/urlmap.rb:64:in block in call' rack (1.4.5) lib/rack/urlmap.rb:49:ineach'
rack (1.4.5) lib/rack/urlmap.rb:49:in call' thin (1.3.1) lib/thin/connection.rb:80:inblock in pre_process'
thin (1.3.1) lib/thin/connection.rb:78:in catch' thin (1.3.1) lib/thin/connection.rb:78:inpre_process'
thin (1.3.1) lib/thin/connection.rb:53:in process' thin (1.3.1) lib/thin/connection.rb:38:inreceive_data'
eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:in run_machine' eventmachine-1.0.0-x86 (mingw32) lib/eventmachine.rb:187:inrun'
thin (1.3.1) lib/thin/backends/base.rb:61:in start' thin (1.3.1) lib/thin/server.rb:159:instart'
thin (1.3.1) lib/thin/controllers/controller.rb:86:in start' thin (1.3.1) lib/thin/runner.rb:185:inrun_command'
thin (1.3.1) lib/thin/runner.rb:151:in run!' thin (1.3.1) bin/thin:6:in<top (required)>'
bin/thin:16:in load' bin/thin:16:in

'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant