I am setting up a radiant 1.0.1 instance via gem install.  I have created 
my radiant site with rbac_base, settings, and a custom extension that I am 
developing.

I have my radiant instance up and going, but I am getting an error when 
trying to upload any type of image as an asset.  However, I have 
successfully added pdf and text files as assets.  The error I am getting is 
below.  I have paperclip configured to filesystem.

Any advice on how to troubleshoot this will be appreciated.  My google 
searches haven't come up with anything useful.

Thanks,
Jason


Paperclip::NotIdentifiedByImageMagickError in Admin/assetsController#create

/var/folders/-k/-kHlAirEHaWd-LPqwo6ceU+++TI/-Tmp-/stream20120619-2963-1czju0j-0.png
 is not recognized by the 'identify' command.

RAILS_ROOT: /Users/jsmorris/projects/resitrac
Application Trace <http://localhost:3000/admin/assets#> | Framework 
Trace<http://localhost:3000/admin/assets#>
 | Full Trace <http://localhost:3000/admin/assets#>

/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/paperclip-2.5.2/lib/paperclip/geometry.rb:29:in
 `from_file'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/radiant-clipped-extension-1.0.17/app/models/asset.rb:169:in
 `read_dimensions'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
 `send'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:178:in
 `evaluate_method'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:166:in
 `call'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:93:in
 `run'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
 `each'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
 `send'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:92:in
 `run'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/callbacks.rb:276:in
 `run_callbacks'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/paperclip-2.5.2/lib/paperclip/callback_compatibility.rb:25:in
 `run_paperclip_callbacks'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/paperclip-2.5.2/lib/paperclip/attachment.rb:423:in
 `post_process'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/paperclip-2.5.2/lib/paperclip/attachment.rb:120:in
 `assign'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/paperclip-2.5.2/lib/paperclip.rb:344:in
 `asset='
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:2918:in
 `send'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:2918:in
 `assign_attributes'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:2914:in
 `each'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:2914:in
 `assign_attributes'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:2787:in
 `attributes='
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:2477:in
 `initialize'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:725:in
 `new'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activerecord-2.3.14/lib/active_record/base.rb:725:in
 `create'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/radiant-clipped-extension-1.0.17/app/controllers/admin/assets_controller.rb:30:in
 `create'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/radiant-clipped-extension-1.0.17/app/controllers/admin/assets_controller.rb:29:in
 `each'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/radiant-clipped-extension-1.0.17/app/controllers/admin/assets_controller.rb:29:in
 `create'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
 `send'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in
 `perform_action_without_filters'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in
 `call_filters'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in
 `perform_action_without_benchmark'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in
 `perform_action_without_rescue'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in
 `ms'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in
 `perform_action_without_rescue'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in
 `perform_action_without_flash'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in
 `perform_action'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in
 `send'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in
 `process_without_filters'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in
 `process_without_compass'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/compass-0.11.7/lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in
 `process'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in
 `process'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in
 `call'
/Users/jsmorris/.rvm/gems/ree-1.8.7-2011.03@resitrac/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in
 `call'

Request

*Parameters*:

{"commit"=>"Create Asset",
 "format"=>"html",
 "authenticity_token"=>"sR9n+dn82yf4/URIH5wzI+OizEpfg+TRW7jz2c78W7g=",
 "asset"=>{"title"=>"png",
 "caption"=>"",
 
"asset"=>[#<File:/var/folders/-k/-kHlAirEHaWd-LPqwo6ceU+++TI/-Tmp-/RackMultipart20120619-2963-1xjv49-0>]}}

Show session dump <http://localhost:3000/admin/assets#>
Response

*Headers*:

{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}

Reply via email to