c:\Python27>python C:\Python27\GO\example.py -a google -u ***************@gmail.com -p ********** -l "40.7165353,-74.0110439,16" -st 100
[-] register_background_thread called
[-] register_background_thread: not running inside Flask so not starting thread
* Restarting with stat
[-] register_background_thread called
[-] register_background_thread: initial registration
[* Debugger is active!
+] Locale is en
[ +] Getting initial location* Debugger pin code: 870-977-181
* Running on
http://127.0.0.1:5000/ (Press CTRL+C to quit)
Exception in thread search_thread:
Traceback (most recent call last):
File "c:\Python27\lib\threading.py", line 801, in __bootstrap_inner
self.run()
File "c:\Python27\lib\threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Python27\GO\example.py", line 571, in main
retrying_set_location(args.location)
File "C:\Python27\GO\example.py", line 157, in retrying_set_location
set_location(location_name)
File "C:\Python27\GO\example.py", line 177, in set_location
origin_lat, origin_lon = local_lat, local_lng = loc.latitude, loc.longitude
AttributeError: 'NoneType' object has no attribute 'latitude'
В чем проблема может быть?