Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HIRANO-Satoshi opened this issue May 14, 2015 · 0 comments

Comments

@HIRANO-Satoshi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant