Description of problem: Getting this stack trace consistently: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dnf/yum/rpmtrans.py", line 388, in callback self._instProgress( bytes, total, h ) File "/usr/lib/python2.7/site-packages/dnf/yum/rpmtrans.py", line 461, in _instProgress self.total_actions) File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 2399, in event percent, process, pkgname, wid1) File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 2417, in _out_event pkgname=pkgname, wid1=wid1) File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 2449, in _makefmt pnl = exact_width(pkgname) File "/usr/lib/python2.7/site-packages/dnf/i18n.py", line 164, in exact_width return sum(_exact_width_char(c) for c in msg) File "/usr/lib/python2.7/site-packages/dnf/i18n.py", line 164, in <genexpr> return sum(_exact_width_char(c) for c in msg) File "/usr/lib/python2.7/site-packages/dnf/i18n.py", line 138, in _exact_width_char return 2 if unicodedata.east_asian_width(uchar) in ('W', 'F', 'A') else 1 TypeError: must be unicode, not str FATAL ERROR: python callback <bound method RPMTransaction.callback of <dnf.yum.rpmtrans.RPMTransaction object at 0x29424d0>> failed, aborting! Version-Release number of selected component (if applicable): dnf-0.5.3-99.1007.20140710gitab3618e.fc20.noarch librepo-1.7.5-99.1007.20140710gitf9ca1a4.fc20.x86_64 python-hawkey-0.4.18-99.1007.20140710gitec7689b.fc20.x86_64 How reproducible: Always Steps to Reproduce: 1. Run a `dnf --best update -y` 2. 3. Actual results: Crashes with above trace back Expected results: Shouldn't crash Additional info: Using dnf from nightlies repo
Updated using yum to dnf-0.5.3-99.1008.20140711gite42d1de.fc20.noarch Same error persists.
Persists with dnf-0.5.3-99.1009.20140711gite42d1de.fc20.noarch also
Hi, Any hints on a workaround? Is this a locale related thing? I'm trying not to fall back to yum for updates but since dnf is broken, I'm sorta stuck. Thanks for looking into this. Please let me know if there's a patch you'd like me to test. Warm regards, Ankur
Hi Ankur, the bug has been fixed with b86d506 commit. Thanks for testing nightly builds.
(In reply to Jan Silhan from comment #5) > Hi Ankur, the bug has been fixed with b86d506 commit. Thanks for testing > nightly builds. Thanks Jan, the commit probably hasn't hit the nightlies yet. I've just updated to dnf-0.5.3-99.1013.20140714git4d04f86.fc20.noarch and the bug still persists. I'll continue updating dnf over the next few days and confirm when the issue is fixed. Warm regards, Ankur
hawkey-0.4.18-2.fc20, dnf-0.5.4-1.fc20, libsolv-0.6.4-0.git2a5c1c4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/hawkey-0.4.18-2.fc20,dnf-0.5.4-1.fc20,libsolv-0.6.4-0.git2a5c1c4.fc20
hawkey-0.4.18-2.fc20, dnf-0.5.4-1.fc20, libsolv-0.6.4-0.git2a5c1c4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.