question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR:root:'NoneType' object has no attribute 'get'

See original GitHub issue

It seems like a variant of #52 is back or at least for several of us. We see this intermittently and it seems to happen on multiple machine in multiple network environments (home, office, vpn / no vpn). Usually we see 1-3 failure before a success.

Environment

  • MacOS: 10.15.3 (19.3.0 Darwin Kernel Version 19.3.0)
  • Python 3.7.6
aws-google-auth    0.0.33
beautifulsoup4     4.8.1
boto3              1.10.32
botocore           1.13.32
cached-property    1.5.1
certifi            2019.11.28
chardet            3.0.4
configparser       4.0.2
docker-compose     1.8.0
docker-py          1.10.6
docker-pycreds     0.4.0
dockerpty          0.4.1
docopt             0.6.2
docutils           0.15.2
idna               2.8
importlib-metadata 1.1.0
jmespath           0.9.4
jsonschema         2.6.0
keyring            19.3.0
keyrings.alt       3.2.0
lxml               4.4.2
more-itertools     8.0.0
Pillow             6.2.1
pip                19.3.1
python-dateutil    2.8.0
pytz               2019.3
PyYAML             3.13
requests           2.7.0
s3transfer         0.2.1
setuptools         42.0.2
six                1.13.0
soupsieve          1.9.5
tabulate           0.8.6
texttable          0.8.8
tzlocal            2.0.0
urllib3            1.25.7
websocket-client   0.57.0
wheel              0.33.6
zipp               0.6.0

Error

ERROR:root:'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aws_google_auth/__init__.py", line 73, in cli
    process_auth(args, config)
  File "/usr/local/lib/python3.7/site-packages/aws_google_auth/__init__.py", line 218, in process_auth
    google_client.do_login()
  File "/usr/local/lib/python3.7/site-packages/aws_google_auth/google.py", line 228, in do_login
    'name': 'ProfileInformation'
AttributeError: 'NoneType' object has no attribute 'get'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
barryoneillcommented, Feb 27, 2020
1reaction
stevemac007commented, Feb 27, 2020

Looks like google is making changes to the login flow… again… Will need to dig into more reverse engineering to understand the impact of the change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do I get AttributeError: 'NoneType' object has no attribute ...
It means the object you are trying to access None . None is a Null variable ...
Read more >
How to fix AttributeError: 'NoneType' object has no attribute 'get'
AttributeError means that there was an Error that had to do with an Attribute request. In general, when you write x.y, y is...
Read more >
ERROR:root:'NoneType' object has no attribute 'get' #166
trying to use aws-google-auth at version 0.0.33 and get the following error: ... ERROR:root:'NoneType' object has no attribute 'get' #166.
Read more >
[FIXED] AttributeError: 'NoneType' object has no attribute ...
Hence, AttributeError: 'NoneType' object has no attribute 'something' error occurs when the type of object you are referencing is None.
Read more >
How do I fix : attributeerror: 'nonetype' object has no attribute ...
When ever you get a problems that involves a message such as " 'nonetype' object has no attribute ..." it means the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found