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

apk_verification: better error message when APK is not found on Play Store #2

Open
FafnerKeyZee opened this issue Mar 23, 2017 · 4 comments

Comments

@FafnerKeyZee
Copy link

Hello,

Got the follwoing error while running apk_verification:

2017-03-23 18:08: error: apk_verification: Could not run on /home/USER/fame/storage/SAMPLEHASH/APKNAME.apk.
Traceback (most recent call last):
File "/home/USER/fame/fame/core/module.py", line 471, in _try_each
return self.each_with_type(target, file_type)
File "/home/USER/fame/fame/core/module.py", line 430, in each_with_type
return self.each(target)
File "/home/USER/fame/fame/modules/community/processing/apk_verification/apk_verification.py", line 95, in each
ref_apk = self.download_reference_apk()
File "/home/USER/fame/fame/modules/community/processing/apk_verification/apk_verification.py", line 81, in download_reference_apk
data = api.download(self.results['package'], version, offer_type)
File "/home/USER/fame/env/local/lib/python2.7/site-packages/googleplay_api/googleplay.py", line 315, in download
cookie = message.payload.buyResponse.purchaseStatusResponse.appDeliveryData.downloadAuthCookie[0]
IndexError: list index out of range

Best regards,

@gaelmuller
Copy link
Collaborator

I don't seem to be able to reproduce this. Can you share a failing APK / Hash ? Is it failing for all APKs ?

@gaelmuller
Copy link
Collaborator

I found a way to reproduce by using an APK with a package name that is not if the Google Play Store. Cloud you confirm if this is your case ?

@FafnerKeyZee
Copy link
Author

It's failling for one apk, I will share your the file asap. I didn't test for others ./

But yes it enters in the case you spotted

Best regards,

@gaelmuller
Copy link
Collaborator

Ok in that case no need to share the APK. apk_verification is only useful if there is a matching APK in the Play Store.

I'm keeping this issue open for now because we need to better handle this case.

@gaelmuller gaelmuller changed the title Error when running apk_verification apk_verification: better error message when APK is not found on Play Store Apr 7, 2017
Augustin-FL added a commit that referenced this issue Nov 13, 2023
This resolves the issue with zbar and opencv dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants