Bug 539515 - traceback triggered by repo._grabfunc = NoneType
Summary: traceback triggered by repo._grabfunc = NoneType
Keywords:
Status: CLOSED DUPLICATE of bug 538118
Alias: None
Product: Fedora
Classification: Fedora
Component: preupgrade
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-20 13:09 UTC by Jon Burgess
Modified: 2014-01-21 23:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-20 15:53:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
full console output from preupgrade (3.82 KB, text/plain)
2009-11-20 13:09 UTC, Jon Burgess
no flags Details

Description Jon Burgess 2009-11-20 13:09:21 UTC
Created attachment 372483 [details]
full console output from preupgrade

Description of problem:
Tried running preupgrade on F11. Got part way through before the program exitted and a traceback was on the console

Version-Release number of selected component (if applicable):
preupgrade-1.1.3-1.fc11.noarch
yum-3.2.24-2.fc11.noarch

How reproducible:
Don't know. Suspect it depends on which repos are enabled

Steps to Reproduce:
1. Run preupgrade
2. select f12 for upgrade
3. click next a few times
  
Actual results:
Traceback (most recent call last):
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 773, in <module>
    widgets = PreUpgradeGtk()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 376, in __init__
    self._do_main()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 259, in _do_main
    self.main_preupgrade()
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 436, in main_preupgrade
    download_progressbar=self.dnlProgress)
  File "/usr/lib/python2.6/site-packages/preupgrade/__init__.py", line 130, in setup
    self.complete_repo_setup()
  File "/usr/lib/python2.6/site-packages/preupgrade/__init__.py", line 328, in complete_repo_setup
    repo._grabfunc.opts.user_agent = __user_agent__
AttributeError: 'NoneType' object has no attribute 'opts'


Expected results:


Additional info:

Full output showing the list of repos in attachment

This is the second time I tried running preupgrade. I was initially running version 1.1.2-1.fc11 and found that it had some issues with my /boot raid1 setup (it said it had finished without actually downloading any packages). I found bug 533545 which mentions this is unsupported and suggests this new version should reject this config. I downloaded from koji and got the error above, it did not get to the point of rejecting the raid setup.

Comment 1 Will Woods 2009-11-20 15:53:18 UTC

*** This bug has been marked as a duplicate of bug 538118 ***


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