Bug 1265210

Summary: [abrt] dnf: needs_restarting.py:101:print_cmd:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 108: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Peter Ludikovsky <darthludi>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, jzeleny, mluscon, packaging-team-maint, pnemade, tim.lauridsen, vmukhame
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bd0b51b8c73185808de6693798755e3984c830d6
Whiteboard: abrt_hash:93cd3efab708f1e62aee499cea0a310e4459507d
Fixed In Version: dnf-1.1.4-1.fc23 dnf-1.1.4-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-30 23:24:18 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: dso_list
none
File: environ none

Description Peter Ludikovsky 2015-09-22 11:45:32 UTC
Description of problem:
Update system
Run dnf needs-restarting

Version-Release number of selected component:
dnf-1.1.1-2.fc22

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python -OO /usr/bin/dnf needs-restarting
executable:     /usr/bin/dnf
kernel:         4.1.6-201.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
needs_restarting.py:101:print_cmd:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 108: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/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 136, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1085, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/needs_restarting.py", line 207, in run
    print_cmd(pid)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/needs_restarting.py", line 101, in print_cmd
    command = ' '.join(command.split('\000'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 108: ordinal not in range(128)

Local variables in innermost frame:
cmdline: u'/proc/1564/cmdline'
pid: 1564
command: '/usr/lib64/xfce4/panel/wrapper-1.0\x00/usr/lib64/xfce4/panel/plugins/libactions.so\x002\x0018874400\x00actions\x00Aktionskn\xc3\xb6pfe\x00Abmelden, sperren oder andere Systemaktionen\x00\x00'
cmdline_file: <closed file u'/proc/1564/cmdline', mode 'r' at 0x7fa16788cc90>

Comment 1 Peter Ludikovsky 2015-09-22 11:45:37 UTC
Created attachment 1075786 [details]
File: backtrace

Comment 2 Peter Ludikovsky 2015-09-22 11:45:38 UTC
Created attachment 1075787 [details]
File: dso_list

Comment 3 Peter Ludikovsky 2015-09-22 11:45:40 UTC
Created attachment 1075788 [details]
File: environ

Comment 4 Honza Silhan 2015-09-30 08:56:09 UTC
Thanks for the report.

Comment 5 Fedora Update System 2015-11-16 19:07:50 UTC
dnf-plugins-core-0.1.14-1.fc23 dnf-1.1.4-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-fe6e8b885b

Comment 6 Fedora Update System 2015-11-18 16:26:47 UTC
dnf-1.1.4-1.fc22 dnf-plugins-core-0.1.14-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-6137119aff

Comment 7 Fedora Update System 2015-11-18 16:52:37 UTC
dnf-1.1.4-1.fc23, dnf-plugins-core-0.1.14-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update dnf dnf-plugins-core'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-fe6e8b885b

Comment 8 Fedora Update System 2015-11-19 09:52:38 UTC
dnf-1.1.4-1.fc23, dnf-plugins-core-0.1.14-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-11-19 14:51:42 UTC
dnf-1.1.4-1.fc22, dnf-plugins-core-0.1.14-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update dnf-plugins-core dnf'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-6137119aff

Comment 10 Fedora Update System 2015-11-30 23:23:46 UTC
dnf-1.1.4-1.fc22, dnf-plugins-core-0.1.14-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.