wliao008 / mysteryleague

1 stars 0 forks source link

Error when posting review #6

Closed wliao008 closed 13 years ago

wliao008 commented 13 years ago

steps to reproduce:

) go to homepage, login ) click open an article ) scroll to bottom ) enter a review and click "go", got the following error:

Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/init.py", line 702, in call handler.post(_groups) File "/base/data/home/apps/s~tuiliclub/beta-v0.351525694352554267/controllers/item.py", line 41, in post article = db.get(key) File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/init.py", line 1471, in get return get_async(keys, *_kwargs).get_result() File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/init.py", line 1430, in get_async keys, multiple = datastore.NormalizeAndTypeCheckKeys(keys) File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 180, in NormalizeAndTypeCheckKeys keys = [_GetCompleteKeyOrError(key) for key in keys] File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 2409, in _GetCompleteKeyOrError key = Key(arg) File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore_types.py", line 364, in init raise datastore_errors.BadKeyError('Invalid string key %s.' % encoded) BadKeyError: Invalid string key .

wliao008 commented 13 years ago

bug fixed, in beta-v0.351640971526273972 & up