Problem . I used the Python Script Google Samples to upload apk to the Play Store and get a list of applications published through my account ( list_apks.py and upload_apk.py
). However, recently it began to break. I tried updating packages, for example google-api-python-client
, oath2client
etc., by pip install --update packagename
, but that didn't help.
Magazines
This is if when listing apk's:
Determining latest version for my.package.name... error 25-Feb-2016 06:30:52 Traceback (most recent call last): error 25-Feb-2016 06:30:52 File "list_apks.py", line 80, in <module> error 25-Feb-2016 06:30:52 main() error 25-Feb-2016 06:30:52 File "list_apks.py", line 46, in main error 25-Feb-2016 06:30:52 credentials = client.SignedJwtAssertionCredentials( error 25-Feb-2016 06:30:52 AttributeError: 'module' object has no attribute 'SignedJwtAssertionCredentials' build 25-Feb-2016 06:30:52 Found latest APK version: build 25-Feb-2016 06:30:52 Generated new APK version: 1
This is when loading apk:
25-Feb-2016 06:33:30 Uploading APK... 25-Feb-2016 06:33:30 Traceback (most recent call last): 25-Feb-2016 06:33:30 File "upload_apk.py", line 115, in <module> 25-Feb-2016 06:33:30 main(sys.argv) 25-Feb-2016 06:33:30 File "upload_apk.py", line 62, in main 25-Feb-2016 06:33:30 credentials = client.SignedJwtAssertionCredentials( 25-Feb-2016 06:33:30 AttributeError: 'module' object has no attribute 'SignedJwtAssertionCredentials'
Sniper Code :
import argparse from apiclient.discovery import build import httplib2 from oauth2client import client SERVICE_ACCOUNT_EMAIL = ( 'myaccountemail.com')
What else can I try? I would be grateful for your help.
source share