Giter Club home page Giter Club logo

app_spider's Issues

运行东方头条中的home异常

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'

微信朋友圈运行报错

hrpc.exceptions.TransportDisconnected: HTTPConnectionPool(host='127.0.0.1', port=16663): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0C3750F0>: Failed to establish a new connection: [WinError 10061] ▒▒▒▒Ŀ▒▒▒▒▒▒▒▒▒▒▒ܾ▒▒▒▒޷▒▒▒▒ӡ▒'))

image

微视不能自动跳转到下个app

hrpc.exceptions.TransportDisconnected: HTTPConnectionPool(host='127.0.0.1', port=14800): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1129a4090>: Failed to establish a new connection: [Errno 61] Connection refused'))
[09:08:59][DEBUG]<airtest.core.android.adb> /usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/airtest/core/android/static/adb/mac/adb -s 926QADUP2239U forward --remove tcp:14927
产生异常了
产生异常了
网络链接HTTPConnection走到了error里面,请问这个是什么原因呢

请问报这种错误要怎么办You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission

[debug] [W3C] Encountered internal error running command: Error executing adbExec. Original error: 'Command '/Users/allen/Library/Android/sdk/platform-tools/adb -P 5037 -s 34874d090704 shell pm install -g /data/local/tmp/appium_cache/728413456b86856a2003edeb524d6bd577ca6418.apk' exited with code 1'; Stderr: 'Error: java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag'; Code: '1' [debug] [W3C] Error: Command '/Users/allen/Library/Android/sdk/platform-tools/adb -P 5037 -s 34874d090704 shell pm install -g /data/local/tmp/appium_cache/728413456b86856a2003edeb524d6bd577ca6418.apk' exited with code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.