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

Replace latin1 with ascii or utf8 #11

Open
ashald opened this issue Mar 18, 2015 · 2 comments
Open

Replace latin1 with ascii or utf8 #11

ashald opened this issue Mar 18, 2015 · 2 comments

Comments

@ashald
Copy link

ashald commented Mar 18, 2015

Is sere is a reason why latin1 encoding is being used? When I use nosepipe from shell my shell is broken. o_O Though when I replaced latin1 with utf8 everything worked perfect. I guess whetehr it's possible to replaces latin1 encoding with utf8/asci or just use system-wide encoding?

@dmccombs
Copy link
Owner

I'm guessing this is related to the stdout communication of nosepipe somehow. I would think if we replace that work socket communication we could just use the system configured encoding instead.

@rrguardo
Copy link

rrguardo commented Feb 18, 2017

I see similar problems in nosepipe when database functions are used.
This are the details:

  • OS: Ubuntu 16.04
  • Mysql 5.7 server
  • webpy mysql client functions
  • dbutils database pool
  • Terminal is running in utf8 encoding already, the problem looks more related in this case probably to database data encoding/decoding.

Nosepipe error:
python2.7/site-packages/nosepipe.py", line 179, in __call__ (header + data).decode("latin1")) Exception: short message body (want 808333344, got 17474) Something went wrong

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