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

使用adb模式组队刷魂十,魂十结束会报错 #3

Open
Rambox1 opened this issue Mar 21, 2019 · 2 comments
Open

使用adb模式组队刷魂十,魂十结束会报错 #3

Rambox1 opened this issue Mar 21, 2019 · 2 comments

Comments

@Rambox1
Copy link

Rambox1 commented Mar 21, 2019

Traceback (most recent call last):
File "D:/Rambo/study/python/YYS/yys_adb.py", line 20, in wrap
ans = f(*agrs, **kwagrs)
File "D:/Rambo/study/python/YYS/yys_adb.py", line 43, in select_mode
comand()
File "D:/Rambo/study/python/YYS/yys_adb.py", line 76, in yuhun
target = action.cut(screen, x1, x2)
File "D:\Rambo\study\python\YYS\action_adb.py", line 91, in cut
screen = screen[b:d,a:c]
TypeError: 'NoneType' object is not subscriptable
2189 KB/s (789512 bytes in 0.352s)
libpng error: Read Error

@anywhere2go
Copy link
Owner

会重复出现么。。看提示应该是截图读取失败,可能是截图文件从手机模拟器PULL到电脑时读写出错

@Rambox1
Copy link
Author

Rambox1 commented Mar 22, 2019

是的 只能刷一次。不知道是不是我配置的问题 我看着screen.jpg也覆盖了。

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