python3 incompatibility using the python-ironicclient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Invalid
|
Medium
|
Unassigned | ||
Newton |
Won't Fix
|
High
|
Jay Faulkner | ||
ironic-python-agent |
Fix Released
|
High
|
Tuan | ||
Newton |
Won't Fix
|
High
|
Tuan | ||
python-ironicclient |
Fix Released
|
High
|
Maxime Belanger |
Bug Description
In python3, when I execute the following code I get "I shouldn't see this"
from ironicclient import client
from ironicclient.
kwargs = {'os_auth_token': 'some_bad_token',
ironic = client.
Traceback (most recent call last):
ironic.
File "/Users/
return self._list(
File "/Users/
resp, body = self.api.
File "/Users/
resp, body_iter = self._http_
File "/Users/
return func(self, url, method, **kwargs)
File "/Users/
body_str = ''.join([chunk for chunk in body_iter])
TypeError: sequence item 0: expected str instance, bytes found
Changed in python-ironicclient: | |
assignee: | nobody → Marc Aubry (maubry-i) |
status: | New → In Progress |
description: | updated |
Changed in python-ironicclient: | |
status: | Incomplete → In Progress |
importance: | Undecided → High |
Changed in python-ironicclient: | |
status: | In Progress → Fix Committed |
Changed in python-ironicclient: | |
status: | Fix Committed → In Progress |
Changed in python-ironicclient: | |
assignee: | Marc Aubry (maubry-i) → Maxime Belanger (mbelanger) |
Changed in ironic-python-agent: | |
assignee: | nobody → Tuan (tuanla) |
Changed in ironic-python-agent: | |
importance: | Undecided → Medium |
Changed in ironic: | |
assignee: | nobody → Ramamani Yeleswarapu (ramamani-yeleswarapu) |
Changed in ironic: | |
assignee: | Ramamani Yeleswarapu (ramamani-yeleswarapu) → nobody |
Changed in ironic: | |
status: | Triaged → Invalid |
Please provide an exact traceback you're getting without "except TypeError"