Bug 611830 - [abrt] crash in yum-3.2.27-3.fc12: yumcommands.py:1353:_out:UnicodeEncodeError: 'ascii' codec can't encode characters in position 35-43: ordinal not in range(128)
[abrt] crash in yum-3.2.27-3.fc12: yumcommands.py:1353:_out:UnicodeEncodeErro...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
12
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
abrt_hash:2329d9d4
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-06 11:32 EDT by Dematron
Modified: 2014-01-21 18:15 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-06 12:01:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (1.08 KB, text/plain)
2010-07-06 11:32 EDT, Dematron
no flags Details

  None (edit)
Description Dematron 2010-07-06 11:32:33 EDT
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: /usr/bin/python /usr/bin/yum check
component: yum
executable: /usr/bin/yum
kernel: 2.6.32.14-127.fc12.i686
package: yum-3.2.27-3.fc12
reason: yumcommands.py:1353:_out:UnicodeEncodeError: 'ascii' codec can't encode characters in position 35-43: ordinal not in range(128)
release: Fedora release 12 (Constantine)

backtrace
-----
yumcommands.py:1353:_out:UnicodeEncodeError: 'ascii' codec can't encode characters in position 35-43: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 254, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 109, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 356, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 1356, in doCommand
    if base._rpmdb_warn_checks(_out, False, chkcmd):
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1150, in _rpmdb_warn_checks
    out(prob)
  File "/usr/share/yum-cli/yumcommands.py", line 1353, in _out
    print x
UnicodeEncodeError: 'ascii' codec can't encode characters in position 35-43: ordinal not in range(128)

Local variables in innermost frame:
x: <yum.rpmsack.RPMDBProblemDuplicate instance at 0xb04788c>
Comment 1 Dematron 2010-07-06 11:32:37 EDT
Created attachment 429809 [details]
File: backtrace
Comment 2 James Antill 2010-07-06 12:01:38 EDT
This should be fixed in rawhide, not sure if F-12 will get a backport.

You can work around it with: LANG=C yum check

Note You need to log in before you can comment on or make changes to this bug.