session demo page error

17 views
Skip to first unread message

Paolo

unread,
Dec 23, 2010, 9:27:12 AM12/23/10
to appengine-utilities
reloading the session demo page i'm getting this (chrome 9.0.5 on
win7):

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/__init__.py", line 515, in __call__
handler.get(*groups)
File "/base/data/home/apps/gaeutilities/1.342387383043018161/
main.py", line 66, in get
self.sess = sessions.Session()
File "/base/data/home/apps/gaeutilities/1.342387383043018161/
appengine_utilities/sessions.py", line 562, in __init__
self.session = _AppEngineUtilities_Session.get_session(self)
File "/base/data/home/apps/gaeutilities/1.342387383043018161/
appengine_utilities/sessions.py", line 142, in get_session
ds_session = db.get(str(session_key))
File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 1318, in get
keys, multiple = datastore.NormalizeAndTypeCheckKeys(keys)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 144, in NormalizeAndTypeCheckKeys
keys = [_GetCompleteKeyOrError(key) for key in keys]
File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore.py", line 2150, in _GetCompleteKeyOrError
key = Key(arg)
File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/datastore_types.py", line 301, in __init__
'Invalid string key %s. Details: %s' % (encoded, e))
BadKeyError: Invalid string key
agxnYWV1dGlsaXRpZXNyJAsSG19BcHBFbmdpbmVVdGlsaXRpZXNfU2Vzc2lvbhiz0===.
Details: Incorrect padding


is this a know issue? i'm i missing something?

Joe Bowman

unread,
Dec 23, 2010, 9:30:07 AM12/23/10
to appengine...@googlegroups.com
what version of python are you using? gaeutilities only supports 2.5 like appengine.

Paolo Caminiti

unread,
Dec 23, 2010, 9:53:13 AM12/23/10
to appengine...@googlegroups.com
i'm getting the error online at the demo page, at this address

http://gaeutilities.appspot.com/session

i still cannot wiew the page, unless i reset my browser cache, but
then again i'll get the error if i do refresh the page


.Paolo

Joe Bowman

unread,
Dec 23, 2010, 10:12:18 AM12/23/10
to appengine...@googlegroups.com
Ah ok... known issue with appengine I'm afraid.


Bad thing is it's inconsistent. When I view the demo it works perfectly fine, so only some of the application servers are having that problem. Google marked it as acknowledged 6 days ago, haven't heard anything since.

Paolo Caminiti

unread,
Dec 23, 2010, 11:01:19 AM12/23/10
to appengine...@googlegroups.com
hope it will be solved, i need a session solution, yours is best i found around.

good xmas and thanks for the work.

.Paolo

Paolo Caminiti

unread,
Dec 28, 2010, 8:02:41 AM12/28/10
to appengine...@googlegroups.com
interestingly enough, i'm not getting the problem from another connection (at work: another ISP still same city). while i still get it at home, were i have a internet provider called fastweb which does make many apartments connect under a single ip address and gives not a public address, which is not even identified by sites like the ip to country identifing service, my home ISP is called fastweb and it only operates in italy.

maybe the code is reling on something connected to this?


.Paolo

Joe Bowman

unread,
Jan 3, 2011, 10:13:35 AM1/3/11
to appengine...@googlegroups.com
Nope, I think just some instances of appengine are having the problem and others are not. I think it's related to which end server on the appengine cluster is serving the result.
Reply all
Reply to author
Forward
0 new messages