coto / gae-boilerplate

Google App Engine Boilerplate
https://dev-dot-sandengine.appspot.com/
Other
684 stars 187 forks source link

error on dev server CookieError: Illegal key value: cc.sidebar/updates #313

Open HIRANO-Satoshi opened 9 years ago

HIRANO-Satoshi commented 9 years ago

Hi,

I have just cloned the package and tried to run it on a dev server. I got the following error. It runs on the production server.

I'm using Safari on mac.

Any idea?

Internal Server Error

Traceback (most recent call last): File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1535, in call rv = self.handle_exception(request, response, e) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1529, in call rv = self.router.dispatch(request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher return route.handler_adapter(request, response) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1102, in call return handler.dispatch() File "/Users/s-hirano/workspace/gae-boilerplate/bp_includes/lib/basehandler.py", line 63, in dispatch webapp2.RequestHandler.dispatch(self) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 572, in dispatch return self.handle_exception(e, self.app.debug) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 570, in dispatch return method(_args, *_kwargs) File "/Users/s-hirano/workspace/gae-boilerplate/bp_includes/handlers.py", line 1418, in get return self.render_template('home.html', params) File "/Users/s-hirano/workspace/gae-boilerplate/bp_includes/lib/basehandler.py", line 290, in render_template 'is_mobile': self.is_mobile, File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 726, in get** value = self.func(obj) File "/Users/s-hirano/workspace/gae-boilerplate/bp_includes/lib/basehandler.py", line 240, in is_mobile return utils.set_device_cookie_and_return_bool(self) File "/Users/s-hirano/workspace/gae-boilerplate/bp_includes/lib/utils.py", line 198, in set_device_cookie_and_return_bool device_cookie = str(read_cookie(cls, "dvc")) File "/Users/s-hirano/workspace/gae-boilerplate/bp_includes/lib/utils.py", line 110, in read_cookie cls.cookie.load(string_cookie) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Cookie.py", line 632, in load self.ParseString(rawdata) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Cookie.py", line 665, in ParseString self.set(K, rval, cval) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Cookie.py", line 585, in set M.set(key, real_value, coded_value) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Cookie.py", line 460, in set raise CookieError("Illegal key value: %s" % key) CookieError: Illegal key value: cc.sidebar/updates