Bug 815

Summary: Available packages scan
Product: [Retired] Red Hat Linux Reporter: seanh1
Component: glintAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-01-13 22:20:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description seanh1 1999-01-13 06:38:45 UTC
No matter what directory I enter in the configuration box
and no matter how many times I quit and reload Glint, the
scan for available packages fails. I've tried useing the
cdrom (/mnt/cdrom) dir and several local directories which
contain rpm files I have downloaded, but I get the same
error everytime. The scan window pops up and then just sits
there. Anyway, I hope this is not old news. I usually try to
solve these little setbacks myself, but I have no experiance
with python and can't find any reference to my problem
anywhere else.
By using an xterm to launch Glint I was able to retrieve
this as output from the error... Maybe it will help.

In this case I set the configuration to /var/lib/rpm
There are several RedHat rpm's here as well as rpm's I
downloaded from the net.

<xterm output>

Exception in Tkinter callback
Traceback (innermost last):
  File
"/var/tmp/python-root/usr/lib/python1.5/lib-tk/Tkinter.py",
line 752, in __call__
    return apply(self.func, args)
  File "./glint.py", line 62, in available
    availablePackageSet = PackagePathSet(currentPackagePath)
  File "./packageset.py", line 157, in __init__
    self.setPath(path)
  File "./packageset.py", line 148, in setPath
    self.addPackage(package)
  File "./packageset.py", line 40, in addPackage
    self.packages[package.getLabel()] = package
  File "./package.py", line 138, in getLabel
    return (self.getName() + ":" + self.getVersion() + ":" +
  File "./package.py", line 116, in getName
    return self.h[rpm.RPMTAG_NAME]
AttributeError: h

<end xterm output>

ps.. Other than the above annoyance [just an oppurtunity to
learn command line rpm! ;-} ] I am thouroughly pleased with
your particular flavour of Linux. Although I got my copy of
RedHat 5.1 from a friend, I am definately going to buy a
copy for myself (as soon as personal economics allow that
is!!) THANX!!!
Sean M Henderson
Toronto Ontario Canada

Comment 1 Jay Turner 1999-01-13 22:20:59 UTC
This was a known problem with Glint shipped with 5.1 We have posted an
update to our web site at
http://www.redhat.com/support/docs/rhl/rh51-errata-general.html#glint.
Please obtain this package and upgrade. This should hopefully solve
the problem you are having.