Getting the following error when the vendor of rpm contains latin character.
Description of problem:
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.6/json/__init__.py", line 230, in dumps
File "/usr/lib64/python2.6/json/encoder.py", line 367, in encode
chunks = list(self.iterencode(o))
File "/usr/lib64/python2.6/json/encoder.py", line 309, in _iterencode
for chunk in self._iterencode_dict(o, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 275, in _iterencode_dict
for chunk in self._iterencode(value, markers):
File "/usr/lib64/python2.6/json/encoder.py", line 294, in _iterencode
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 9: invalid start byte
0xf6 is 'ö' in latin character.
json.dumps(obj, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, encoding="utf-8", default=None, sort_keys=False, **kw)
Based on the above documentation, the default encoding for json.dumps is 'utf8'.
What version of subscription-manager and python-rhsm are being used here?
(In reply to Chris Snyder from comment #3)
> What version of subscription-manager and python-rhsm are being used here?
Checking sosreport from RHEL6 client in attached case, these packages are installed:
Hello everybody I am wondering how a simple testscenarion looks like to verify this case.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.