Bug 416731 - Pirut Crashes During Opening
Summary: Pirut Crashes During Opening
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 8
Hardware: i386
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 426923 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-08 19:10 UTC by Dave
Modified: 2008-01-15 23:12 UTC (History)
4 users (show)

Fixed In Version: 1.1.10-1.fc7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-15 22:53:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Pirut bug report (6.60 KB, text/plain)
2007-12-08 19:10 UTC, Dave
no flags Details

Description Dave 2007-12-08 19:10:56 UTC
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:

Comment 1 Dave 2007-12-08 19:10:56 UTC
Created attachment 282081 [details]
Pirut bug report

Comment 2 Luke Macken 2007-12-10 19:52:45 UTC
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

Comment 3 Mark Harig 2007-12-26 02:04:06 UTC
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


Comment 4 Max Kanat-Alexander 2007-12-28 04:34:14 UTC
That seems to answer the question.

Comment 5 Jeremy Katz 2007-12-28 13:49:10 UTC
*** Bug 426923 has been marked as a duplicate of this bug. ***

Comment 6 Mark Harig 2008-01-03 23:41:11 UTC
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])))


Comment 7 Tim Lauridsen 2008-01-04 12:06:28 UTC
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.


Comment 8 Fedora Update System 2008-01-07 01:16:31 UTC
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'

Comment 9 Fedora Update System 2008-01-07 01:21:10 UTC
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'

Comment 10 Fedora Update System 2008-01-15 22:53:37 UTC
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.

Comment 11 Fedora Update System 2008-01-15 23:12:40 UTC
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.


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