Bug 1278233

Summary: [abrt] dnf: __init__.py:1020:_makeOutput:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Neil <l4coa3fnjplr>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bugzilla, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/60170274b2ab1108e4cd99f6c2b1df8047c493b7
Whiteboard: abrt_hash:f7eb69fe21f0324012ceff19c05e4d1e3945e4a4;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-09 13:11:50 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: _var_log_dnf.log
none
File: backtrace
none
File: dso_list
none
File: environ none

Description Neil 2015-11-05 02:09:57 UTC
Description of problem:
happened after "dnf system-upgrade" without "download --releasever=23 --best"

Version-Release number of selected component:
dnf-1.1.3-1.fc22

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python -OO /bin/dnf system-upgrade
dnf-makecache.log: -- No entries --
executable:     /bin/dnf
kernel:         4.2.5-201.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
__init__.py:1020:_makeOutput:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128)

Traceback (most recent call last):
  File "/bin/dnf", line 36, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 198, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 117, in _main
    cli.configure(map(ucd, args))
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1033, in configure
    self.command.configure(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 414, in configure
    self.opts = self.parse_args(args)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/system_upgrade.py", line 398, in parse_args
    dnf.cli.commands.err_mini_usage(self.cli, self.cli.base.basecmd)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands/__init__.py", line 52, in err_mini_usage
    txt = cli.cli_commands["help"]._makeOutput(cmd)
  File "/usr/lib/python2.7/site-packages/dnf/cli/commands/__init__.py", line 1020, in _makeOutput
    help_output += "\n\n%s" % summary
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 40: ordinal not in range(128)

Local variables in innermost frame:
help_output: u'system-upgrade [OPCIONES] [download --releasever=VERSION|reboot|clean|log]'
usage: u'[OPCIONES] [download --releasever=VERSION|reboot|clean|log]'
canonical_name: u'system-upgrade'
command: <class 'dnf.plugin.dynamic.system_upgrade.SystemUpgradeCommand'>
summary: 'Preparar el sistema para una nueva versi\xc3\xb3n'

Comment 1 Neil 2015-11-05 02:10:13 UTC
Created attachment 1089934 [details]
File: _var_log_dnf.log

Comment 2 Neil 2015-11-05 02:10:15 UTC
Created attachment 1089935 [details]
File: backtrace

Comment 3 Neil 2015-11-05 02:10:17 UTC
Created attachment 1089936 [details]
File: dso_list

Comment 4 Neil 2015-11-05 02:10:19 UTC
Created attachment 1089937 [details]
File: environ

Comment 5 Honza Silhan 2015-11-09 13:11:50 UTC
Do `dnf upgrade "dnf-command(system-upgrade)" ---disableplugin=system-upgrade`, please. This should be fixed in dnf-plugin-system-upgrade-0.7

*** This bug has been marked as a duplicate of bug 1262082 ***