thoughtbot/paperclip — Issue #657: undefined method `value'' for AWS::S3::S3Object:Class
Author: silikone
Created: 2011-11-29 20:20:09+00:00
State: open

Hi,

Using PaperClip 2.4.5, DelayedPaperClip 2.4.5.1, Aws/S3 0.6.2 and DelayedJobs 2.0.7 with Rails 2.3.14

Upon adding a paperclip image that needs to have multiple transformations applied to it I get the above error with this stack trace:

/Library/Ruby/Gems/1.8/gems/paperclip-2.4.5/lib/paperclip/storage/s3.rb:210:in `to_file''
/Library/Ruby/Gems/1.8/gems/paperclip-2.4.5/lib/paperclip/attachment.rb:282:in `reprocess!''
/Library/Ruby/Gems/1.8/gems/delayed_paperclip-2.4.5.1/lib/delayed_paperclip/attachment.rb:42:in `process_delayed!''
/Library/Ruby/Gems/1.8/gems/delayed_paperclip-2.4.5.1/lib/delayed_paperclip.rb:30:in `process_job''
/Library/Ruby/Gems/1.8/gems/delayed_paperclip-2.4.5.1/lib/delayed_paperclip/jobs/delayed_job.rb:28:in `perform''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/backend/base.rb:74:in `invoke_job''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:122:in `run''
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:62:in `timeout''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:122:in `run''
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:121:in `run''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:173:in `reserve_and_run_one_job''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:106:in `work_off''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:105:in `times''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:105:in `work_off''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:80:in `start''
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:79:in `start''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:76:in `loop''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/worker.rb:76:in `start''
/Library/Ruby/Gems/1.8/gems/delayed_job-2.0.7/lib/delayed/tasks.rb:13

Is this a PaperClip issue or a DelayedPaperclip issue ?

Any fixes ?