Bug 212955 - No preview nor saving of ks.cfg when using the 'Grow to maximum of' in Partitions setting
No preview nor saving of ks.cfg when using the 'Grow to maximum of' in Partit...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: system-config-kickstart (Show other bugs)
6
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-30 05:57 EST by stef
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-10-30 12:06:36 EST
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 stef 2006-10-30 05:57:20 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061011 Fedora/1.5.0.7-7.fc6 Firefox/1.5.0.7

Description of problem:
Create a new kickstart file

at Partition settings create a partition 1MB sized with the option 'Grow to maximum of' selected with a size specified

Try to save the file, no preview nor saving can be done then.
No other option creates such behaviour.

here's th output on the console :

Traceback (most recent call last):
  File "/usr/share/system-config-kickstart/kickstartGui.py", line 308, in on_activate_save_options
    fileDialog = savedialog.saveDialog(writer.write(), self.xml)
  File "/usr/lib/python2.4/site-packages/pykickstart/writer.py", line 48, in write
    map (lambda fn: fn(), self.handlers)), "\n")
  File "/usr/lib/python2.4/site-packages/pykickstart/writer.py", line 48, in <lambda>
    map (lambda fn: fn(), self.handlers)), "\n")
  File "/usr/lib/python2.4/site-packages/pykickstart/writer.py", line 406, in doPartition
    retval = retval + " --maxsize=%d" % part.maxSizeMB
TypeError: int argument required


Version-Release number of selected component (if applicable):
system-config-kickstart 2.6.13

How reproducible:
Always


Steps to Reproduce:
1.launch system-config-kickstart
2.create a partition with the option 'Grow to maximum of' set with a size
3.try saving or preview the file

Actual Results:
nothing happens, prints errors on console

Expected Results:
save ks.cfg, preview the ks.cfg

Additional info:
Comment 1 Chris Lumens 2006-10-30 12:06:36 EST
Fixed in rawhide.  I'll roll this and some other things up into an update for FC6.

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