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

app_install方法入参是链接的话报错 #986

Open
Xiaojun0822 opened this issue May 30, 2024 · 0 comments
Open

app_install方法入参是链接的话报错 #986

Xiaojun0822 opened this issue May 30, 2024 · 0 comments
Labels

Comments

@Xiaojun0822
Copy link

uiautomator2版本:3.1.0

tmpfile path: /var/folders/c0/4g8jx1611w5fg28jp5hxn2b40000gp/T/tmpt9qepbo2.apk
push to /data/local/tmp/tmp-1717058926461.apk
2.2% 2.9 MB/s [3.0 MB/135.7 MB]
Traceback (most recent call last):
File "/Users/wangxiaojun/Desktop/github/uiautomator2/test.py", line 23, in
d.app_install('https://xxxxxx.apk')
File "/Users/wangxiaojun/Desktop/github/uiautomator2/uiautomator2/init.py", line 711, in app_install
self.adb_device.install(data)
File "/Users/wangxiaojun/opt/miniconda3/envs/zpad_u2/lib/python3.10/site-packages/adbutils/install.py", line 86, in install
self.sync.push(r, dst)
File "/Users/wangxiaojun/opt/miniconda3/envs/zpad_u2/lib/python3.10/site-packages/adbutils/sync.py", line 109, in push
return self._push_file(src, dst, mode, check)
File "/Users/wangxiaojun/opt/miniconda3/envs/zpad_u2/lib/python3.10/site-packages/adbutils/sync.py", line 140, in _push_file
c.conn.send(b"DATA" + struct.pack("<I", len(chunk)))
BrokenPipeError: [Errno 32] Broken pipe

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

No branches or pull requests

2 participants