Closed
Description
My use case is an fdroid repository where I have some apks from the play store but also apks that I compiled myself that is not available in the play store.
I want to update the apks from the play store with gplaycli -u repo
but currently that fails:
Traceback (most recent call last):
File "/usr/bin/gplaycli", line 11, in <module>
load_entry_point('GPlayCli==3.20', 'console_scripts', 'gplaycli')()
File "/usr/lib/python3.6/site-packages/gplaycli/gplaycli.py", line 671, in main
cli.prepare_analyse_apks()
File "/usr/lib/python3.6/site-packages/gplaycli/gplaycli.py", line 475, in prepare_analyse_apks
to_update = self.analyse_local_apks(list_of_apks, download_folder)
File "/usr/lib/python3.6/site-packages/gplaycli/hooks.py", line 9, in check_connection
return function(self, *args, **kwargs)
File "/usr/lib/python3.6/site-packages/gplaycli/gplaycli.py", line 505, in analyse_local_apks
store_version_code = detail['versionCode']
TypeError: 'NoneType' object is not subscriptable
As a local quick fix I added
if not detail: continue
right in front of that line so the packages not in the play store don't get added to list_apks_to_update
:
Line 503 in 8a60f83
Metadata
Metadata
Assignees
Labels
No labels