Paperclip not running tasks but not showing errors

Posted by Trip on Stack Overflow See other posts from Stack Overflow or by Trip
Published on 2010-05-27T11:47:20Z Indexed on 2010/05/27 11:51 UTC
Read the original article Hit count: 161

Filed under:

This is strange. I just did a deploy to a cluster server, and since then, pictures have not been processing. Reading the logs, I usually do not get an error at all, but they never finish. However, on one particular image, I found this little bit at least, but this might not explain everything.. Any ideas?

Processing PhotosController#edit (for 69.248.152.173 at 2010-05-27 04:25:12) [GET] Parameters: {"gallery_id"=>"2102", "action"=>"edit", "type"=>"photo", "id"=>"15453", "crop"=>"true", "controller"=>"photos", "organization_id"=>"470", "_"=>"1274959512393"} Rendering media/crop_photo

ActionView::TemplateError (/data/HQ_Channel/releases/20100524111501/public/system/photos/15453/original/DSC05193.JPG is not recognized by the 'identify' command.) on line #4 of app/views/media/crop_photo.js.haml: 1: == $("#media_header").html('#{ escape_javascript(render :partial => 'media/crop_photo') }').slideDown("slow"); 2: 3: :plain 4: function updateForm(coords) 5: { 6: var rx = #{PHOTO_IMAGE_WIDTH} / coords.w; 7: var ry = #{PHOTO_IMAGE_HEIGHT} / coords.h;

vendor/gems/thoughtbot-paperclip-2.3.1/lib/paperclip/geometry.rb:24:in `from_file'
app/models/photo.rb:68:in `photo_geometry'
app/views/media/crop_photo.js.haml:4:in `_run_haml_app47views47media47crop_photo46js46haml'
haml (2.2.2) [v] lib/haml/helpers/action_view_mods.rb:13:in `render'
app/controllers/photos_controller.rb:81:in `crop'
app/controllers/photos_controller.rb:24:in `edit'
haml (2.2.2) [v] rails/./lib/sass/plugin/rails.rb:19:in `process'
lib/flash_session_cookie_middleware.rb:14:in `call'
vendor/gems/hoptoad_notifier-2.2.2/lib/hoptoad_notifier/rack.rb:27:in `call'

** [Hoptoad] Failure: Net::HTTPClientError ** [Hoptoad] Environment Info: [Ruby: 1.8.6] [Rails: 2.3.3] [Env: production] ** [Hoptoad] Response from Hoptoad: No project exists with the given API key. Rendering /data/HQ_Channel/releases/20100524111501/public/500.html (500 Internal Server Error)

And then a little later, I got this :

ActionView::TemplateError (/data/HQ_Channel/releases/20100524111501/public/system/photos/15453/original/DSC05193.JPG is not recognized by the 'identify' command.) on line #4 of app/views/media/crop_photo.js.haml: 1: == $("#media_header").html('#{ escape_javascript(render :partial => 'media/crop_photo') }').slideDown("slow"); 2: 3: :plain 4: function updateForm(coords) 5: { 6: var rx = #{PHOTO_IMAGE_WIDTH} / coords.w; 7: var ry = #{PHOTO_IMAGE_HEIGHT} / coords.h;

vendor/gems/thoughtbot-paperclip-2.3.1/lib/paperclip/geometry.rb:24:in `from_file'
app/models/photo.rb:68:in `photo_geometry'
app/views/media/crop_photo.js.haml:4:in `_run_haml_app47views47media47crop_photo46js46haml'
haml (2.2.2) [v] lib/haml/helpers/action_view_mods.rb:13:in `render'
app/controllers/photos_controller.rb:81:in `crop'
app/controllers/photos_controller.rb:24:in `edit'
haml (2.2.2) [v] rails/./lib/sass/plugin/rails.rb:19:in `process'
lib/flash_session_cookie_middleware.rb:14:in `call'
vendor/gems/hoptoad_notifier-2.2.2/lib/hoptoad_notifier/rack.rb:27:in `call'

** [Hoptoad] Failure: Net::HTTPClientError ** [Hoptoad] Environment Info: [Ruby: 1.8.6] [Rails: 2.3.3] [Env: production] ** [Hoptoad] Response from Hoptoad: No project exists with the given API key. Rendering /data/HQ_Channel/releases/20100524111501/public/500.html (500 Internal Server Error)

© Stack Overflow or respective owner

Related posts about ruby-on-rails