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

剛更新2.7.1後無法抓到Ios裝置 #199

Closed
yanghansyuan opened this issue Aug 12, 2023 · 0 comments
Closed

剛更新2.7.1後無法抓到Ios裝置 #199

yanghansyuan opened this issue Aug 12, 2023 · 0 comments

Comments

@yanghansyuan
Copy link

剛抓了最新的版本,無法抓到IOS裝置。請大佬幫忙看看,謝謝!

[I 230812 18:25:41 common:125] Connected devices: ['DWMˇs iPhone:00008120-001A05E11A53C01E']
[E 230812 18:25:42 apis:88] 'gbk' codec can't decode byte 0xa4 in position 140: illegal multibyte sequence
Traceback (most recent call last):
File "E:\MyWorkFolder\DWM\Profiling\SoloX\SoloX_evn01\lib\site-packages\solox\view\apis.py", line 76, in deviceids
pkgnames = d.getPkgnameByiOS(deviceinfos[0].split(':')[1])
File "E:\MyWorkFolder\DWM\Profiling\SoloX\SoloX_evn01\lib\site-packages\solox\public\common.py", line 130, in getPkgnameByiOS
pkgResult = self.execCmd(f'tidevice --udid {udid} applist').split('\n')
File "E:\MyWorkFolder\DWM\Profiling\SoloX\SoloX_evn01\lib\site-packages\solox\public\common.py", line 36, in execCmd
text = r.buffer.read().decode(encoding='gbk').replace('\x1b[0m','').strip()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa4 in position 140: illegal multibyte sequence
192.168.26.12 - - [12/Aug/2023 18:25:42] "GET /device/ids?platform=iOS&_=1691835940578 HTTP/1.1" 200 -

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

1 participant