GotoX icon indicating copy to clipboard operation
GotoX copied to clipboard

OpenWRT LEDE 安装debian后运行GotoX报错

Open jlzsss opened this issue 6 years ago • 5 comments

报错信息如下: root@Openwrt:/home/GotoX# python3 start.py Traceback (most recent call last): File "start.py", line 14, in proxy.main() File "/home/GotoX/local/proxy.py", line 257, in main sys.stdout.write(''.join(info)) UnicodeEncodeError: 'ascii' codec can't encode character '\u7248' in position 91: ordinal not in range(128)

jlzsss avatar May 05 '18 14:05 jlzsss

因为有中文,需要系统支持。

不然只能注释掉这句,并增加一句 logging.disable(50)

SeaHOH avatar May 05 '18 15:05 SeaHOH

修改后,运行python3 start.py无反应 BusyBox v1.28.3 () built-in shell (ash)


| |.-----.-----.-----.| | | |.----.| |_ | - || _ | -| || | | || || | |_____|| |||||___||| |____| || W I R E L E S S F R E E D O M

Openwrt Koolshare mod V2.17, r7469-92b40b1 by fw867

root@Openwrt:~# debian root@Openwrt:/# cd /home/GotoX root@Openwrt:/home/GotoX# ls GotoX.ico README.md cert config data launcher local python requirements.txt start.py web root@Openwrt:/home/GotoX# python3 start.py

jlzsss avatar May 07 '18 05:05 jlzsss

注释掉这句,并增加一句 logging.disable(50)

这相当于取消所有输出,如果这样端口也没有开始正常监听,我也没啥头绪。 毕竟我也没 LEDE 的使用经验,或许你可以去问问 #58 的楼主?

SeaHOH avatar May 07 '18 06:05 SeaHOH

debian安装设置为zh_CN后,问题解决。

jlzsss avatar May 08 '18 05:05 jlzsss

谢谢你,提供这些信息。

SeaHOH avatar May 08 '18 06:05 SeaHOH