Open linmscat opened 3 years ago
@zy02636 @codeskyblue @alibaba-oss @373743261
device_udid_list
函数无 BUG
udid
的设备并不在接入设备列表中
device_udid_list
函数无BUG
- 你当前的报错信息是提醒你, 你曾经指定
udid
的设备并不在接入设备列表中
是因为device_udid_list 返回了该udid,构建tidevice.Device对象时,出现该崩溃堆栈,根本的原因是device_udid_list 就不该给我返回这个已经掉线的设备id
tidevice版本:0.3.5 @codeskyblue 堆栈如下: File "F:\GitLab\apprunner\apprunner\device\ios\ios_device.py", line 200, in _install_agent device = tidevice.Device(self.get_udid()) File "F:\GitLab\apprunner\venv\lib\site-packages\tidevice_device.py", line 86, in init self._info = self.info File "F:\GitLab\apprunner\venv\lib\site-packages\cached_property.py", line 36, in get value = obj.dict[self.func.name] = self.func(obj) File "F:\GitLab\apprunner\venv\lib\site-packages\tidevice_device.py", line 115, in info raise MuxError("Device: {} not ready".format(self._udid)) tidevice.exceptions.MuxError: Device: 60d96bf4160b149ea798f198aeb790c50a5c5df6 not ready