Description of problem: When installing Fedora 11 in a dual boot configuration with Windows 7 RC on the same disk, Ananconda crashes when you trying to modify the label for Fedora or changing the default boot target. Fedora does install correctly when not changing anything in the default boot partition dialogue. Version-Release number of selected component (if applicable): How reproducible: Every time you try to install Fedora 11. Steps to Reproduce: 1. Boot install CD 2. Check box for reviewing partition layout 3. Change default boot target to "Other", Actual results: Crash and system shutdown Expected results: Change default boot partition and continue. Additional info: System was running on a 120GB OCZ Vertex SSD with firmware v1.10. First partition was 60GB for Windows 7 RC, second partition 60GB for Fedora.
Please attach the complete traceback to this bug report. Thanks.
*** Bug 505114 has been marked as a duplicate of this bug. ***
Created attachment 347264 [details] Traceback of crash
Created attachment 347265 [details] Another traceback of crash
When you hit this traceback, can you press "debug" to drop to the python debugger? From there, type "up" to go up a frame so you're in the editEntry call, then paste into this bug report the results of the following: print self.getSelected() print dev print devicePathToName(dev) Thanks. This will be very helpful in figuring out what's going on. We should already be taking care of this problem.
OK here's the output: print self.getSelected() ('mapper/vg_enterprise-lv_root', 'Fedora', True, True) print dev mapper/vg_enterprise-lv_root print devicePathToName(dev) *** NameError: name 'devicePathToName' is not defined
*** Bug 505318 has been marked as a duplicate of this bug. ***
I had a very similar experience: I accidentally changed the default partition to boot, and when I clicked the box by Fedora to change it back it cleared the checkbox for the other partition but didn't check the box for fedora, leaving me with no default selected. I then went into Edit for the fedora partition, selected Default there and hit OK, and got a crash with the same traceback.
*** Bug 507078 has been marked as a duplicate of this bug. ***
I hit the same problem: anaconda 11.5.0.59 exception report Traceback (most recent call first): File "/usr/lib/anaconda/iw/osbootwidget.py", line 267, in editOther (oldshort, oldlong, oldisroot) = self.imagelist[oldDevice] File "/usr/lib/anaconda/iw/osbootwidget.py", line 334 ,in editEntry self.editOther(dev, label, isDefault, isRoot) KeyError: 'mapper/vg_jabber-lv_root' I checked self.imagelist and it was: self.imagelist == {'vg_jabber-lv_root' : ('linux', 'Fedora', 'ext4')} So "imagelist" dictionary contains just the basename of the volume, but it is accessed with the "mapper/" prefix added.
Some more details: I did a pretty standard installation to a virtual machine using netinst.iso, edited hostname, reviewed partition settings and tried to change the Grub label. Should be pretty easy to repro in 5 mins. If not, please tell and I can try again to record the exact steps.
I just attempted to reproduce yet again with these steps and was unable to do so. So yeah, the exact steps would be handy.
*** Bug 505028 has been marked as a duplicate of this bug. ***
*** Bug 523554 has been marked as a duplicate of this bug. ***
For clear instructions of how to crash (and later debug) when changing the "title" from "Fedora" to "Fedora 11" see below: (more details in https://bugzilla.redhat.com/show_bug.cgi?id=505028 ) 0. Start with first disk (sda) containing Fedora 10 (and install on second disk: sdb) 1. Boot from normal Fedora 11 64 bit install DVD 2. 1st option for normal install 3. English 4. UK keyboard 5. Choose to Install 6. localhost... (the default) 7. Choose London or New York as timezone 8. Sys clock uses UTC (default) 9. enter password 10. Replace existing Linux system 11. Choose not to use (format) /dev/sda only /dev/sdb 12. Review and modify partitioning layout - check and don't change 12. Install boot loader on /dev/sda 13. NO boot loader password 14. Click on Fedora and Edit 15. Change from Fedora to Fedora 11 16. Exception Exception occurred An unhandled exception has accurred. This is most likely ... I tried again with the alpha install DVD Fedora-12-Alpha-x86_64-DVD and it worked OK. No crash. Did someone do something to fix it?
No, I can't think of anything we've done to fix it but if you can verify it's fixed, I'll take that.
*** Bug 524399 has been marked as a duplicate of this bug. ***
I've run into this before, and punted on the installation of Fedora 11. After a few months had gone by, I forgot and tried to install Fedora 11 again. This time, I actually bothered to see what the problem was. I think I've figured it out. The editOther() method assumes that the oldDevice parameter is a valid key in the self.imagelist dict (at line 267). A look at self.imagelist in the debugger shows that the key(s) for this dict don't look like paths (no leading '/dev/' for example). The getSelected() method in this file attempts to convert the device path that was stored in self.osStore (which is backing the self.osTreeView widget) into a device name from the path. However, getSelected() only handles the removal of the '/dev/' prefix from the device path. In the case of an LVM filesystem, the device name that would match the appropriate key in self.imagelist is prefixed by '/dev/mapper/'. Hence, getSelected() returns a device name that starts with 'mapper/' and is therefor not a key in the self.imagelist dict. One way to fix this would be to amend the getSelected() method as follows. in /usr/lib/anaconda/iw/osbootwidget.py getSelected() line 296 Replace: theDev = dev[5:] # strip /dev/ With: if dev.startswith('/dev/mapper/'): theDev = dev[len('/dev/mapper/'):] elif dev.startswith('/dev/'): theDev = dev[len('/dev/'):] else: theDev = dev
This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. 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 '11'. 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 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 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 please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 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. Thank you for reporting this bug and we are sorry it could not be fixed.