Description of problem: Pirut crashes during opening Version-Release number of selected component (if applicable): How reproducible: It happens every time you open it, after the last update. Steps to Reproduce: 1.Open the program 2.It crashes 3. Actual results: Expected results: For pirut to work as it should. Additional info:
Created attachment 282081 [details] Pirut bug report
Thanks for the bug report, Dave. Could you please try downloading this file and copying it to /usr/lib/yum-plugins, and see if that fixes it. http://lmacken.fedorapeople.org/tmp/fastestmirror.py
My computer also had the problem with pirut that is described above, with the same line numbers in the python code. I followed the instructions in Comment #2 after renaming my 'fastestmirror.py' and 'fastestmirror.pyc' files. I was then able to start 'pirut' via the Applications|Add/Remove Software menu item without any errors. My setup is different from the above in that I have a different set of repositories and I am running Fedora 8 on the x86_64 platform. $ rpm -q pirut pirut-1.3.28-1.fc8.noarch $ rpm -q yum-fastestmirror yum-fastestmirror-1.1.9-1.fc8.noarch $ rpm -q yum yum-3.2.8-2.fc8.noarch $ rpm -q rpm rpm-4.4.2.2-7.fc8.x86_64
That seems to answer the question.
*** Bug 426923 has been marked as a duplicate of this bug. ***
This problem has returned with the recent update to the 'yum-fastestmirror' RPM package. At the start of pirut, a python stack traceback is generated with nearly the same line numbers as the originally attached log. I downloaded the suggested fix at http://lmacken.fedorapeople.org/tmp/fastestmirror.py again, and again copied it over the file in /usr/lib/yum-plugins. This again resolved the problem, i.e., pirut starts without error. Here are some relevant details: $ rpm -qf /usr/lib/yum-plugins/fastestmirror.py yum-fastestmirror-1.1.9-2.fc8.noarch $ diff /usr/lib/yum-plugins/fastestmirror.py /tmp/fastestmirror.py 97c97,98 < conduit.info(2, " * %s: %s" % (str(repo), host(repo.urls[0]))) --- > if len(repo.urls): > conduit.info(2, " * %s: %s" % (str(repo), host(repo.urls[0])))
I have just build a yum-utils-1.1.10 there contains an updated fastestmirror.py fixing this issue, it should be hitting updates-testing at next push.
yum-utils-1.1.10-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils'
yum-utils-1.1.10-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils'
yum-utils-1.1.10-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
yum-utils-1.1.10-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.