Bug 959710 - Anaconda crash in Fedora-19-Beta-TC3-x86_64-netinst.iso: AttributeError: 'NoneType' object has no attribute 'split'
Summary: Anaconda crash in Fedora-19-Beta-TC3-x86_64-netinst.iso: AttributeError: 'Non...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e589c402a8288468842f5ff695f...
: 962098 962685 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-05 00:46 UTC by Jay Finger
Modified: 2013-07-01 20:31 UTC (History)
39 users (show)

Fixed In Version: yum-3.4.3-93.fc19
Clone Of:
Environment:
Last Closed: 2013-07-01 20:31:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (654.92 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: anaconda.log (9.50 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: backtrace (897 bytes, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: environ (783 bytes, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: ifcfg.log (734 bytes, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: lsblk_output (1.35 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: nmcli_dev_list (3.38 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: packaging.log (488.42 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: program.log (17.40 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: storage.log (31.25 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details
File: syslog (164.76 KB, text/plain)
2013-05-05 00:46 UTC, Jay Finger
no flags Details

Description Jay Finger 2013-05-05 00:46:27 UTC
Description of problem:
Trying to install Fedora-19-Beta-TC3-x86_64-netinst.iso.  Machine is running in VMWare.

Anaconda initially started with network connection disabled.  I've never seen that before, probably a bug.

I enabled the network connect, and change the hostname.

Then needed to select a software source.  After that completed, I clicked on Software Selection.  Upon select GNOME Desktop I received this crash.
The following was filed automatically by anaconda:
anaconda 19.24-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1084, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
AttributeError: 'NoneType' object has no attribute 'split'

Version-Release number of selected component:
anaconda-19.24-1

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta-TC3\x20x86_64 rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta-TC3

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1084, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 1 Jay Finger 2013-05-05 00:46:31 UTC
Created attachment 743617 [details]
File: anaconda-tb

Comment 2 Jay Finger 2013-05-05 00:46:33 UTC
Created attachment 743618 [details]
File: anaconda.log

Comment 3 Jay Finger 2013-05-05 00:46:35 UTC
Created attachment 743619 [details]
File: backtrace

Comment 4 Jay Finger 2013-05-05 00:46:37 UTC
Created attachment 743620 [details]
File: environ

Comment 5 Jay Finger 2013-05-05 00:46:38 UTC
Created attachment 743621 [details]
File: ifcfg.log

Comment 6 Jay Finger 2013-05-05 00:46:40 UTC
Created attachment 743622 [details]
File: lsblk_output

Comment 7 Jay Finger 2013-05-05 00:46:41 UTC
Created attachment 743623 [details]
File: nmcli_dev_list

Comment 8 Jay Finger 2013-05-05 00:46:43 UTC
Created attachment 743624 [details]
File: packaging.log

Comment 9 Jay Finger 2013-05-05 00:46:45 UTC
Created attachment 743625 [details]
File: program.log

Comment 10 Jay Finger 2013-05-05 00:46:47 UTC
Created attachment 743626 [details]
File: storage.log

Comment 11 Jay Finger 2013-05-05 00:46:48 UTC
Created attachment 743627 [details]
File: syslog

Comment 12 Adam Williamson 2013-05-21 00:20:14 UTC
*** Bug 962098 has been marked as a duplicate of this bug. ***

Comment 13 Adam Williamson 2013-05-21 00:21:01 UTC
*** Bug 962685 has been marked as a duplicate of this bug. ***

Comment 14 Zdeněk Pavlas 2013-05-21 10:13:35 UTC
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
                                                  ^^^^^^^^^^^^^^^^
self.environment is None here.  Yum API groups.has_environment() does not handle this (and I'm not sure it should).  Had has_environment() returned False, anaconda code would raise NoSuchGroup(None).

IMO this should be handled/fixed in the anaconda UI code.

Comment 15 Adam Williamson 2013-05-21 16:01:07 UTC
anaconda side was already planning to fix this, but they rather think yum needs to handle the error condition better too.

Comment 16 Madison Kelly 2013-05-23 17:16:04 UTC
Description of problem:
Just tried to install as a KVM VM on Fedora 18. I did switch networks (wired to wireless) during the initialization of the install.

Version-Release number of selected component:
anaconda-19.25-1

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta-TC4\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta-TC4

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1084, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 17 Zdeněk Pavlas 2013-05-24 08:20:23 UTC
(In reply to Adam Williamson from comment #15)
> anaconda side was already planning to fix this, but they rather think yum
> needs to handle the error condition better too.

IMO groups.has_environment(None) is a nonsense, it's a caller bug.  Of course, it's a trivial +2 patch to return something.  False, since there's no group with such id?  Or True, since None might mean an empty group list?  Make your pick..

Comment 18 Jose Castillo 2013-05-24 15:58:51 UTC
Description of problem:
I hitted this problem while trying to select the C tools in the list of package groups. Nothing else was done other than selecting the language by default.

Version-Release number of selected component:
anaconda-19.28-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1084, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 19 Flavio Leitner 2013-05-29 14:30:36 UTC
Description of problem:
Just trying to install Fedora 19 Beta net iso.
I've selecteddefault language, then Portuguese (brazil) keyboard, clicked on Source, waited it to confirm, selected the disk and then clicked on software selection. I selected Gnome and this happened.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 20 Lukas Brabec 2013-05-30 09:06:49 UTC
Description of problem:
Bug occurs during selection of software in Fedora 19 Beta netinst (selecting Gnome).

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 21 Joseph Pesco 2013-05-31 15:46:44 UTC
Description of problem:
BFO installation failed during the selection of base system.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   repo=http://download.fedoraproject.org/pub/fedora/linux/development/19/i386/os/ initrd=http://download.fedoraproject.org/pub/fedora/linux/releases/test/19-Beta/Fedora/i386/os/images/pxeboot/initrd-PAE.img BOOT_IMAGE=http://download.fedoraproject.org/pub/fedora/linux/releases/test/19-Beta/Fedora/i386/os/images/pxeboot/vmlinuz-PAE 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.i686.PAE
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 688, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 22 Alexander Korsunsky 2013-06-02 18:28:50 UTC
Description of problem:
In Anaconda Installer:
1. Choose "Choose Software"
2. Click on different Desktop environment

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20i386 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.i686
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 23 James Antill 2013-06-03 15:53:52 UTC
 Added workarounds to yum-3.4.3-93.fc19.

Comment 24 Arun S A G 2013-06-06 11:27:20 UTC
Description of problem:
Installer crashed on software selection

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 25 Guillaume Radde 2013-06-07 21:41:47 UTC
Description of problem:
I was running the installer, at the phase where it asked me to select from which package list I wanted to install. I clicked on GNOME Desktop.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 26 Jan Zeleny 2013-06-10 08:15:34 UTC
Note that the update James mentioned in comment 22 is still just a workaround, the fix needs to be done in Anaconda IIUIC.

Comment 27 Gilliotti 2013-06-10 21:24:24 UTC
Description of problem:
The anaconda installer fails everytime I get to the software selection portion of the setup

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=LIVE rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 28 Kjetil T. Homme 2013-06-14 21:16:19 UTC
Description of problem:
it happened just a couple of seconds after the software selection screen appeared.  I hadn't made any input yet.

this was my seconds attempt, so it is reproducible.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 xdriver=vesa nomodeset quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 29 Brian Harrington 2013-06-18 22:07:41 UTC
Description of problem:
Attempting to select Gnome Desktop from the Software Selection subsection.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:UUID=0378-52E9 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 30 Dave Johansen 2013-06-22 04:22:33 UTC
Description of problem:
Clicked on the menu to select the software to install.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20i386 rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.i686
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 31 David Brown 2013-06-24 20:26:25 UTC
Description of problem:
I tried to do an install for a server, I clicked on the software selection and was unable to select anything for a bit until the bug window came up.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Beta\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 32 Rob 2013-07-01 20:17:20 UTC
Description of problem:
Chose network install for Fedora 19. Opened Software slection screen (to add packages) and I got this error and crash.

Version-Release number of selected component:
anaconda-19.30-1

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=LIVE rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.2-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-Beta

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 353, in on_environment_selection_changed
    self.on_environment_toggled(None, model.get_path(itr))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 337, in on_environment_toggled
    for groupid in self.payload.environmentGroups(self.environment):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1083, in environmentGroups
    if not groups.has_environment(environmentid):
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 650, in has_environment
    exists = self.return_environments(environmentid)
  File "/usr/lib/python2.7/site-packages/yum/comps.py", line 669, in return_environments
    for item in env_pattern.split(','):
AttributeError: 'NoneType' object has no attribute 'split'

Comment 33 Adam Williamson 2013-07-01 20:31:13 UTC
Rob: just in case you weren't aware, you ran F19 Beta, not F19 Final. Final will be released tomorrow. This bug is fixed in Final.

Closing out, we have clearly resolved this (all the dupes reports are from Beta, as is shown by the anaconda and kernel versions).


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