-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON::GeneratorError - source sequence is illegal/malformed utf-8: #30
Comments
i have the same problem |
Fixed version |
@sahilchopra works great! Thanks for the fix! |
I'm hesistant to merge in the fix because it relies on @sahilchopra @andre8888 |
Hi Michal
I am trying to access session from redis (set by devise gem).
Let me know if you need any more information.
Thanks
S
…Sent from my iPhone
On 16-Jan-2017, at 3:57 AM, Michał Szajbe ***@***.***> wrote:
Reopened #30.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
+1 getting same error, can't view the value of key. The value is HTML, we're using Redis as a page cache and have Rails taking care of the cache store. Sidenote: The redis-browser prints the value as HTML, doesn't escape. |
I use redis v 4.0.8, but redis v 4.0.7 - OK.
|
Hi
I am getting following error when click on any key
Any idea how it can be fixed?
Thanks
Logs
/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/redis-browser-0.5.1/lib/redis-browser/web.rb:46:in `block in class:Web'
Started GET "/browser/key.json?connection=default&key=session%3A3966592760c86ebeceaee8c3f0014ff2" for 127.0.0.1 at 2017-01-12 15:12:23 +0530
2017-01-12 15:12:23 - JSON::GeneratorError - source sequence is illegal/malformed utf-8:
/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/activesupport-4.2.7.1/lib/active_support/core_ext/object/json.rb:34:in
to_json' /home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/activesupport-4.2.7.1/lib/active_support/core_ext/object/json.rb:34:in
to_json_with_active_support_encoder'/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/activesupport-4.2.7.1/lib/active_support/json/encoding.rb:57:in
to_json' /home/jc-cm-lptp-09/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/json/common.rb:224:in
generate'/home/jc-cm-lptp-09/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/json/common.rb:224:in
generate' /home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/activesupport-4.2.7.1/lib/active_support/json/encoding.rb:101:in
stringify'/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/activesupport-4.2.7.1/lib/active_support/json/encoding.rb:35:in
encode' /home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/activesupport-4.2.7.1/lib/active_support/json/encoding.rb:22:in
encode'/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/activesupport-4.2.7.1/lib/active_support/core_ext/object/json.rb:37:in
to_json_with_active_support_encoder' /home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/multi_json-1.12.1/lib/multi_json/adapters/json_common.rb:19:in
dump'/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/multi_json-1.12.1/lib/multi_json/adapter.rb:25:in
dump' /home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/multi_json-1.12.1/lib/multi_json.rb:139:in
dump'/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/sinatra-contrib-1.4.7/lib/sinatra/json.rb:113:in
block in resolve_encoder_action' /home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/sinatra-contrib-1.4.7/lib/sinatra/json.rb:112:in
each'/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/sinatra-contrib-1.4.7/lib/sinatra/json.rb:112:in
resolve_encoder_action' /home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/sinatra-contrib-1.4.7/lib/sinatra/json.rb:98:in
json'/home/jc-cm-lptp-09/.rvm/gems/ruby-2.3.1@cms/gems/redis-browser-0.5.1/lib/redis-browser/web.rb:46:in `block in class:Web'
The text was updated successfully, but these errors were encountered: