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

project path with chinese #43

Open
sunyanhui opened this issue May 1, 2015 · 3 comments
Open

project path with chinese #43

sunyanhui opened this issue May 1, 2015 · 3 comments

Comments

@sunyanhui
Copy link

When i start command like "python -m rfhub /path/to/测试项目" , I get a code error,

C:\Users\sun>python -m rfhub C:\Users\sun\测试项目
bummer: 'ascii' codec can't decode byte 0xb2 in position 31: ordinal not in rang
e(128)
bummer: 'ascii' codec can't decode byte 0xb2 in position 31: ordinal not in rang
e(128)
tornado web server running on http://127.0.0.1:7070

so the project path can't 传入 correctlly I modify the app.py, like this
self.args.path[0] = self.args.path[0].decode('GBK')

it can work, but its only works in China, and on windows,
I hope you can think 国际友人 ^_^

thank you very much

@sunyanhui
Copy link
Author

no one respon me... 😭😭😭😭😭

@boakley
Copy link
Owner

boakley commented May 3, 2015

I apologize for not responding sooner. I will try to take a look at this but it will likely be difficult for me to solve since I live in the US and don't have a windows computer set up for a GBK locale. When I create a folder on my mac named /tmp/测试项目 I don't see the problem

@sunyanhui
Copy link
Author

thanks for you response ^_^ , It doesn't matter for this problem , i can solve it, but the app only can running normally in US.. if in China, Janpan or other regions, they maybe get the same error like me. thank you very much again. best wish.

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

2 participants