-
Notifications
You must be signed in to change notification settings - Fork 387
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
Could not decode json #8
Comments
Try |
Nope, same thing. |
The situation you encounter exposes two problems of httpstat in Windows.
The second one is easier to fix, I can disable color specially for windows. But for the first one, I need to know which environment variable in windows does the same thing as LC_ALL in Unix, and what's the proper value for it. Since I have no windows environment it hard for me to figure this out, I'll try to fix it but it may takes some time, PR is welcomed to help solving these problems in Windows. |
For the first issue, this might help http://stackoverflow.com/a/956084 You could test Windows by adding AppVeyor to the repo or something. |
I'm not experienced with Python, but it seems it only sees my current locale regardless of the env vars |
This might help too http://bugs.python.org/issue21808 |
same here after upgrading to macOS.. Python 2.7.11 |
Please paste your command output, and the output of
|
|
Your problem should be solved by upgrade httpstat, it's now 1.2.0 version. The issue of windows remains, I'm waiting for suggestions from experienced
|
I though was the last version :/ |
I am an experienced Windows user myself. I still don't get why the error happens due to my limited Python knowledge. So, if you have any suggestions or patches you want me to try, let me know. |
@XhmikosR Sorry for the ignorance before, I was away from GitHub for some days. First of all thank you for your kindness to help, I will explain this problem to you as clearly as possible :) There are two things we should know before understanding why this happens:
For people in countries using point as decimal mark, like US or China, it will output
To avoid this, httpstat calls But when it comes to Windows, setting From my perspective, I want to know whether application's language settings could be changed during runtime in Windows, no matter it's through environment variables or not, should there be a way, I can make httpstat do the same thing for And lastly, if there's nothing like |
Windows 7 64-bit, Python 2.7.12 64-bit
The text was updated successfully, but these errors were encountered: