Thanks, damien, you are right, pykickstart module had some changes about here recently, the git log: ======================================================================== Move lineno= from KSOptionParser.__init__ to parse_args (#497149).
Setting it in __init__ causes all line numbers in error messages to be reported as 0, since the option parsers are all instantiated when the command handlers are created early-on. Instead, we want line numbers to reflect where we really are in processing, and that can only be done when parse methods are called. ======================================================================== The temp fix (removing lineno) is just ok, and we will try to modify mic2 to adapt different pykickstart versions. - jf.ding On Wed, Jun 03, 2009 at 04:42:33AM +0800, Damien Lespiau wrote: > On Tue, 2009-06-02 at 21:27 +0100, Glen Gray wrote: > > I believe the issue is that Fedora 11 ships with a newer version of > > Python. > > It's more like a newer version of pykickstart. Just remove the lineo > argument in that constructor and it should work fine (until a better > fix) > > -- > damien > > > --------------------------------------------------------------------- > Intel Corporation (UK) Limited > Registered No. 1134945 (England) > Registered Office: Pipers Way, Swindon SN3 1RJ > VAT No: 860 2173 47 > > This e-mail and any attachments may contain confidential material for > the sole use of the intended recipient(s). Any review or distribution > by others is strictly prohibited. If you are not the intended > recipient, please contact the sender and delete all copies. > > _______________________________________________ > Moblin dev Mailing List > [email protected] > > To manage or unsubscribe from this mailing list visit: > https://lists.moblin.org/mailman/listinfo/dev or your user account on > http://moblin.org once logged in. > > For more information on the Moblin Developer Mailing lists visit: > http://moblin.org/community/mailing-lists _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
