Red Hat Bugzilla – Bug 176754
"Reset Repository Cache" fails with Python error
Last modified: 2007-11-30 17:11:20 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050923 Epiphany/1.6.5
Description of problem:
YumEx seems to work as normal, but when I go to reset the repository cache using the option in the "Tools" main menu, it gives me the following error in the Output Window:
Traceback (most recent call last):
File "/usr/share/yumex/yumex.py", line 308, in on_menu
self.errorlog(0,_('%s was not deleted') % item)
AttributeError: MainApplication instance has no attribute 'errorlog'
This seems to be easily worked-around by selecting the "Repos" window and hitting the "Refresh" button.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run `yum install yumex` as root.
2. Run yumex as root.
3. Click the "Tools" menu, then select the "Reset Repository Cache" option.
Actual Results: The error message, above, appeared and YumEx went back to normal operations, otherwise.
Expected Results: I expected YumEx to refresh the repository cache.
This is on updated Fedora Core 4 box.
I will look into it.
It is fixed in CVS in 0.44-02 (yumex_044) & 0.45-02 (head), it will be released
Thanks very much. :)