alibaba / alibaba/tidevice

tidevice list可用但是tideivce applist 报错,之前是可以的,现在不知道为啥不行了

Open
#52 9 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

File "d:\python3.7.8\lib\site-packages\tidevice\_usbmux.py", line 81, in _check
raise MuxReplyError(data['Number'])
File "d:\python3.7.8\lib\site-packages\tidevice\exceptions.py", line 14, in __init__
self.reply_code = UsbmuxReplyCode(number)
File "d:\python3.7.8\lib\enum.py", line 315, in __call__
return cls.__new__(cls, value)
File "d:\python3.7.8\lib\enum.py", line 569, in __new__
raise exc
File "d:\python3.7.8\lib\enum.py", line 553, in __new__
result = cls._missing_(value)
File "d:\python3.7.8\lib\enum.py", line 582, in _missing_
raise ValueError("%r is not a valid %s" % (value, cls.__name__))
ValueError: 22 is not a valid UsbmuxReplyCode

![image](https://user-images.githubusercontent.com/8514029/112793188-67bf8c00-9097-11eb-8bf9-5435cebc2506.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the difference between `tidevice list` and `tidevice applist`, then read `tidevice/_usbmux.py` around line 81 and `tidevice/exceptions.py` around line 14. Check how USB mux reply code 22 is reached and compare the behavior with the working command; done means `applist` works without the reported exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, python
Domain
cli, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.