Comment 7 for bug 1391673

Revision history for this message
Sergiu Bivol (sergiu-bivol) wrote :

Same here, with profile „Microsoft Windows 7 (or later)”.
---------------------------------------
Unable to complete install: 'global name 'fetcher' is not defined'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1820, in do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 384, in start_install
    self._prepare_install(meter, dry)
  File "/usr/share/virt-manager/virtinst/guest.py", line 277, in _prepare_install
    util.make_scratchdir(self.conn, self.type))
  File "/usr/share/virt-manager/virtinst/installer.py", line 201, in prepare
    self._prepare(guest, meter, scratchdir)
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 442, in _prepare
    dev = self._prepare_cdrom_url(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/distroinstaller.py", line 341, in _prepare_cdrom_url
    store = urlfetcher.getDistroStore(guest, fetcher)
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 338, in getDistroStore
    if store.isValidStore():
  File "/usr/share/virt-manager/virtinst/urlfetcher.py", line 960, in isValidStore
    elif fetcher.hasFile("initrd.gz") and fetcher.hasFile("linux"):
NameError: global name 'fetcher' is not defined