-
Notifications
You must be signed in to change notification settings - Fork 591
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 when clicking "more" and having exactly 10 books. #8
Comments
Can you send over any stacktrace? Does this occur locally? On Mon, Oct 12, 2015 at 1:05 PM Shun Fan notifications@github.com wrote:
|
Seems to happen locally as well. 127.0.0.1 - - [12/Oct/2015 13:18:27] "GET /books/?page_token=CkUKEwoFdGl0bGUSChoIdGhlb2RvcmUSKmoVc35iaWd0YWJsZS1zZmFuLXRlc3QxchELEgRCb29rGICAgIC+goMKDBgAIAA= HTTP/1.1" 500 - |
Thanks! Will investigate. On Mon, Oct 12, 2015 at 1:20 PM Shun Fan notifications@github.com wrote:
|
https://github.com/GoogleCloudPlatform/getting-started-python/blob/master/bookshelf/model_datastore.py#L56 |
@dhermes sigh, cursors aren't encoded with the urlsafe base64 encoding. Is there any reason for this? Should user apps just explicitly translate to urlsafe or do you feel like this should be fixed in gcloud-python? |
I don't have an opinion on urlsafe vs. regular b64. Maybe someone else does? |
I have a pretty strong opinion that we should use urlsafe, especially given the context that a cursor is very often passed around via URLs or forms. Also, ndb's cursors objects that serialize to urlsafe b64, so pleaseeeeee? :D |
I'm super busy for the next 7-10 days. Care to send a PR (I can code review from my phone on public transit, can't write code though)? |
Absolutely. Thanks! |
👍 Thank YOU Jon |
Closing this, as it should be fixed upstream. |
Deploy part 2 - using datastore > visit /books > click "more" > Internal server error
The text was updated successfully, but these errors were encountered: