Bug 923399 - [abrt] createrepo-0.9.9-11.fc17: packages.py:2146:_get_header_byte_range:IOError: [Errno 2] No such file or directory: '/tmp/tmpAGpLNi/test_cancel_publish/temp_link-338.rpm'
Summary: [abrt] createrepo-0.9.9-11.fc17: packages.py:2146:_get_header_byte_range:IOEr...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9bd1dbb382f20ce795e550e93b5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-19 18:32 UTC by Sayli Karmarkar
Modified: 2015-03-23 01:11 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-20 08:13:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.18 KB, text/plain)
2013-03-19 18:32 UTC, Sayli Karmarkar
no flags Details
File: core_backtrace (643 bytes, text/plain)
2013-03-19 18:32 UTC, Sayli Karmarkar
no flags Details
File: smolt_data (3.10 KB, text/plain)
2013-03-19 18:32 UTC, Sayli Karmarkar
no flags Details

Description Sayli Karmarkar 2013-03-19 18:32:22 UTC
Version-Release number of selected component:
createrepo-0.9.9-11.fc17

Additional info:
cmdline:        /usr/bin/python -tt /usr/share/createrepo/worker.py --pkgoptions=_reldir=/tmp/tmpAGpLNi/test_cancel_publish --pkgoptions=_collapse_libc_requires=True --pkgoptions=_cachedir=None --pkgoptions=_baseurl=None --globalopts=clog_limit=10 --globalopts=sumtype=sha --tmpmdpath=/tmp/tmpPnuHEh/0 --pkglist=/tmp/tmpPnuHEh/pkglist-0
executable:     /usr/share/createrepo/worker.py
kernel:         3.5.3-1.fc17.x86_64
uid:            0

Truncated backtrace:
packages.py:2146:_get_header_byte_range:IOError: [Errno 2] No such file or directory: '/tmp/tmpAGpLNi/test_cancel_publish/temp_link-338.rpm'

Traceback (most recent call last):
  File "/usr/share/createrepo/worker.py", line 111, in <module>
    main(sys.argv[1:])
  File "/usr/share/createrepo/worker.py", line 94, in main
    pri.write(pkg.xml_dump_primary_metadata())
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1315, in xml_dump_primary_metadata
    msg += misc.to_unicode(self._dump_format_items())
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1175, in _dump_format_items
    msg +="""    <rpm:header-range start="%s" end="%s"/>""" % (self.hdrstart,
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 2189, in <lambda>
    hdrstart = property(fget=lambda self: self._get_header_byte_range()[0])
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 2146, in _get_header_byte_range
    fo = open(self.localpath, 'r')
IOError: [Errno 2] No such file or directory: '/tmp/tmpAGpLNi/test_cancel_publish/temp_link-338.rpm'

Local variables in innermost frame:
self: <CreateRepoPackage : pulp-large_1mb_test-packageA-0.1.1-1.fc14.noarch (0x16a0d10)>

Comment 1 Sayli Karmarkar 2013-03-19 18:32:26 UTC
Created attachment 712881 [details]
File: backtrace

Comment 2 Sayli Karmarkar 2013-03-19 18:32:30 UTC
Created attachment 712882 [details]
File: core_backtrace

Comment 3 Sayli Karmarkar 2013-03-19 18:32:33 UTC
Created attachment 712883 [details]
File: smolt_data

Comment 4 Zdeněk Pavlas 2013-03-20 08:13:46 UTC
Can't do anything without a createrepo commandline, or some hint what was going on..  Seems that you've copied some RPMs to /tmp and ran createrepo, but the RPMs were unlinked before createrepo finished.


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