Skip to content

AttributeError: 'NoneType' object has no attribute 'get' #4

@Anthony0415

Description

@Anthony0415

Traceback (most recent call last):
File "G:/python/test.py", line 323, in
location.run()
File "G:/python/test.py", line 197, in run
address = self.__get_address(coordinate)
File "G:/python/test.py", line 213, in __get_address
address = location_data.get('regeocode').get('formatted_address')
AttributeError: 'NoneType' object has no attribute 'get'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions