Bug 902939 - AttributeError: 'DeviceFormat' object has no attribute 'peStart'
Summary: AttributeError: 'DeviceFormat' object has no attribute 'peStart'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3086ad5263662b2ee669a0efa78...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-22 18:59 UTC by Steve Tyler
Modified: 2014-02-05 15:38 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 15:38:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (496.32 KB, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details
File: anaconda.log (16.22 KB, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details
File: environ (780 bytes, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details
File: ifcfg.log (487 bytes, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details
File: packaging.log (163.06 KB, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details
File: program.log (17.94 KB, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details
File: storage.log (82.54 KB, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details
File: syslog (63.30 KB, text/plain)
2013-01-22 18:59 UTC, Steve Tyler
no flags Details

Description Steve Tyler 2013-01-22 18:59:09 UTC
Description of problem:
Attempt to reproduce Bug 889875.

Create two empty disks.
Select the first and add "/foo1".
Select the second and add "/foo2".
Select both.
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/devices.py", line 2296, in size
    size += max(0, self.align(pv.size - pv.format.peStart))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 792, in _do_refresh
    selector = page.addDevice(u.name, Size(spec="%f MB" % u.size), u.format.name, self.on_selector_clicked)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 669, in refresh
    self._do_refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 97, in _runSpoke
    action.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 334, in _on_spoke_clicked
    self._runSpoke(spoke)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 349, in _on_spoke_clicked
    self._on_spoke_clicked(self._spokes[dest].selector, None, self._spokes[dest])
AttributeError: 'DeviceFormat' object has no attribute 'peStart'

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-22 18:59:13 UTC
Created attachment 685391 [details]
File: anaconda-tb

Comment 2 Steve Tyler 2013-01-22 18:59:16 UTC
Created attachment 685392 [details]
File: anaconda.log

Comment 3 Steve Tyler 2013-01-22 18:59:17 UTC
Created attachment 685393 [details]
File: environ

Comment 4 Steve Tyler 2013-01-22 18:59:19 UTC
Created attachment 685394 [details]
File: ifcfg.log

Comment 5 Steve Tyler 2013-01-22 18:59:21 UTC
Created attachment 685395 [details]
File: packaging.log

Comment 6 Steve Tyler 2013-01-22 18:59:23 UTC
Created attachment 685396 [details]
File: program.log

Comment 7 Steve Tyler 2013-01-22 18:59:25 UTC
Created attachment 685397 [details]
File: storage.log

Comment 8 Steve Tyler 2013-01-22 18:59:26 UTC
Created attachment 685398 [details]
File: syslog

Comment 9 Steve Tyler 2013-01-22 20:17:59 UTC
This seems to be a fairly reliable reproducer, although the installer sometimes appears to hang as noted below:

Create two empty disks:
$ qemu-img create f18-test-3.img 12G
$ qemu-img create f18-test-4.img 12G

Start the DVD installer:
$ qemu-kvm -m 2048 -hda f18-test-3.img -hdb f18-test-4.img -cdrom ~/xfr/fedora/F18/F18-Final/Final/Fedora-18-x86_64-DVD.iso -vga qxl -boot menu=on -usbdevice mouse

Click Installation Destination.
Click first disk to select.
Click Continue.
Check "Let me customize ...".
Click Continue.

Click "+" to add new mount point:
    Mount Point: /foo1
    Desired Capacity: 1000
Click Add mount point.
Click Finish Partitioning.

Click Installation Destination.
Click second disk to select.
Click first disk to deselect.
Click Continue.
Click Continue from Installation Options.

Click "+" to add new mount point:
    Mount Point: /foo2
    Desired Capacity: 1000
Click Add mount point.
Click Finish Partitioning.

Click Installation Destination.[1]
Click first disk to select.
[The second disk is already selected.]
Click Continue.
Click Continue from Installation Options.

The Installation Summary dialog is displayed.
After a pause (~6 seconds), the exception occurs:
AttributeError: 'DeviceFormat' object has no attribute 'peStart'

[1] The installer sometimes appears to hang here. Pressing escape allows partial recovery.

Comment 10 Fedora End Of Life 2013-12-21 10:42:34 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 11 Fedora End Of Life 2014-02-05 15:38:33 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.


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