Bug 1382893

Summary: [abrt] dnfdaemon: misc.py:170:checksum:dnf.exceptions.MiscError: Error opening file for checksum: /home/support/Downloads/teamviewer_11.0.57095.i686.rpm
Product: [Fedora] Fedora Reporter: Lyubo Petrov <lyubo.petrov>
Component: dnfdaemonAssignee: Neal Gompa <ngompa13>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: besser82, tla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/103aea2d31477f9de03fb02cf2aafb4eb8b7730b
Whiteboard: abrt_hash:2e4ce22d7f24e06116856ffe7c904e959846e4e6;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-14 05:32:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Lyubo Petrov 2016-10-08 06:13:31 UTC
Version-Release number of selected component:
dnfdaemon-0.3.16-1.fc24

Additional info:
reporter:       libreport-2.7.2
cmdline:        /usr/bin/python3 /usr/share/dnfdaemon/dnfdaemon-system
executable:     /usr/share/dnfdaemon/dnfdaemon-system
kernel:         4.5.5-300.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
misc.py:170:checksum:dnf.exceptions.MiscError: Error opening file for checksum: /home/support/Downloads/teamviewer_11.0.57095.i686.rpm

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/yum/misc.py", line 167, in checksum
    with open(file, 'rb', CHUNK) as fo:
FileNotFoundError: [Errno 2] No such file or directory: '/home/support/Downloads/teamviewer_11.0.57095.i686.rpm'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 413, in callback
    self._instCloseFile(  bytes, total, h )
  File "/usr/lib/python3.5/site-packages/dnf/yum/rpmtrans.py", line 476, in _instCloseFile
    pid = self.base.history.pkg2pid(pkg)
  File "/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 875, in pkg2pid
    return self._apkg2pid(po, create)
  File "/usr/lib/python3.5/site-packages/dnf/yum/history.py", line 857, in _apkg2pid
    csum = po.returnIdSum()
  File "/usr/lib/python3.5/site-packages/dnf/package.py", line 186, in returnIdSum
    (chksum_type, chksum) = self.chksum
  File "/usr/lib/python3.5/site-packages/dnf/package.py", line 52, in chksum
    chksum_val = dnf.yum.misc.checksum(chksum_type, self.location)
  File "/usr/lib/python3.5/site-packages/dnf/yum/misc.py", line 170, in checksum
    raise MiscError('Error opening file for checksum: %s' % file)
dnf.exceptions.MiscError: Error opening file for checksum: /home/support/Downloads/teamviewer_11.0.57095.i686.rpm

Local variables in innermost frame:
CHUNK: 65536
datasize: None
sumtype: 'sha256'
file: '/home/support/Downloads/teamviewer_11.0.57095.i686.rpm'

Comment 1 Lyubo Petrov 2016-10-08 06:13:36 UTC
Created attachment 1208290 [details]
File: backtrace

Comment 2 Lyubo Petrov 2016-10-08 06:13:37 UTC
Created attachment 1208291 [details]
File: environ

Comment 3 Fedora Admin XMLRPC Client 2017-03-22 10:11:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2017-03-22 10:21:09 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Björn 'besser82' Esser 2017-06-14 05:32:45 UTC
Closing since it doesn't affect a package from official repos.