Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   Traceback from kickstart partitioning commands (http://www.linux-archive.org/ubuntu-kernel-team/268298-traceback-kickstart-partitioning-commands.html)

Mark McLoughlin 03-23-2009 08:50 AM

Traceback from kickstart partitioning commands
 
https://bugzilla.redhat.com/491605

Hi,

Tried to install the f11 beta tree from 2009-03-22 using a kickstart
containing e.g.:

part /boot --fstype ext3 --size=200 --onpart=sda1

and got this traceback:

File "/usr/bin/anaconda", line 993, in <module>
kickstart.processKickstartFile(anaconda, opts.ksfile)
File "/usr/lib/anaconda/kickstart.py", line 1121, in processKickstartFile
ksparser.readKickstart(file)
File "/usr/lib/python2.6/site-packages/pykickstart/parser.py", line 759, in readKickstart
self._stateMachine (lambda: fh.readline())
File "/usr/lib/python2.6/site-packages/pykickstart/parser.py", line 634, in _stateMachine
self.handleCommand(lineno, args)
File "/usr/lib/anaconda/kickstart.py", line 1088, in handleCommand
KickstartParser.handleCommand(self, lineno, args)
File "/usr/lib/python2.6/site-packages/pykickstart/parser.py", line 467, in handleCommand
self.handler.dispatcher(args, lineno, self._preceededInclude)
File "/usr/lib/python2.6/site-packages/pykickstart/base.py", line 376, in dispatcher
obj = self.commands[cmd].parse(args[1:])
File "/usr/lib/anaconda/kickstart.py", line 678, in parse
devicetree.registerAction(ActionCreateFormat(devic e, kwargs["format"]))
NameError: global name 'ActionCreateFormat' is not defined

Looks like kickstart.py is missing:

from storage.deviceaction import *

Cheers,
Mark.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 06:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.