Encoding::UndefinedConversionError ("\xE5" from ASCII-8BIT to UTF-8):
sharp opened this issue · 1 comments
sharp commented
Hi, What does this mean ?
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/core_ext/object/json.rb:34:in `encode'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/core_ext/object/json.rb:34:in `to_json'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/core_ext/object/json.rb:34:in `to_json_with_active_support_encoder'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/json/encoding.rb:56:in `to_json'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/json-1.8.1/lib/json/common.rb:223:in `generate'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/json-1.8.1/lib/json/common.rb:223:in `generate'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/json/encoding.rb:96:in `stringify'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/json/encoding.rb:34:in `encode'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/json/encoding.rb:21:in `encode'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/activesupport-4.1.1/lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/multi_json-1.10.1/lib/multi_json/adapters/json_common.rb:21:in `dump'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/multi_json-1.10.1/lib/multi_json/adapter.rb:24:in `dump'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/multi_json-1.10.1/lib/multi_json.rb:136:in `dump'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-entity-0.4.2/lib/grape_entity/entity.rb:396:in `to_json'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/formatter/json.rb:7:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/formatter.rb:34:in `block in after'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/formatter.rb:33:in `collect'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/formatter.rb:33:in `after'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/base.rb:25:in `call!'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/base.rb:18:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/base.rb:24:in `call!'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/base.rb:18:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/error.rb:26:in `block in call!'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/error.rb:25:in `catch'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/error.rb:25:in `call!'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/middleware/base.rb:18:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/rack-1.5.2/lib/rack/builder.rb:138:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/endpoint.rb:155:in `call!'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/endpoint.rb:145:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:75:in `optimized_each'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/api.rb:525:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/api.rb:42:in `call!'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/grape-0.6.1/lib/grape/api.rb:38:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:71:in `block in call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in `each'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in `call'
/Users/liuqiang/.rvm/gems/ruby-1.9.3-head/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:676:in `call'
/Users/liuqia
rwz commented
Seems like ActiveSupport is blowing up trying to convert your object to JSON.