Bug 807619
Summary: | useless traceback instead error-messages | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Harald Reindl <h.reindl> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | ffesti, james.antill, maxamillion, pmatilai, tim.lauridsen, zpavlas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-04-05 09:14:29 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Harald Reindl
2012-03-28 10:54:13 UTC
I can't reproduce this bug. to_utf8() didn't fail, since it's frame is not included in the traceback. So, it must have returned an utf8-encoded str. 'print' then tries to *decode* it from ascii to unicode and fails, obviously. But I have no idea why Python does that. Perhaps there's some implicit str => unicode conversion? # this is what we want to do $ python -c "print u'\u011b'.encode('utf8')" # this is what Python does $ python -c "print u'\u011b'.encode('utf8') + u''" What locale setting are you using? Which Python version? it was a F15 with recent updates german locale it happened by "yum --releasever=16 distro-sync" on a machine with only internal repos which had clamav-packages which are removed from the repo the strange is taht dependencies are completly solved and this happen while depsolve after confirm / download "yum remove clamav\*" solved the issue but i remember times where "depsolve" gave useful output in such cases commit 74d21178642387998245f49d47353f3f5a84aef2 |