the trace back has many stack calls. The error reside in comps.py line 50
name = h[rpm.RPMTAG_NAME]
First of all I have to say that I was trying to install from hardrive.
I try to debug the problem from the traceback. Being a newie with python
I had to poke around. I discovered that object 358 in the hdlist was
unsubscriptable the reason is!!!
object 358 was ls-IR (which should not have been there in the first place)
I found that there was an uncommented line in hardrives.py in the readHeaders
if (n[len(n) - 4:] == '.rpm'):
I tried it with no avail!!!
I added this other line thinking it would definately work
if (n[0-4] === 'ls-IR'): continue
well I rename both ls-IR and ls-IR.gz and move them up one dir
that seem to have cure the sore.... Not pretty but lucky.
The problem reside in the following script:
It try to use all of the file in:
What happens is that the program thinks that all the files in that DIR are RPMS
but ls-dir and ls-dir.gz aren't. Originally ih the harddrive.py script they
to filter on the .rpm but it is commented out.
1. My quick and dirty solution is to leave only rpm files in \linux\i386
So I moved ls-IR and ls-IR.gz elsewhere.
2. Optimum solution would be to uncomment the if statement and recompiled the
I am not a python user so I did not venture here at all.
Closing out this bug as the problem is indeed that there are non-RPM files in
the /RPMS directory. We have made the error handling better for the next
release, so you should not have problems like this again.