Error using "--generate" option to system-config-kickstart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-config-kickstart (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Intrepid |
Fix Released
|
High
|
Unassigned |
Bug Description
Not sure if this is one error or several. Apologies if it should have been several!
Wanting to save an existing configuration I ran "system-
--generate myserver-ks.cfg" and got the following error:
Traceback (most recent call last):
File "/usr/share/
in ?
useCliMode(
File "/usr/share/
in useCliMode
import profileSystem
File "/usr/share/
import language_backend
ImportError: No module named language_backend
Looks like there is a dependency on system-
to be available to Ubuntu.
Simple hack, commented out the calls to language_backend:
--- profileSystem.py 2005-04-09 17:15:36.499703768 +0100
+++ profileSystem.
@@ -19,14 +19,14 @@
import string
import sys
import os
-# sys.path.
-# import language_backend
+sys.path.
+import language_backend
import mouse
class ProfileSystem:
def __init__(self, kickstartData):
- # self.languageBa
+ self.languageBa
self.mouse = mouse()
@@ -42,7 +42,7 @@
def getLang(self):
- # default, langs = self.languageBa
+ default, langs = self.languageBa
Re-running the generate command I get a different error:
Traceback (most recent call last):
File "/usr/share/
in ?
useCliMode(
File "/usr/share/
in useCliMode
profileSystem = profileSystem.
File "/usr/share/
self.mouse = mouse()
TypeError: 'module' object is not callable
I am using version 2.5.20-0ubuntu10 of system-
version 2.4.1.
Related branches
Changed in system-config-kickstart: | |
assignee: | kamion → nobody |
Changed in system-config-kickstart: | |
importance: | Medium → High |
status: | Confirmed → Triaged |
I also hit this bug -- it makes the whole package more or less unusable. conf-kickstart: 2.5.20-0ubuntu14
Version of system-
Depends: python (<< 2.5), python (>= 2.4), python-gtk2, python-glade2, console-data, hwdata, iso-codes, localechooser-data, python-apt