Skip to content

Instantly share code, notes, and snippets.

@redtettemer
Created July 10, 2010 13:07
Show Gist options
  • Save redtettemer/470698 to your computer and use it in GitHub Desktop.
Save redtettemer/470698 to your computer and use it in GitHub Desktop.
AWS::S3::MissingAccessKey in Cms#index
Showing app/views/cms/index.html.erb where line #18 raised:
You did not provide both required access keys. Please provide the access_key_id and the secret_access_key.
Extracted source (around line #18):
15: </tr>
16: <% @links.each do |link| %>
17: <tr>
18: <td><%= image_tag link.photo.url(:thumbnail)%></td>
19: <td><%= link_to link.title, edit_link_path(link) %></td>
20: <td>true</td>
21: </tr>
RAILS_ROOT: /Users/lgraybill/code/right-on-rails
Application Trace | Framework Trace | Full Trace
/Users/lgraybill/code/right-on-rails/vendor/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:96:in `extract_keys!'
/Users/lgraybill/code/right-on-rails/vendor/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:115:in `connect'
/Users/lgraybill/code/right-on-rails/vendor/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:23:in `initialize'
/Users/lgraybill/code/right-on-rails/vendor/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:6:in `new'
/Users/lgraybill/code/right-on-rails/vendor/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:6:in `connect'
/Users/lgraybill/code/right-on-rails/vendor/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:202:in `establish_connection!'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip/storage.rb:147:in `extended'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip/storage.rb:137:in `instance_eval'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip/storage.rb:137:in `extended'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip/attachment.rb:269:in `extend'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip/attachment.rb:269:in `initialize_storage'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip/attachment.rb:51:in `initialize'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip.rb:372:in `new'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip.rb:372:in `attachment_for'
/Users/lgraybill/code/right-on-rails/vendor/gems/paperclip-2.3.3/lib/paperclip.rb:270:in `photo'
/Users/lgraybill/code/right-on-rails/app/views/cms/index.html.erb:18:in `_run_erb_app47views47cms47index46html46erb'
/Users/lgraybill/code/right-on-rails/app/views/cms/index.html.erb:16:in `each'
/Users/lgraybill/code/right-on-rails/app/views/cms/index.html.erb:16:in `_run_erb_app47views47cms47index46html46erb'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:34:in `send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:34:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:306:in `with_template'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/renderable.rb:30:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/template.rb:205:in `render_template'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:265:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:348:in `_render_with_layout'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_view/base.rb:262:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1250:in `render_for_file'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:936:in `render_without_benchmark'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:10:in `realtime'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:51:in `render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1326:in `default_render'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1332:in `perform_action_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:10:in `realtime'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call'
Request
Parameters:
None
Show session dump
Response
Headers:
{"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment