A new user encountered this error while saving the settings just after Sign up with Google
2016-06-07 00:37:56.470 /settings 500 232ms 0kb Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 [...]
D 2016-06-07 00:37:56.292
DB READ: Handler SettingsPage requests an instance of RegisteredUsers. Getting logged in user.
D 2016-06-07 00:37:56.455
DB WRITE: Handler SettingsPage is writing an instance of RegisteredUsers. Updating settings.
E 2016-06-07 00:37:56.469
'image'
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1077, in __call__
return handler.dispatch()
File "/base/data/home/apps/s~research-engine/20160527t085846.393078762594418921/src/generic.py", line 294, in dispatch
webapp2.RequestHandler.dispatch(self)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/base/data/home/apps/s~research-engine/20160527t085846.393078762594418921/src/users.py", line 216, in post
user.set_profile_image_url("google" if user.gplus_profile_json else "gravatar")
File "/base/data/home/apps/s~research-engine/20160527t085846.393078762594418921/src/generic.py", line 124, in set_profile_image_url
self.profile_image_url = self.gplus_profile_json['image']['url'].split('?')[0]
KeyError: 'image'
E 2016-06-07 00:37:56.469
Traceback (most recent call last):
File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 267, in Handle
result = handler(dict(self._environ), self._StartResponse)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1519, in __call__
response = self._internal_error(e)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 1077, in __call__
return handler.dispatch()
File "/base/data/home/apps/s~research-engine/20160527t085846.393078762594418921/src/generic.py", line 294, in dispatch
webapp2.RequestHandler.dispatch(self)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
File "/base/data/home/apps/s~research-engine/20160527t085846.393078762594418921/src/users.py", line 216, in post
user.set_profile_image_url("google" if user.gplus_profile_json else "gravatar")
File "/base/data/home/apps/s~research-engine/20160527t085846.393078762594418921/src/generic.py", line 124, in set_profile_image_url
self.profile_i
A new user encountered this error while saving the settings just after Sign up with Google