Bug 1015817 - AttributeError: 'NoneType' object has no attribute 'id'
Summary: AttributeError: 'NoneType' object has no attribute 'id'
Keywords:
Status: CLOSED DUPLICATE of bug 1004572
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:43962640bbba9409108f561198b...
: 1026531 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-05 20:02 UTC by sean_mccully
Modified: 2013-11-04 22:20 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 14:50:46 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda.log (54.58 KB, text/plain)
2013-10-05 20:02 UTC, sean_mccully
no flags Details
File: environ (526 bytes, text/plain)
2013-10-05 20:02 UTC, sean_mccully
no flags Details
File: lsblk_output (3.02 KB, text/plain)
2013-10-05 20:02 UTC, sean_mccully
no flags Details
File: messages (456.90 KB, text/plain)
2013-10-05 20:02 UTC, sean_mccully
no flags Details
File: nmcli_dev_list (13.07 KB, text/plain)
2013-10-05 20:02 UTC, sean_mccully
no flags Details
File: os_info (291 bytes, text/plain)
2013-10-05 20:02 UTC, sean_mccully
no flags Details
File: program.log (102.40 KB, text/plain)
2013-10-05 20:03 UTC, sean_mccully
no flags Details
File: storage.log (511.51 KB, text/plain)
2013-10-05 20:03 UTC, sean_mccully
no flags Details
File: ifcfg.log (1.13 KB, text/plain)
2013-10-05 20:03 UTC, sean_mccully
no flags Details
File: anaconda-tb (1.11 MB, application/octet-stream)
2013-10-05 20:03 UTC, sean_mccully
no flags Details

Description sean_mccully 2013-10-05 20:02:35 UTC
Description of problem:
Manually Resizing Partition

Version-Release number of selected component:
anaconda-20.18-1.fc20.x86_64

The following was filed automatically by anaconda:
anaconda 20.18-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1948, in copy
    root.swaps = [new.devicetree.getDeviceByID(d.id) for d in root.swaps]
  File "/usr/lib/python2.7/site-packages/blivet/devicefactory.py", line 767, in _save_devicetree
    _blivet_copy = self.storage.copy()
  File "/usr/lib/python2.7/site-packages/blivet/devicefactory.py", line 704, in configure
    self._save_devicetree()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1924, in factoryDevice
    factory.configure()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1069, in _replace_device
    new_device = self.__storage.factoryDevice(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1362, in _save_right_side
    selector=selector)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2790, in on_apply_clicked
    self._save_right_side(self._current_selector)
AttributeError: 'NoneType' object has no attribute 'id'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-KDE-x86_64-20-Alpha- ro rd.live.image quiet rhgb
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.0-300.fc20.x86_64
other involved packages: python-blivet-0.20-1.fc20.noarch
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Comment 1 sean_mccully 2013-10-05 20:02:40 UTC
Created attachment 808232 [details]
File: anaconda.log

Comment 2 sean_mccully 2013-10-05 20:02:44 UTC
Created attachment 808233 [details]
File: environ

Comment 3 sean_mccully 2013-10-05 20:02:47 UTC
Created attachment 808234 [details]
File: lsblk_output

Comment 4 sean_mccully 2013-10-05 20:02:52 UTC
Created attachment 808235 [details]
File: messages

Comment 5 sean_mccully 2013-10-05 20:02:55 UTC
Created attachment 808236 [details]
File: nmcli_dev_list

Comment 6 sean_mccully 2013-10-05 20:02:58 UTC
Created attachment 808237 [details]
File: os_info

Comment 7 sean_mccully 2013-10-05 20:03:01 UTC
Created attachment 808238 [details]
File: program.log

Comment 8 sean_mccully 2013-10-05 20:03:06 UTC
Created attachment 808239 [details]
File: storage.log

Comment 9 sean_mccully 2013-10-05 20:03:10 UTC
Created attachment 808240 [details]
File: ifcfg.log

Comment 10 sean_mccully 2013-10-05 20:03:17 UTC
Created attachment 808241 [details]
File: anaconda-tb

Comment 11 Vratislav Podzimek 2013-10-17 09:52:21 UTC
Dave, any idea how can None appear as a member of root.swaps?

Comment 12 David Lehman 2013-10-17 14:50:46 UTC

*** This bug has been marked as a duplicate of bug 1004572 ***

Comment 13 David Shea 2013-11-04 22:20:17 UTC
*** Bug 1026531 has been marked as a duplicate of this bug. ***


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