Skip to content
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

Crash when trying to open node that contains binary data #8

Open
fortitudepub opened this issue Jun 23, 2016 · 2 comments
Open

Crash when trying to open node that contains binary data #8

fortitudepub opened this issue Jun 23, 2016 · 2 comments
Assignees

Comments

@fortitudepub
Copy link

fortitudepub commented Jun 23, 2016

I have a zookeeper cluster that have node contains binary data (protobuf encoded binary data), when I am trying to open node that contains binary data,
zkui crashed with the following exception on the console:

Traceback (most recent call last): File "/home/hzzhangdongya/Work/zkui-1.1/WebWindow.py", line 221, in jsZkGet data = ret[0].decode('utf8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xba in position 82: invalid start byte

@echoma
Copy link
Owner

echoma commented Jun 24, 2016

Obviously, zkui was trying to show binary as plain text, decodeError occured during covertion. Maybe we should show binary data as HEX string.

@echoma echoma self-assigned this Jun 24, 2016
@wrouesnel
Copy link

The ideal solution would be switch into a hex-editor type view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants