Bug 990296

Summary: [abrt] smbios-utils-python-2.2.28-6.fc17: codecs.py:351:write:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Dave Ulrick <d-ulrick>
Component: libsmbiosAssignee: Michael E Brown <mebrown>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: d-ulrick, mebrown, praveen_paladugu, srinivas_g_gowda, vwfoxguru
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:99ddf243a45b7a5184ad94371669b7c5c9d63492
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-01 04:46:14 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:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Dave Ulrick 2013-07-30 20:06:42 UTC
Description of problem:
Ran 'smbios-token-ctl' as root

Version-Release number of selected component:
smbios-utils-python-2.2.28-6.fc17

Additional info:
cmdline:        /usr/bin/python /usr/sbin/smbios-token-ctl
dso_list:       python-libs-2.7.3-7.2.fc17.x86_64
executable:     /usr/sbin/smbios-token-ctl
kernel:         3.9.8-100.fc17.x86_64
last_occurrence: 1375214701
runlevel:       N 5
uid:            0
ureports_counter: 1

Truncated backtrace:
codecs.py:351:write:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/sbin/smbios-token-ctl", line 478, in <module>
    sys.exit( main() )
  File "/usr/sbin/smbios-token-ctl", line 385, in main
    dumpTokens(tokenTable, tokenXlator, options)
  File "/usr/sbin/smbios-token-ctl", line 243, in dumpTokens
    cli.wrap(translatedToken.description, indent=len(desc), first_line_start=len(desc))
  File "/usr/share/smbios-utils/cli.py", line 111, in wrap
    sys.stdout.write(c)
  File "/usr/lib64/python2.7/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

Local variables in innermost frame:
self: <open file '<stdout>', mode 'w' at 0x7f757e8f11e0>
object: '\xe2'

Comment 1 Dave Ulrick 2013-07-30 20:06:45 UTC
Created attachment 780826 [details]
File: backtrace

Comment 2 Dave Ulrick 2013-07-30 20:06:48 UTC
Created attachment 780827 [details]
File: core_backtrace

Comment 3 Dave Ulrick 2013-07-30 20:06:51 UTC
Created attachment 780828 [details]
File: environ

Comment 4 Fedora End Of Life 2013-08-01 04:46:18 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Scott Williams 2015-07-09 21:35:41 UTC
Still a bug in Fedora 22, apparently.  I've reported it with a workaround here: https://bugzilla.redhat.com/show_bug.cgi?id=1235061