gae error when i login.
Posted
by zjm1126
on Stack Overflow
See other posts from Stack Overflow
or by zjm1126
Published on 2010-04-22T02:33:29Z
Indexed on
2010/04/22
2:43 UTC
Read the original article
Hit count: 336
google-app-engine
|unicodeencodeerror
i am using http://code.google.com/p/gaema/source/browse/#hg/demos/webapp,
and this is my traceback:
Traceback (most recent call last):
File "D:\Program Files\Google\google_appengine\google\appengine\ext\webapp\__init__.py", line 510, in __call__
handler.get(*groups)
File "D:\gaema\demos\webapp\main.py", line 31, in get
google_auth.get_authenticated_user(self._on_auth)
File "D:\gaema\demos\webapp\gaema\auth.py", line 641, in get_authenticated_user
OpenIdMixin.get_authenticated_user(self, callback)
File "D:\gaema\demos\webapp\gaema\auth.py", line 83, in get_authenticated_user
url = self._OPENID_ENDPOINT + "?" + urllib.urlencode(args)
File "D:\Python25\lib\urllib.py", line 1250, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
how to do this
thanks
??????????????? ???????? ??????????? ??????????????
???????
© Stack Overflow or respective owner