Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

KeyError: '_module' #12

Closed
lowk3y opened this issue Nov 29, 2018 · 1 comment
Closed

KeyError: '_module' #12

lowk3y opened this issue Nov 29, 2018 · 1 comment

Comments

@lowk3y
Copy link

lowk3y commented Nov 29, 2018

I am having issues starting the G-Scout audit

(venv) a@zbox:~/src/G-Scout$ python gscout.py -p-name "XXXXX" 
Traceback (most recent call last):
  File "gscout.py", line 115, in <module>
    main()
  File "gscout.py", line 97, in main
    list_projects(project_or_org='project-name', specifier=args.project_name)
  File "gscout.py", line 36, in list_projects
    'v1', credentials=storage.get())
  File "/home/a/src/G-Scout/venv/local/lib/python2.7/site-packages/oauth2client/client.py", line 407, in get
    return self.locked_get()
  File "/home/a/src/G-Scout/venv/local/lib/python2.7/site-packages/oauth2client/file.py", line 54, in locked_get
    credentials = client.Credentials.new_from_json(content)
  File "/home/a/src/G-Scout/venv/local/lib/python2.7/site-packages/oauth2client/client.py", line 302, in new_from_json
    module_name = data['_module']
KeyError: '_module'
@angelomellos
Copy link
Collaborator

Hello,
I'm not sure what causes this error. I do know someone else has gotten this and it was fixed after just starting over from scratch. Sorry that's the best I've got.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants