public
Created

paperclip/aws-sdk failure: Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT)

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
2012-06-05 11:39:14 rails[] FATAL: Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
aws-sdk (1.5.2) lib/aws/core/log_formatter.rb:280:in `inspect'
aws-sdk (1.5.2) lib/aws/core/log_formatter.rb:280:in `summarize_value'
paperclip (3.0.4) lib/paperclip/storage/s3.rb:105:in `block in summarize_hash'
paperclip (3.0.4) lib/paperclip/storage/s3.rb:105:in `each'
paperclip (3.0.4) lib/paperclip/storage/s3.rb:105:in `map'
paperclip (3.0.4) lib/paperclip/storage/s3.rb:105:in `summarize_hash'
aws-sdk (1.5.2) lib/aws/core/log_formatter.rb:195:in `_options'
aws-sdk (1.5.2) lib/aws/core/log_formatter.rb:169:in `block in format'
aws-sdk (1.5.2) lib/aws/core/log_formatter.rb:169:in `gsub'
aws-sdk (1.5.2) lib/aws/core/log_formatter.rb:169:in `format'
aws-sdk (1.5.2) lib/aws/core/client.rb:307:in `log_response'
aws-sdk (1.5.2) lib/aws/core/client.rb:295:in `log_client_request'
aws-sdk (1.5.2) lib/aws/core/client.rb:373:in `block in client_request'
aws-sdk (1.5.2) lib/aws/core/client.rb:271:in `return_or_raise'
aws-sdk (1.5.2) lib/aws/core/client.rb:372:in `client_request'
(eval):3:in `put_object'
aws-sdk (1.5.2) lib/aws/s3/s3_object.rb:312:in `write'
paperclip (3.0.4) lib/paperclip/storage/s3.rb:313:in `block in flush_writes'
paperclip (3.0.4) lib/paperclip/storage/s3.rb:299:in `each'
paperclip (3.0.4) lib/paperclip/storage/s3.rb:299:in `flush_writes'
paperclip (3.0.4) lib/paperclip/attachment.rb:200:in `save'
paperclip (3.0.4) lib/paperclip/instance_methods.rb:17:in `block in save_attached_files'
paperclip (3.0.4) lib/paperclip/instance_methods.rb:10:in `block in each_attachment'
paperclip (3.0.4) lib/paperclip/instance_methods.rb:9:in `each'
paperclip (3.0.4) lib/paperclip/instance_methods.rb:9:in `each_attachment'
paperclip (3.0.4) lib/paperclip/instance_methods.rb:16:in `save_attached_files'
activesupport (3.2.2) lib/active_support/callbacks.rb:438:in `_run__3155108139198220587__save__383083271243895603__callbacks'
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_save_callbacks'
activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.2.2) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.2.2) lib/active_record/persistence.rb:84:in `save'
activerecord (3.2.2) lib/active_record/validations.rb:50:in `save'
activerecord (3.2.2) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.2.2) lib/active_record/transactions.rb:241:in `block (2 levels) in save'
activerecord (3.2.2) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
activerecord (3.2.2) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.2) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.2) lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
activerecord (3.2.2) lib/active_record/transactions.rb:241:in `block in save'
activerecord (3.2.2) lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
activerecord (3.2.2) lib/active_record/transactions.rb:240:in `save'
activeadmin (0.4.3) lib/active_admin/resource_controller/callbacks.rb:28:in `block in save_resource'
activeadmin (0.4.3) lib/active_admin/callbacks.rb:78:in `run_save_callbacks'
activeadmin (0.4.3) lib/active_admin/resource_controller/callbacks.rb:27:in `save_resource'
activeadmin (0.4.3) lib/active_admin/resource_controller/callbacks.rb:22:in `block in create_resource'
activeadmin (0.4.3) lib/active_admin/callbacks.rb:78:in `run_create_callbacks'
activeadmin (0.4.3) lib/active_admin/resource_controller/callbacks.rb:21:in `create_resource'
inherited_resources (1.3.1) lib/inherited_resources/actions.rb:33:in `create'
activeadmin (0.4.3) lib/active_admin/resource_controller/actions.rb:48:in `create'
actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.2) lib/active_support/callbacks.rb:447:in `_run__3889866475740721792__process_action__3735751642958656009__callbacks'
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.2) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.2) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
journey (1.0.3) lib/journey/router.rb:68:in `block in call'
journey (1.0.3) lib/journey/router.rb:56:in `each'
journey (1.0.3) lib/journey/router.rb:56:in `call'
actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
sass (3.1.18) lib/sass/plugin/rack.rb:54:in `call'
warden (1.1.1) lib/warden/manager.rb:35:in `block in call'
warden (1.1.1) lib/warden/manager.rb:34:in `catch'
warden (1.1.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__1115790356883317993__call__383083271243895603__callbacks'
activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
railties (3.2.2) lib/rails/engine.rb:479:in `call'
railties (3.2.2) lib/rails/application.rb:220:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
/Users/sorens/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/sorens/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/sorens/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.