开发者

How to make this gaema demo running on google-app-engine? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.

Edit the question to includ开发者_JAVA百科e desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.

Closed 3 years ago.

Improve this question

This is the package which has a webapp demo in it.

However, when I login use this demo, I get an error.

How to make this demo running on the gae-launcher?


Looks like a bug in gaema.

The line that's failing is trying to urlencode a dictionary of arguments that get passed to the OpenID endpoint. One or more of the values, perhaps your first or last name, has non-ASCII characters.

You might be able to work around it by replacing instances of this:

urllib.urlencode(args)

With this:

urllib.urlencode(dict([(k, args[k].encode('utf-8')) for k in args]))

For a more permanent fix, I would report the issue here:

http://code.google.com/p/gaema/issues/list

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜