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

代码运行bug反馈 #7

Open
Pizz33 opened this issue Aug 2, 2021 · 5 comments
Open

代码运行bug反馈 #7

Pizz33 opened this issue Aug 2, 2021 · 5 comments
Labels
resolved 已解决

Comments

@Pizz33
Copy link

Pizz33 commented Aug 2, 2021

在运行过程中报错'gbk' codec can't decode byte 0xae in position 570
后面在checkCDN.py修改了
cdnDict = {}
with io.open(r'Plugins/infoGather/subdomain/CDN/cdn-domain.conf', 'rt', encoding='utf-8') as f:
现在又有了新错误,不知道该修改哪个模块
'encoding' is an invalid keyword argument for print()
image
作者可以抽空帮忙看看吗

@SkewwG
Copy link
Contributor

SkewwG commented Aug 3, 2021

看一下一开始错误的截图,抛出“在运行过程中报错'gbk' codec can't decode byte 0xae in position 570”这个错误的截图。

@Pizz33
Copy link
Author

Pizz33 commented Aug 3, 2021

看一下一开始错误的截图,抛出“在运行过程中报错'gbk' codec can't decode byte 0xae in position 570”这个错误的截图。

image

@SkewwG
Copy link
Contributor

SkewwG commented Aug 3, 2021

你是在print函数里也加了encoding参数?

@Pizz33
Copy link
Author

Pizz33 commented Aug 3, 2021

你是在print函数里也加了encoding参数?

作者您好 这个问题目前解决了 改的时候在别的位置多加了个encoding
不过checkCDN.py那个gbk编码可能得修改一下 我这边是做了如下修改
image

@SkewwG
Copy link
Contributor

SkewwG commented Aug 3, 2021

嗯嗯。解决了就好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved 已解决
Projects
None yet
Development

No branches or pull requests

2 participants