Error using "--generate" option to system-config-kickstart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| system-config-kickstart (Ubuntu) |
High
|
Unassigned | ||
| Intrepid |
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
Johann Petrak (johann-petrak) wrote : | #1 |
Paul Dufresne (paulduf) wrote : | #2 |
I get the same results, BUT:
I don't really understand why you think --generate is a valid option.
man system-
As I understand it, you just have to use Save file in File menu to
select the name of the configuration file.
Now, it is possible that there is really undocumented option.
Is it, or have you some documentation showing this option?
Éric Lemoine (elemoine) wrote : | #3 |
I also get this language_backend error when executing system-
Johann Petrak (johann-petrak) wrote : | #4 |
According to system-
--generate <filename> Generate a kickstart file from the current machine and write"
The GUI does not seem to generate anything from the current configuration so this option is quite useful, if not essential.
"I also hit this bug -- it makes the whole package more or less unusable"... sounds Confirmed to me.
Changed in system-config-kickstart: | |
status: | Unconfirmed → Confirmed |
towsonu2003 (towsonu2003) wrote : | #6 |
is this fixed on feisty?
Changed in system-config-kickstart: | |
assignee: | kamion → nobody |
olly (o-klein) wrote : | #7 |
something new to this bug? has anyone a functionally kickstart.cfg for me???
Changed in system-config-kickstart: | |
importance: | Medium → High |
status: | Confirmed → Triaged |
Colin Watson (cjwatson) wrote : | #8 |
Sorry for the delay in getting this fixed. I've just uploaded a fix to Intrepid.
Launchpad Janitor (janitor) wrote : | #9 |
This bug was fixed in the package system-
---------------
system-
* Fix --generate option for Ubuntu (LP: #15156).
- Read language information from /etc/default/locale and
/
- Read keyboard information from /etc/default/
- Don't read mouse configuration from anywhere; we autodetect in nearly
all cases anyway.
- Read timezone information from /etc/timezone.
- Deal with the root password being disabled.
-- Colin Watson <email address hidden> Tue, 16 Sep 2008 15:41:53 +0100
Changed in system-config-kickstart: | |
status: | Triaged → Fix Released |
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