Bug 1022419

Summary: TypeError: Argument 1 does not allow None as a value
Product: [Fedora] Fedora Reporter: Petr Schindler <pschindl>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, billyestuvoaqui, dgimenez, dshea, g.kaviyarasu, jonathan, pschindl, terje.rosten, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1d841e55f8568a2cbf0ab349e31e1c568254d7f1725636044f4e37af0d32077b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-28 13:33:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Petr Schindler 2013-10-23 08:58:35 UTC
Description of problem:
Traceback occured in custom partitioning.

Firstly I reclaimed space (in reclaim space dialog) by deleting two ext4 partitions. Then I clicked on Done. Then I changed my mind and went to custom partitioning. I expanded Fedora 17 item where swap left. Then I tried to expand Unknown item (where should be one ntfs partition). After click on Unknown anaconda took 100% cpu and after a while the traceback appeared.

My original layout was (I am not sure about numbers):
sda1 - root of F17
sda2 - home of F17 (those two I removed in reclaim space dialog)
sda3 - ntfs with windows
sda4 - swap
1.4 MB of free space

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

The following was filed automatically by anaconda:
anaconda 20.25.1-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1831, in _populate_right_side
    self._typeCombo.set_active(type_index_map[device_type])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2465, in on_selector_clicked
    self._populate_right_side(selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2140, in _show_mountpoint
    self.on_selector_clicked(page.members[0])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2484, in on_page_clicked
    self._show_mountpoint(page=page, mountpoint=mountpointToShow)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/lib/accordion.py", line 146, in _onExpanded
    cb(obj.get_child())
TypeError: Argument 1 does not allow None as a value

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020-Beta-TC5\x20x86_64 rd.live.check quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.5-302.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20-Beta-TC5

Comment 1 Petr Schindler 2013-10-23 08:58:47 UTC
Created attachment 815282 [details]
File: anaconda-tb

Comment 2 Petr Schindler 2013-10-23 08:58:51 UTC
Created attachment 815283 [details]
File: anaconda.log

Comment 3 Petr Schindler 2013-10-23 08:58:55 UTC
Created attachment 815284 [details]
File: environ

Comment 4 Petr Schindler 2013-10-23 08:58:58 UTC
Created attachment 815285 [details]
File: lsblk_output

Comment 5 Petr Schindler 2013-10-23 08:59:04 UTC
Created attachment 815286 [details]
File: nmcli_dev_list

Comment 6 Petr Schindler 2013-10-23 08:59:08 UTC
Created attachment 815287 [details]
File: os_info

Comment 7 Petr Schindler 2013-10-23 08:59:12 UTC
Created attachment 815288 [details]
File: program.log

Comment 8 Petr Schindler 2013-10-23 08:59:16 UTC
Created attachment 815289 [details]
File: storage.log

Comment 9 Petr Schindler 2013-10-23 08:59:20 UTC
Created attachment 815290 [details]
File: syslog

Comment 10 Petr Schindler 2013-10-23 08:59:23 UTC
Created attachment 815291 [details]
File: ifcfg.log

Comment 11 Petr Schindler 2013-10-23 08:59:31 UTC
Created attachment 815292 [details]
File: packaging.log

Comment 12 David Shea 2014-03-07 19:04:57 UTC
Does this still occur with F20 release or rawhide?

Comment 13 Terje Røsten 2014-06-09 14:40:05 UTC
I had anaconda reporting this a duplicate of a crashing bug in the installer.

To reproduce create GPT partition tables with *gdisk*, for example
/, /var, swap, /home. Install FC19 on this system.

Then try to install of F20, while keeping /home and reformatting the rest.

Comment 14 David Shea 2014-08-05 16:31:17 UTC
(In reply to Terje Røsten from comment #13)
> I had anaconda reporting this a duplicate of a crashing bug in the installer.
> 
> To reproduce create GPT partition tables with *gdisk*, for example
> /, /var, swap, /home. Install FC19 on this system.
> 
> Then try to install of F20, while keeping /home and reformatting the rest.

Can you attach the traceback file from the crash to this bug? It would be helpful to have the exact partitioning layout that you started with. The file should be present in /tmp/anaconda-tb*

Comment 15 David Shea 2014-08-18 13:40:02 UTC
*** Bug 1130717 has been marked as a duplicate of this bug. ***

Comment 16 Terje Røsten 2014-12-10 17:51:46 UTC
Not able to reproduce (so far) with F21 installs, seems fixed, thanks!