
Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-install-tQUq1p/decorator/setup.py", line 4, in <module>

exec(open('src/decorator.py').read(), dic)
# extract the __version__


 "<string>", line 162

print('Error in generated code:', file=sys.stderr)

^

SyntaxError: invalid syntax

Traceback (most recent call last):


 "main.py", line 118, in <module>

api.get_addrs()


 "/opt/stuff/github/Osintgram/src/Osintgram.py", line 136, in get_addrs

details = self.geolocator.reverse(k)


 "/usr/local/lib/python3.6/site-packages/geopy/geocoders/nominatim.py", line 362, in reverse

return self._call_geocoder(url, callback, timeout=timeout)


 "/usr/local/lib/python3.6/site-packages/geopy/geocoders/base.py", line 378, in _call_geocoder

self._adapter_error_handler(error)


 "/usr/local/lib/python3.6/site-packages/geopy/geocoders/base.py", line 392, in _adapter_error_handler

raise exc_cls(str(error)) from error
geopy.exc.GeocoderServiceError: Non-successful status code 502
