Bug 889875

Summary: AttributeError: 'NoneType' object has no attribute 'number'
Product: [Fedora] Fedora Reporter: Reartes Guillermo <rtguille>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, andreamalfatti, g.kaviyarasu, jonathan, sbueno, stephent98, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:be821be7200c0bf7e3d6f928140e2aff559440e07ef0895b42e3114cb928d54c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 14:09:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log
none
File: storage.log
none
File: syslog
none
[18.37.11] anaconda-tb-UiBcaq none

Description Reartes Guillermo 2012-12-23 18:50:38 UTC
Description of problem:
i have a previous f18 setup on the disk (bios boot, msdos disklabel, a lot of unpartitioned space)
i used dd to transfer the F18-TC3 dvd into an usb key.

i booted the laptop from the usb key in UEFI mode.
i tried several times to partition (manual/automatic), having diffenent issues and it crashed when i returned  to the main hub the last time.
The following was filed automatically by anaconda:
anaconda 18.37.3 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 788, in <lambda>
    key=lambda p: p.partedPartition.number,
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 789, in clearPartitions
    reverse=True)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 445, in execute
    storage.clearPartitions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1477, in doKickstartStorage
    ksdata.clearpart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 398, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'number'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora\x2018-TC3\x20x86_64
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.3
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18-TC3

Comment 1 Reartes Guillermo 2012-12-23 18:51:00 UTC
Created attachment 668104 [details]
File: anaconda-tb

Comment 2 Reartes Guillermo 2012-12-23 18:51:03 UTC
Created attachment 668105 [details]
File: anaconda.log

Comment 3 Reartes Guillermo 2012-12-23 18:51:05 UTC
Created attachment 668106 [details]
File: environ

Comment 4 Reartes Guillermo 2012-12-23 18:51:08 UTC
Created attachment 668107 [details]
File: ifcfg.log

Comment 5 Reartes Guillermo 2012-12-23 18:51:16 UTC
Created attachment 668108 [details]
File: packaging.log

Comment 6 Reartes Guillermo 2012-12-23 18:51:19 UTC
Created attachment 668109 [details]
File: program.log

Comment 7 Reartes Guillermo 2012-12-23 18:51:26 UTC
Created attachment 668110 [details]
File: storage.log

Comment 8 Reartes Guillermo 2012-12-23 18:51:47 UTC
Created attachment 668111 [details]
File: syslog

Comment 9 Steve Tyler 2013-01-22 18:14:11 UTC
Attempt to reproduce a bug in which a spurious "req0" partition is displayed.
Create two empty disks.
Select the first and add "/foo1".
Select the second and add "/foo2".
Select both.


Package: anaconda-18.37.11
OS Release: Fedora release 18

Comment 10 Steve Tyler 2013-01-22 18:22:21 UTC
Created attachment 685374 [details]
[18.37.11] anaconda-tb-UiBcaq

anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 788, in <lambda>
    key=lambda p: p.partedPartition.number,
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 789, in clearPartitions
    reverse=True)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 445, in execute
    storage.clearPartitions()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1480, in doKickstartStorage
    ksdata.clearpart.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 399, in _doExecute
    doKickstartStorage(self.storage, self.data, self.instclass)
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
AttributeError: 'NoneType' object has no attribute 'number'

Local variables in innermost frame:
p: non-existent 1MB partition req0 (10)

Comment 11 andreamalfatti 2013-01-29 08:50:00 UTC
Sorry for my english

I'm installing F18 


Package: anaconda-18.37.11
OS Release: Fedora release 18

Comment 12 Fedora End Of Life 2013-12-21 10:03:54 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Fedora End Of Life 2014-02-05 14:09:25 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.