Bug 1028374 - AttributeError: 'NoneType' object has no attribute 'type'
Summary: AttributeError: 'NoneType' object has no attribute 'type'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5eb25a59b656b539f68f6f653e8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-08 10:16 UTC by Juan Orti
Modified: 2013-11-13 12:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-13 12:21:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1021.29 KB, text/plain)
2013-11-08 10:16 UTC, Juan Orti
no flags Details
File: anaconda.log (61.16 KB, text/plain)
2013-11-08 10:16 UTC, Juan Orti
no flags Details
File: environ (404 bytes, text/plain)
2013-11-08 10:16 UTC, Juan Orti
no flags Details
File: lsblk_output (1.21 KB, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details
File: nmcli_dev_list (5.71 KB, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details
File: os_info (291 bytes, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details
File: program.log (22.73 KB, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details
File: storage.log (164.27 KB, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details
File: syslog (71.24 KB, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details
File: ifcfg.log (814 bytes, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details
File: packaging.log (645.84 KB, text/plain)
2013-11-08 10:17 UTC, Juan Orti
no flags Details

Description Juan Orti 2013-11-08 10:16:42 UTC
Description of problem:
I created a GPT table partition in my blank disk using the text console, then switch back to the GUI and see a unknown partition, when I tried to delete it, it crashed.

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

The following was filed automatically by anaconda:
anaconda 20.25.6-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 302, in _removeDevice
    if dev.partedPartition.type == parted.PARTITION_EXTENDED and \
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 351, in registerAction
    self._removeDevice(action.device)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1218, in destroyDevice
    self.devicetree.registerAction(action)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2077, in _destroy_device
    self.__storage.destroyDevice(device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2201, in on_remove_clicked
    self._destroy_device(device)
AttributeError: 'NoneType' object has no attribute 'type'

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

Comment 1 Juan Orti 2013-11-08 10:16:50 UTC
Created attachment 821498 [details]
File: anaconda-tb

Comment 2 Juan Orti 2013-11-08 10:16:54 UTC
Created attachment 821499 [details]
File: anaconda.log

Comment 3 Juan Orti 2013-11-08 10:16:58 UTC
Created attachment 821500 [details]
File: environ

Comment 4 Juan Orti 2013-11-08 10:17:02 UTC
Created attachment 821501 [details]
File: lsblk_output

Comment 5 Juan Orti 2013-11-08 10:17:06 UTC
Created attachment 821502 [details]
File: nmcli_dev_list

Comment 6 Juan Orti 2013-11-08 10:17:10 UTC
Created attachment 821503 [details]
File: os_info

Comment 7 Juan Orti 2013-11-08 10:17:14 UTC
Created attachment 821504 [details]
File: program.log

Comment 8 Juan Orti 2013-11-08 10:17:17 UTC
Created attachment 821505 [details]
File: storage.log

Comment 9 Juan Orti 2013-11-08 10:17:21 UTC
Created attachment 821506 [details]
File: syslog

Comment 10 Juan Orti 2013-11-08 10:17:25 UTC
Created attachment 821507 [details]
File: ifcfg.log

Comment 11 Juan Orti 2013-11-08 10:17:31 UTC
Created attachment 821508 [details]
File: packaging.log

Comment 12 Vratislav Podzimek 2013-11-12 13:50:55 UTC
Did you use the 'Reload storage configuration from disk' button next to the minus button below the list mountpoints/systems after doing that change in console?

Comment 13 Juan Orti 2013-11-13 09:48:34 UTC
(In reply to Vratislav Podzimek from comment #12)
> Did you use the 'Reload storage configuration from disk' button next to the
> minus button below the list mountpoints/systems after doing that change in
> console?

I think I didn't use that button.

Comment 14 Vratislav Podzimek 2013-11-13 12:21:57 UTC
Well, then this won't be fixed, because Anaconda cannot/won't automatically find out something has changed on the disks. That's the purpose of the (maybe a bit hidden) button. I think the Installation Guide should stress that out.


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