Bug 212955 - No preview nor saving of ks.cfg when using the 'Grow to maximum of' in Partitions setting
Summary: No preview nor saving of ks.cfg when using the 'Grow to maximum of' in Partit...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-kickstart
Version: 6
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-30 10:57 UTC by stef
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-30 17:06:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description stef 2006-10-30 10:57:20 UTC
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 17:06:36 UTC
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.