Bug 540549 - Python error
Summary: Python error
Keywords:
Status: CLOSED DUPLICATE of bug 538118
Alias: None
Product: Fedora
Classification: Fedora
Component: preupgrade
Version: 11
Hardware: i686
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-23 16:27 UTC by Martin Ellison
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-23 16:38:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Ellison 2009-11-23 16:27:34 UTC
Description of problem: preupgrade gives a python error


Version-Release number of selected component (if applicable): latest for F-11


How reproducible: occurs for me now everytime I run preupdate


Steps to Reproduce:
1. run preupdate
  
Actual results: run through cleanly to reboot button (then reboot and install)


Expected results: produces error messages. Skips most of preupgrade steps. Shows reboot button but on reboot anaconda does not work properly.


Additional info:

previously had run preupdate and got the not-enough-space-on-/boot message

now have 300MB on /boot but it appears not to make any difference

anaconda fails as it cannot configure network

Python error text:

unknown metadata being downloaded: metalink
Traceback (most recent call last):
  File "/usr/share/preupgrade/preupgrade-gtk.py", line 240, in on_assistant_apply
    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'

Comment 1 seth vidal 2009-11-23 16:38:49 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.