robotframework-hub icon indicating copy to clipboard operation
robotframework-hub copied to clipboard

project path with chinese

Open sunyanhui opened this issue 10 years ago • 3 comments

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 avatar May 01 '15 02:05 sunyanhui

no one respon me... :sob::sob::sob::sob::sob:

sunyanhui avatar May 03 '15 12:05 sunyanhui

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

boakley avatar May 03 '15 13:05 boakley

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.

sunyanhui avatar May 10 '15 07:05 sunyanhui