Open GoogleCodeExporter opened 9 years ago
Original comment by afs...@google.com
on 7 Oct 2011 at 12:34
Actually, to get the example to work, I had to use:
self.redirect(str(request_token.generate_authorization_url()))
otherwise I got the following error:
ERROR 2011-12-08 16:05:32,209 _webapp25.py:464] 'Uri' object has no
attribute 'find'
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
handler.get(*groups)
File "/Users/tap32/Programming/dataserver/login.py", line 27, in get
self.redirect(request_token.generate_authorization_url(google_apps_domain=domain))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/_webapp25.py", line 449, in redirect
absolute_url = urlparse.urljoin(self.request.uri, uri)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urlparse.py", line 236, in urljoin
urlparse(url, bscheme, allow_fragments)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urlparse.py", line 129, in urlparse
tuple = urlsplit(url, scheme, allow_fragments)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urlparse.py", line 168, in urlsplit
i = url.find(':')
AttributeError: 'Uri' object has no attribute 'find'
Original comment by personal...@gmail.com
on 8 Dec 2011 at 4:14
Original comment by afs...@google.com
on 18 Dec 2011 at 5:46
Original issue reported on code.google.com by
bgn...@gmail.com
on 5 Jul 2011 at 12:05