Bug 218047 - NameError: global name 'lineno' is not defined
NameError: global name 'lineno' is not defined
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: pykickstart (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-01 10:45 EST by Doug Chapman
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-12-01 11:00:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Doug Chapman 2006-12-01 10:45:32 EST
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 11:00:53 EST
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 12:35:56 EST
Rebuilt pykickstart-0.41.

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