Bug 1082335
Summary: | units_cur fails | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Tarenskeen <m.tarenskeen> | ||||
Component: | units | Assignee: | Kamil Dudka <kdudka> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 20 | CC: | kdudka | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | units-2.02-3.fc20 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1151997 (view as bug list) | Environment: | |||||
Last Closed: | 2014-04-15 15:34:20 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1151997 | ||||||
Attachments: |
|
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) ??? |
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?