Bug 218047 - NameError: global name 'lineno' is not defined
Summary: NameError: global name 'lineno' is not defined
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-01 15:45 UTC by Doug Chapman
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-12-01 16:00:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Doug Chapman 2006-12-01 15:45:32 UTC
Description of problem:
Anaconda dies with this traceback during kickstart install.


Traceback (most recent call last):
File "/usr/bin/anaconda", line 958, in ?
 instClass.setInstallData(anaconda)
File "/usr/lib/anaconda/kickstart.py", line 810, in setInstallData
self.ksparser.readKickstart(self.file)
File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 1151, in
readKickstart
self.handleCommand(lineno, args)
File "/usr/lib/anaconda/kickstart.py", line 704, in handleCommand
self.handler.handlers[cmd](cmdArgs)
File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 479, in
doLangSupport
self.deprecatedCommand("langsupport")
File "/usr/lib/python2.4/site-packages/pykickstart/parser.py", line 297, in
deprecatedCommand
mapping = {"lineno": lineno, "cmd": cmd}
NameError: global name 'lineno' is not defined
install exited abnormally [1/1]

Version-Release number of selected component (if applicable):
nightly/rawhide-20061201
anaconda-11.2.0.3-1

How reproducible:
100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Chris Lumens 2006-12-01 16:00:53 UTC
Fixed in rawhide.  I'll rebuild once all translations are complete (bug 216620).
 For now, you can work around this by just not using any deprecated commands
like langsupport or mouse.

Comment 2 Chris Lumens 2006-12-01 17:35:56 UTC
Rebuilt pykickstart-0.41.


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