Description of problem: Repoquery throws a UnicodeDecodeError with the --changelog switch. For example: repoquery --changelog NetworkManager-pptp Traceback (most recent call last): File "/usr/bin/repoquery", line 857, in <module> main(sys.argv) File "/usr/bin/repoquery", line 853, in main repoq.runQuery(regexs) File "/usr/bin/repoquery", line 501, in runQuery print pkg.doQuery(oper) File "/usr/lib/python2.5/codecs.py", line 303, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 10: ordinal not in range(128) This doesn't seem to be limited to that specific package, I also tested with the kernel package with similar results. Version-Release number of selected component (if applicable): yum-utils-1.1.19-1.fc10.noarch How reproducible: Always Steps to Reproduce: 1. Do a "repoquery --changelog" query Actual results: UnicodeDecodeError Expected results: Repoquery should show the changelog
LANG set to fi_FI.utf8, I assume? replicate with: LANG=fi_FI.utf8 repoquery --changelog NetworkManager-pptp
(In reply to comment #1) > LANG set to fi_FI.utf8, I assume? Yes. > LANG=fi_FI.utf8 repoquery --changelog NetworkManager-pptp Same error, but works with LANG=C.
Reproducible on F10 too, fixed upstream
Works on F11 now.