Bug 1221860 - [abrt] python-dnf: debuginfo-install.py:75:_pkgname_src:AttributeError: 'NoneType' object has no attribute 'replace'
Summary: [abrt] python-dnf: debuginfo-install.py:75:_pkgname_src:AttributeError: 'None...
Keywords:
Status: CLOSED DUPLICATE of bug 1215154
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2b88634df65cba1d3b0503854cd...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 05:10 UTC by 汪明衡
Modified: 2015-05-15 17:18 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-15 17:18:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.24 KB, text/plain)
2015-05-15 05:10 UTC, 汪明衡
no flags Details
File: environ (2.04 KB, text/plain)
2015-05-15 05:10 UTC, 汪明衡
no flags Details

Description 汪明衡 2015-05-15 05:10:29 UTC
Version-Release number of selected component:
python-dnf-0.6.5-1.fc22

Additional info:
reporter:       libreport-2.5.1
cmdline:        /usr/bin/python -OO /bin/dnf-2 debuginfo-install glibc-2.21-5.fc22
dso_list:       python-dnf-plugins-core-0.1.6-3.fc22.noarch
executable:     /bin/dnf-2
kernel:         3.18.7-200.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
debuginfo-install.py:75:_pkgname_src:AttributeError: 'NoneType' object has no attribute 'replace'

Traceback (most recent call last):
  File "/bin/dnf-2", 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 185, 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 134, in _main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1071, in run
    return self.command.run(self.base.extcmds)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/debuginfo-install.py", line 70, in run
    self._di_install(pkg)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/debuginfo-install.py", line 102, in _di_install
    srcname = self._pkgname_src(package)
  File "/usr/lib/python2.7/site-packages/dnf-plugins/debuginfo-install.py", line 75, in _pkgname_src
    name = package.sourcerpm.replace("-{}.src.rpm".format(package.evr), "")
AttributeError: 'NoneType' object has no attribute 'replace'

Local variables in innermost frame:
package: <hawkey.Package object id 70098, glibc-2.21-5.fc22.src, fedora-source>

Comment 1 汪明衡 2015-05-15 05:10:33 UTC
Created attachment 1025684 [details]
File: backtrace

Comment 2 汪明衡 2015-05-15 05:10:35 UTC
Created attachment 1025685 [details]
File: environ

Comment 3 Honza Silhan 2015-05-15 17:18:34 UTC
"dnf update dnf-plugins-core" ;)

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


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