Bug 1309438

Summary: [abrt] dnf: needs_restarting.py:106:smap2opened_file:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 148: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Flo H. <emailtoflorian>
Component: dnf-plugins-coreAssignee: rpm-software-management
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jsilhan, mluscon, packaging-team-maint, pnemade, RadekHolyPublic, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2bfcc16437ef545ed36ff0c2d7bd175ffb1467b5
Whiteboard: abrt_hash:ca926bb4d9ffdcc0731138380cddf7d90892fa9b;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:43:53 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: dnf-makecache.log
none
File: dso_list
none
File: environ none

Description Flo H. 2016-02-17 20:00:01 UTC
Description of problem:
sudo dnf needs-restarting triggered this error

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

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/dnf needs-restarting -u
executable:     /usr/bin/dnf
kernel:         4.3.4-200.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

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

Traceback (most recent call last):
  File "/usr/bin/dnf", line 58, in <module>
    main.user_main(sys.argv[1:], exit_code=True)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 174, in user_main
    errcode = main(args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 60, in main
    return _main(base, args)
  File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 112, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1095, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/needs_restarting.py", line 199, in run
    for ofile in list_opened_files(uid):
  File "/usr/lib/python2.7/site-packages/dnf-plugins/needs_restarting.py", line 51, in list_opened_files
    ofile = smap2opened_file(pid, line)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/needs_restarting.py", line 106, in smap2opened_file
    slash = line.find('/')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 148: ordinal not in range(128)

Local variables in innermost frame:
line: '7fd354150000-7fd35416d000 r--p 00000000 fd:03 21104104                   /home/florian/Dokumente/_Alt-sortieren/ASA 2007/Projekt_CARUARU_07/disserta\xc3\xa7\xc3\xa3o esther/a.pdf\n'
pid: 2752

Comment 1 Flo H. 2016-02-17 20:00:08 UTC
Created attachment 1128002 [details]
File: _var_log_dnf.log

Comment 2 Flo H. 2016-02-17 20:00:09 UTC
Created attachment 1128003 [details]
File: backtrace

Comment 3 Flo H. 2016-02-17 20:00:10 UTC
Created attachment 1128004 [details]
File: dnf-makecache.log

Comment 4 Flo H. 2016-02-17 20:00:11 UTC
Created attachment 1128005 [details]
File: dso_list

Comment 5 Flo H. 2016-02-17 20:00:12 UTC
Created attachment 1128006 [details]
File: environ

Comment 6 Honza Silhan 2016-02-22 12:47:10 UTC
Thanks for the report.

Comment 7 Fedora Admin XMLRPC Client 2016-07-08 09:24:58 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora End Of Life 2016-07-19 18:43:53 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

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