Bug 114126

Summary: {PATCH] Failure: redhat-config-kickstart --generate <filename>
Product: Red Hat Enterprise Linux 3 Reporter: Dan Taylor <dan>
Component: redhat-config-kickstartAssignee: Brent Fox <bfox>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: dff
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://beau.org/pipermail/whitebox-devel/2003-December/000604.html
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-12 03:20:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 107562    

Description Dan Taylor 2004-01-22 20:40:30 UTC
redhat-config-kickstart --generate <filename>
returns this error:
-----------------start----------
Traceback (most recent call last):
  File "/usr/share/redhat-config-kickstart/redhat-config-
kickstart.py", line 60, in ?
    useCliMode(value)
  File "/usr/share/redhat-config-kickstart/redhat-config-
kickstart.py", line 43, in useCliMode
    import profileSystem
  File "/usr/share/redhat-config-kickstart/profileSystem.py", line 
28, in ?
    import languageBackend
ImportError: No module named languageBackend

------------------end-------------
In the URL listed above, someone else had the same problem & provided 
a small patch. 

--- profileSystem.py	2003-12-12 22:51:37.000000000 -0600
+++ profileSystem.py.new	2003-12-23 13:03:55.000000000 -0600
@@ -25,14 +25,14 @@
 import sys
 import os
 sys.path.append("/usr/share/redhat-config-language")
-import languageBackend
+import language_backend
 import rhpl.keyboard as keyboard
 import rhpl.mouse as mouse
 
 class ProfileSystem:
     def __init__(self, kickstartData):
         self.kickstartData = kickstartData
-        self.languageBackend = languageBackend.languageBackend()
+        self.languageBackend = language_backend.LanguageBackend()
         self.mouse = mouse.Mouse(skipProbe = 1)
         
         self.getLang()

Comment 6 John Flanagan 2004-05-12 03:20:15 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-151.html