-
Notifications
You must be signed in to change notification settings - Fork 505
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
运行东方头条中的home异常 #8
Comments
这句话可以注释掉,可能不兼容 |
我也遇到了这个,然后我的手机是vivo Android。注释掉home后又出现stop_app出错。然后把stop_app注释掉后就会出现等待广告元素异常,然后就被异常退出。 Process finished with exit code 1 |
pocoui包已经安装,且usb连接已打开设备连接,cmd中运行adb devices可以正常检测设备,但是运行结果报如下异常,异常中的G未被赋值,请教下是安装配置问题还是其他原因,烦请指点,感谢!
运行环境:win 10,pocoui版本:1.0.78, python版本:3.7
Traceback (most recent call last):
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev\pydevd.py", line 1758, in
main()
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev\pydevd.py", line 1752, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev\pydevd.py", line 1147, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:\Program Files\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "E:/python_workspace/python_study/pocoui/east_news.py", line 531, in
dftt.run()
File "E:/python_workspace/python_study/pocoui/east_news.py", line 58, in run
home()
File "D:\Program Files\python3.7\lib\site-packages\airtest\utils\logwraper.py", line 78, in wrapper
res = f(*args, **kwargs)
File "D:\Program Files\python3.7\lib\site-packages\airtest\core\api.py", line 242, in home
G.DEVICE.home()
AttributeError: 'NoneType' object has no attribute 'home'
The text was updated successfully, but these errors were encountered: