Description of problem:
Software Installer fails to install packages in gui mode, after rpm file icon is
clicked over with mouse. bugzilla output is the result.
Version-Release number of selected component (if applicable):
unknown: FC7 test 3 from live-cd; built to gaming/multimedia platform with devel
Click #1 mouse-button when cursor is over file icon (in this test-case, rpm for
freshrpms' mplayer pkg). does the same for any rpms downloaded with the
package-installer prompt selected, as well, under firefox, or seamonkey
Steps to Reproduce:
2.or select default Package Installer on prompt during download
Actual results:buzilla crash output similar to below
Expected results:normal rpm check, dep/conflict check, trans check,
Component: Software Installer
system-install-packages:126:_populateLocalPackages:NameError: global name 'rpm'
is not defined
Traceback (most recent call last):
File "/usr/sbin/system-install-packages", line 346, in <module>
File "/usr/sbin/system-install-packages", line 342, in main
File "/usr/sbin/system-install-packages", line 332, in run
File "/usr/sbin/system-install-packages", line 94, in doRefresh
File "/usr/sbin/system-install-packages", line 275, in populatePackages
File "/usr/sbin/system-install-packages", line 126, in _populateLocalPackages
if po.hdr[rpm.RPMTAG_SOURCEPACKAGE] == 1: # ugh.
NameError: global name 'rpm' is not defined
Local variables in innermost frame:
self: <__main__.SinglePackageInstaller object at 0x87af20c>
po: mplayer - 1.0-0.34.rc1try2.fc6.i386
I get the very same results trying to install different packages.
(Also, should severity really be "low" for something this visible?)
*** This bug has been marked as a duplicate of 236142 ***