'GooBook 3.5.1 authentication error: KeyError: '_module' on Linux Mint XDFC
I installed goobook 3.5.1 following instructions from:
https://pypi.org/project/goobook/
However, when goobook is authenticated as:
goobook authenticate -- CLIENT_ID CLIENT_SECRET
following error is encountered:
Traceback (most recent call last):
File "/home/garv/.local/bin/goobook", line 8, in <module>
sys.exit(main())
File "/home/garv/.local/lib/python3.8/site-packages/goobook/application.py", line 134, in main
config = goobook.config.read_config(args.config)
File "/home/garv/.local/lib/python3.8/site-packages/goobook/config.py", line 128, in read_config
config.creds = config.store.get() if auth_file.exists() else None
File "/usr/lib/python3/dist-packages/oauth2client/client.py", line 407, in get
return self.locked_get()
File "/usr/lib/python3/dist-packages/oauth2client/file.py", line 54, in locked_get
credentials = client.Credentials.new_from_json(content)
File "/usr/lib/python3/dist-packages/oauth2client/client.py", line 302, in new_from_json
module_name = data['_module']
KeyError: '_module'
CLIENT_ID and CLIENT_SECRET are generated(alternative way) from :
https://console.developers.google.com/
Please assist.
Thanks and Regards
-Garv
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
