Bug 815 - Available packages scan
Summary: Available packages scan
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glint
Version: 5.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-01-13 06:38 UTC by seanh1
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 1999-01-13 22:20:37 UTC
Embargoed:


Attachments (Terms of Use)

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.


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