Created attachment 1256425 [details] traceback (encoding error) I receive error message from yum-cron (daily, yum-cron is set to emit message by email) because of encoding error: yum-cron:230:sendMessages:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 76: ordinal not in range(128) This line 230 contains: output = ''.join(self.output) The output is in UTF-8 (and not in ASCII) probably because I'm using cs_CZ.UTF-8 locale. Similar bug has been fixed in the past, see bug #1202680 Traceback is attached.
Created attachment 1256441 [details] a patch to decode unicode I'm not sure if my patch is correct, but traceback is gone.
Good catch! Reassigning bug to "yum" itself, though, since yum-cron isn't a standalone package anymore. Looks like it will be straightforward for the yum guys to fix.
Michal, thanks for the report. Unfortunately, we're no longer releasing any updates to yum in Fedora. It's even gone from Fedora 31 (which is soon to be released). The general recommendation in these cases is to just migrate to dnf.
s/Michal/Milan/ :)
Oh, I apologize. I just noticed that the bug was filed against EPEL (i.e. CentOS-7). That being said, I have created a clone for RHEL-7 where we will track this and possibly fix in an upcoming minor distro update: https://bugzilla.redhat.com/show_bug.cgi?id=1744639 Once that happens, CentOS-7 should receive the patched "yum" build later as well.