Closed khrithik96 closed 1 year ago
Getting error 'NoneType' object has no attribute 'get' when calling get_apps of InstallationProxyService.
'NoneType' object has no attribute 'get'
get_apps
InstallationProxyService
self.service.recv_plist() is returning None intermittently, which is causing the error.
self.service.recv_plist()
None
https://github.com/YueChen-C/py-ios-device/blob/4dddce914ff885082f578912fff882b8b06a84e4/ios_device/servers/Installation.py#L148
Getting this error intermittently only on one device: iPhone SE2, iOS 15.5.
Any idea how can this be fixed?
Run in debug mode to view more logs
https://github.com/YueChen-C/py-ios-device/blob/4dddce914ff885082f578912fff882b8b06a84e4/ios_device/util/plist_service.py#L84-L86
Looks more like the device disconnected and then reconnected
We were not able to reproduce the error. For now, we have added a retry.
Getting error
'NoneType' object has no attribute 'get'
when callingget_apps
ofInstallationProxyService
.self.service.recv_plist()
is returningNone
intermittently, which is causing the error.https://github.com/YueChen-C/py-ios-device/blob/4dddce914ff885082f578912fff882b8b06a84e4/ios_device/servers/Installation.py#L148
Getting this error intermittently only on one device: iPhone SE2, iOS 15.5.
Any idea how can this be fixed?