Bug 893205 - AttributeError: can't set attribute
Summary: AttributeError: can't set attribute
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:369310f75c65a12cff7520977d4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-08 21:54 UTC by Steve Tyler
Modified: 2013-05-16 13:51 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-16 13:51:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (509.92 KB, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details
File: anaconda.log (18.58 KB, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details
File: environ (780 bytes, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details
File: ifcfg.log (487 bytes, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details
File: packaging.log (163.06 KB, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details
File: program.log (33.07 KB, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details
File: storage.log (85.10 KB, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details
File: syslog (62.74 KB, text/plain)
2013-01-08 21:54 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2013-01-08 21:54:13 UTC
Description of problem:
Attempt to resize encrypted partition in Manual Partitioning.
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 3501, in set_device_size
    device.size = size
  File "/usr/lib64/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2221, in newDevice
    size = factory.set_device_size(container, device=device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 1193, in _save_right_side
    raid_level=raid_level)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2480, in on_apply_clicked
    self._save_right_side(self._current_selector)
AttributeError: can't set attribute

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

Comment 1 Steve Tyler 2013-01-08 21:54:17 UTC
Created attachment 675088 [details]
File: anaconda-tb

Comment 2 Steve Tyler 2013-01-08 21:54:19 UTC
Created attachment 675089 [details]
File: anaconda.log

Comment 3 Steve Tyler 2013-01-08 21:54:20 UTC
Created attachment 675090 [details]
File: environ

Comment 4 Steve Tyler 2013-01-08 21:54:22 UTC
Created attachment 675091 [details]
File: ifcfg.log

Comment 5 Steve Tyler 2013-01-08 21:54:23 UTC
Created attachment 675092 [details]
File: packaging.log

Comment 6 Steve Tyler 2013-01-08 21:54:25 UTC
Created attachment 675093 [details]
File: program.log

Comment 7 Steve Tyler 2013-01-08 21:54:26 UTC
Created attachment 675094 [details]
File: storage.log

Comment 8 Steve Tyler 2013-01-08 21:54:28 UTC
Created attachment 675095 [details]
File: syslog

Comment 9 Steve Tyler 2013-01-08 22:16:02 UTC
Start with a 12 GB disk having default storage configuration and a minimal install:
[liveuser@localhost ~]$ lsblk -o NAME,SIZE,TYPE,FSTYPE /dev/sda
NAME                    SIZE TYPE FSTYPE
sda                      12G disk 
├─sda1                  500M part ext4
└─sda2                 11.5G part LVM2_member
  ├─fedora-swap (dm-2)    4G lvm  swap
  └─fedora-root (dm-3)  7.6G lvm  ext4

Proceed to Manual Partitioning.
Click Root.
Click "+" to expand Customize...
Click Reformat, Encrypt.
Enter "/" for Mount Point.
Click Apply Changes.
Click New Fedora ... to expand.
Click Root, if not already selected.
Enter 4000 for Desired Capacity.
Click Apply Changes.
Exception occurs: AttributeError: can't set attribute

Tested with:
$ qemu-kvm -m 2048 -hda f18-test-1.img -cdrom ~/xfr/fedora/F18/F18-Final/RC2/Fedora-18-x86_64-Live-Desktop.iso -usb -vga qxl -boot menu=on -usbdevice mouse

Comment 10 David Lehman 2013-05-16 13:51:39 UTC
This should be fixed in both the alpha and forthcoming beta of fedora 19. Feel free to reopen this bug if that is not the case.


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