get_request_token throws a TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
New
|
Undecided
|
Unassigned | ||
python-httplib2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using 0.2~bzr35-0ubuntu1
This code:
web_root = EDGE_SERVICE_ROOT
token_url = EDGE_SERVICE_ROOT
credentials = Credentials(
web_root_uri = URI(token_url)
web_root_uri.path = ""
web_root_uri.host = web_root_
token_url = str(web_
print "Web root is " + web_root
print "Getting token from " + token_url
authorization_url = credentials.
Throws this error:
Traceback (most recent call last):
File "DashboardWindo
w = DashboardWindow()
File "DashboardWindo
lp = logon_task(None)
File "DashboardWindo
return LaunchpadUtils.
File "/media/
authorizati
File "/usr/lib/
url, method='POST', body=urlencode(
File "/var/lib/
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/var/lib/
(response, content) = self._conn_
File "/var/lib/
conn.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/var/lib/
sock.
File "<string>", line 1, in settimeout
TypeError: a float is required
should have included ...
This is running netbook remix alpha 5, fully updated.