Bug 514995 - traceback running createrepo over nfs
Summary: traceback running createrepo over nfs
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-31 19:21 UTC by Dennis Gilmore
Modified: 2016-09-20 02:40 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-27 16:01:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dennis Gilmore 2009-07-31 19:21:23 UTC
while running createrepo over nfs some glitch happened and i got the following traceback.

createrepo -d .
1836/7152 - perl-Net-CIDR-Lite-0.20-5.fc11.src.rpm                              Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 233, in <module>
    main(sys.argv[1:])
  File "/usr/share/createrepo/genpkgmetadata.py", line 207, in main
    mdgen.doPkgMetadata()
  File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 364, in doPkgMetadata
    self.writeMetadataDocs(packages)
  File "/usr/lib/python2.5/site-packages/createrepo/__init__.py", line 527, in writeMetadataDocs
    self.primaryfile.write(po.xml_dump_primary_metadata())
  File "/usr/lib64/python2.5/gzip.py", line 205, in write
    self.fileobj.write( self.compress.compress(data) )
IOError: [Errno 5] Input/output error

Comment 1 seth vidal 2009-08-25 19:33:41 UTC
If you can make this happen at all:
http://skvidal.fedorapeople.org/misc/createrepo-io-error.patch

try this patch out and see if it catches the error better for you.

Comment 2 seth vidal 2009-08-25 19:48:23 UTC
Tested it here with an out-of-space IOError and it worked properly.


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