Bug 103625 - ksconfig --generate failure bug
ksconfig --generate failure bug
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-kickstart (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-03 06:18 EDT by Gareth Bromley
Modified: 2007-04-18 12:57 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-10-14 18:25:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gareth Bromley 2003-09-03 06:18:46 EDT
Description of problem:
[root@test21 root]# /usr/sbin/ksconfig -generate /tmp/file                     
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
[root@test21 root]#


Version-Release number of selected component (if applicable):
2.3.6 possibly before also

How reproducible:
/usr/sbin/ksconfig -generate nameOfKSFile

Steps to Reproduce:
1. Run /usr/sbin/ksconfig -generate nameOfKSFile
2.
3.
    
Actual results:
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


Expected results:


Additional info:
Fix I found was:
1 - cp /usr/share/redhat-config-language/language_backend.py
/usr/share/redhat-config-language/languageBackend.py
2 - Edit /usr/share/redhat-config-language/languageBackend.py and
change:
    class LanguageBackend:
    to
    class languageBackend:
Comment 1 Brent Fox 2003-10-14 18:25:25 EDT
Should be fixed in redhat-config-kickstart-2.4.2-1.
Comment 2 Steffen Mann 2003-12-12 06:42:31 EST
This Bug actually made it's way into Red Hat Enterprise Linux 3 and is
exactly the same error message.

Steffen
Comment 3 Brent Fox 2003-12-12 14:51:40 EST
RHEL 3 was frozen before this bug was fixed.

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