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

read_string_block函数类型转换问题 #76

Closed
qingqingcaoyuanlin opened this issue Aug 13, 2022 · 2 comments
Closed

read_string_block函数类型转换问题 #76

qingqingcaoyuanlin opened this issue Aug 13, 2022 · 2 comments

Comments

@qingqingcaoyuanlin
Copy link

执行python -m uiautomator2 init命令Check atx-agent version出现的错误:
File "C:\Python39\lib\site-packages\adbutils_device.py", line 236, in forward_list
content = c.read_string_block()
File "C:\Python39\lib\site-packages\adbutils_adb.py", line 118, in read_string_block
size = int(length, 16)
ValueError: invalid literal for int() with base 16: 'FAIL'

@qingqingcaoyuanlin
Copy link
Author

adbutils版本号为0.16.2

@codeskyblue
Copy link
Member

Should fixed. reopen if still exists

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