Created attachment 880311 [details] patch to fix units_cur script from units-2.02 Description of problem: running units_cur (as root) gives error Version-Release number of selected component (if applicable): units-2.02-2 How reproducible: always Steps to Reproduce: as root run "units_cur" in a terminal Actual results: Traceback (most recent call last): File "/bin/units_cur", line 88, in <module> outfile.write(outstr) UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 2428: ordinal not in range(128) Expected results: units_cur is a python script in /usr/bin that is supposed to update the file /usr/share/currency.units with the latest exchange rates Additional info: I have created a patch that fixes this error. At the same time it fixes another error message that was revealed after the script was working again: an error message saying "unknown unit 'usdollar'" My patch version of units_cur requires python-django to work. P.S. Can someone report all this upstream?
Thank you for reporting the bug! (In reply to Martin Tarenskeen from comment #0) > P.S. Can someone report all this upstream? It seems to be already fixed upstream. I will backport it for Fedora 20.
units-2.02-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/units-2.02-3.fc20
Package units-2.02-3.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing units-2.02-3.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4619/units-2.02-3.fc20 then log in and leave karma (feedback).
units-2.02-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
units_cur seems to have disappeared in units-2.11 (Fedora 20 21 22) ???