Bug 424811
Summary: | liveinst stops with: No module named firstboot_module_window | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sebastian Vahl <fedora> | ||||
Component: | system-config-keyboard | Assignee: | Lubomir Rintel <lkundrak> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | katzj | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.2.11-4 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-01-23 22:06:21 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 421891 | ||||||
Attachments: |
|
Description
Sebastian Vahl
2007-12-14 10:12:36 UTC
I've grabbed anaconda-11.4.0.9-1 from koji and updated it on a running livecd. Same error. This is due to the changes in system-config-keyboard. Chris -- I thought you had a fix for this. The used version of system-config-keyboard is 1.2.11-3.fc8 Created attachment 289803 [details]
Rework to support new firstboot module system
Attached is a new version of keyboard_gui.py which should work with the new
firstboot in rawhide. I've tested this briefly as a firstboot module and as a
stand-alone program, but I have not yet gotten a chance to test it with
anaconda due to no images today. More testing would be appreciated.
I've copied the file into a running livecd into the normal place and started liveinst. The graphical error is the same, but in the terminal a new error is shown: cannot import name KeyboardWindow If I start anaconda directly with "anaconda --method=livecd" I'm seeing the keyboard selection. But when I select one and hit "next" the same error occurs. anaconda-11.4.0.10-1 svahl -- you also need a newer anaconda (.12) But even with that, things don't quite work. Unfortunately both firstboot and anaconda have a module named 'constants' and both are just (ab)using the python path to get their modules available. Thus, you only get the anaconda constants module and not the firstboot one. Given that firstboot is providing an API, it probably makes sense to have it available as the 'firstboot' module and then it'd be firstboot.constants and things would be happy. firstboot has been updated and rebuilt in order to provide a real python module. This will require changing my new keyboard module above to not append /usr/share/firstboot and also to import firstboot.whatever instead. This should be fixed in today's rawhide. (In reply to comment #8) > This should be fixed in today's rawhide. Confirmed. Fixed with system-config-keyboard-1.2.11-4.fc9 and anaconda-11.4.0.24-1. |