Fails to generate oauth token correctly when run in python3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
New
|
Undecided
|
Unassigned |
Bug Description
This traceback arises when there is a problem with an oauth token in python3:
Traceback (most recent call last):
File "/var/lib/
run_
File "/var/lib/
sys.
File "/var/lib/
run_
File "/var/lib/
body(
File "/var/lib/
logging.
File "/var/lib/
dest=
File "/var/lib/
cache[key] = obj(*args, **kwargs)
File "/var/lib/
series = self._series
File "/var/lib/
self.
File "/var/lib/
creator = lp.people[creator]
File "/usr/lib/
shim_
File "/usr/lib/
representation = self._root.
File "/usr/lib/
response, content = self._request(url, extra_headers=
File "/usr/lib/
str(url), method=method, body=data, headers=headers)
File "/usr/lib/
url, method=method, body=body, headers=headers)
File "/usr/lib/
(response, new_content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/
return self.retry_
File "/usr/lib/
if (self._
File "/usr/lib/
(content.
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Would be nice if this worked in python3 as otherwise I'm using the rest of the API without issue.