Bug 904234 - AttributeError: 'DeviceFormat' object has no attribute 'label' /usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/source.py(700)gtk_action1() -> selector = AnacondaWidgets.DiskOverview(cdrom.format.label or "" "drive-removable-media", "")
Summary: AttributeError: 'DeviceFormat' object has no attribute 'label' /usr/lib64/pyt...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c5c1a3ae609edc33940917da5a6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-25 20:08 UTC by Ryu
Modified: 2013-04-10 18:54 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-10 18:54:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (482.29 KB, text/plain)
2013-01-25 20:08 UTC, Ryu
no flags Details
File: anaconda.log (7.63 KB, text/plain)
2013-01-25 20:08 UTC, Ryu
no flags Details
File: environ (776 bytes, text/plain)
2013-01-25 20:08 UTC, Ryu
no flags Details
File: ifcfg.log (489 bytes, text/plain)
2013-01-25 20:08 UTC, Ryu
no flags Details
File: packaging.log (162.92 KB, text/plain)
2013-01-25 20:09 UTC, Ryu
no flags Details
File: program.log (73.94 KB, text/plain)
2013-01-25 20:09 UTC, Ryu
no flags Details
File: storage.log (147.12 KB, text/plain)
2013-01-25 20:09 UTC, Ryu
no flags Details
File: syslog (107.40 KB, text/plain)
2013-01-25 20:09 UTC, Ryu
no flags Details

Description Ryu 2013-01-25 20:08:38 UTC
Description of problem:
To reproduce this problem :

1. Try to install with DVD
	Result => fails with:
	dracut-initqueue[332] : Warning Could not boot
	dracut-initqueue[332] : /dev/root does not exists

2. Modify boot cmd line and replace :
	inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64
with	inst.stage2=hd:/dev/sr0
	Here, the boot is ok and installation begin

3. In the main screen of configuration (just after language selection)
	A crash popup appears and stop installation.
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/ui/gui/spokes/source.py", line 700, in gtk_action_1
    selector = AnacondaWidgets.DiskOverview(cdrom.format.label or "", "drive-removable-media", "")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/utils.py", line 49, in _idle_method
    ret = func(*args)
AttributeError: 'DeviceFormat' object has no attribute 'label'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:/dev/sr0 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 Ryu 2013-01-25 20:08:51 UTC
Created attachment 687645 [details]
File: anaconda-tb

Comment 2 Ryu 2013-01-25 20:08:53 UTC
Created attachment 687646 [details]
File: anaconda.log

Comment 3 Ryu 2013-01-25 20:08:55 UTC
Created attachment 687647 [details]
File: environ

Comment 4 Ryu 2013-01-25 20:08:57 UTC
Created attachment 687648 [details]
File: ifcfg.log

Comment 5 Ryu 2013-01-25 20:09:01 UTC
Created attachment 687649 [details]
File: packaging.log

Comment 6 Ryu 2013-01-25 20:09:03 UTC
Created attachment 687650 [details]
File: program.log

Comment 7 Ryu 2013-01-25 20:09:07 UTC
Created attachment 687651 [details]
File: storage.log

Comment 8 Ryu 2013-01-25 20:09:09 UTC
Created attachment 687652 [details]
File: syslog

Comment 9 Chris Lumens 2013-01-29 14:59:31 UTC
Well, the hd: argument is supposed to mean that you are pointing at a hard drive, which means anaconda will then be making certain assumptions including the one leading to the traceback above.  I can certainly fix that up, but I doubt it's going to help you get much farther in installation.

The real problem is what prevented your DVD from booting in the first place.  Can you attach any more data about the first problem?  Can you reproduce it reliably?

Comment 10 Ryu 2013-01-29 20:06:51 UTC
(In reply to comment #9)
> Well, the hd: argument is supposed to mean that you are pointing at a hard
> drive, which means anaconda will then be making certain assumptions
> including the one leading to the traceback above.  I can certainly fix that
> up, but I doubt it's going to help you get much farther in installation.
> 
> The real problem is what prevented your DVD from booting in the first place.
> Can you attach any more data about the first problem?  Can you reproduce it
> reliably?

The information I supplied is the only one that I have when I attempt to boot with the DVD without to modify the cmdline. It is the same when I execute dracut manually.
But I can do all the tests needed to find the solution to this issue. I'm currently on a Fedora 16... And without solution, I can't upgrade except by upgrading to Fedora 17 and then Fedora 18... Not a sexy solution.
Tell me what to do...

I add that I can boot with this DVD on another PC without any problem, but never with mine.

Thanks for your support and your help


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