Gantt PNG export shows error
Added by SyRenity Now over 15 years ago
Hi.
I have an issue with the Gantt PNG export, where it shows error when I'm trying to produce a PNG.
The page says: The image “http://192.168.253.31:88/redmine/projects/ncit/issues/gantt?format=png&month=6&months=20&year=2009&zoom=4” cannot be displayed, because it contains errors.
When I'm looking through the logs, I see the error below. Any idea what it means?
Thanks in advance!
"ArgumentError (unknown format: PNG):
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/rmagick-2.2.0/lib/RMagick.rb:1603:in `form
at=’
/lib/redmine/helpers/gantt.rb:218:in `to_image’
/app/controllers/issues_controller.rb:350:in `gantt’
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:131:in `call’
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:131:in `custom’
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:160:in `call’
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:160:in `respond’
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:154:in `each’
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:154:in `respond’
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:107:in `respond_to’
/app/controllers/issues_controller.rb:348:in `gantt’
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filt
ers’
/vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters’
/vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_be
nchmark’
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_withou
t_rescue’
/opt/redmine-0.8.4-0/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure’
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_withou
t_rescue’
/vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_cac
hing’
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action’
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33
:in `cache’
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache’
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action’
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters’
/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_m
anagement_support’
/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process’
/vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi’
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:
76:in `process’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:
74:in `synchronize’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/rails.rb:
74:in `process’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel.rb:159:in
`process_client’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel.rb:158:in
`each’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel.rb:158:in
`process_client’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel.rb:285:in
`run’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel.rb:285:in
`initialize’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel.rb:268:in `new’ /opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel.rb:268:in `run’ /opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/configura
tor.rb:282:in `run’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/configura
tor.rb:281:in `each’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/configura
tor.rb:281:in `run’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:128:in `ru
n’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/mongrel/command.r
b:212:in `run’
/opt/redmine-0.8.4-0/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:281
/opt/redmine-0.8.4-0/ruby/bin/mongrel_rails:19:in `load’
/opt/redmine-0.8.4-0/ruby/bin/mongrel_rails:19
Rendering /opt/redmine-0.8.4-0/apps/redmine/public/500.html (500 Internal Server Error)
"