Bug 143088

Summary: Firstboot crashes when runs
Product: Red Hat Enterprise Linux 4 Reporter: Mark Jeffries <mark.jeffries>
Component: firstbootAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-16 15:31:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Jeffries 2004-12-16 14:25:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041020
Firefox/0.10.1

Description of problem:
Firstboot crashes with the following errors:

First Run Error:

Traceback (most recent call last):
  File "/usr/share/firstboot/firstbootWindow.py", line 498, in loadModules
    vbox, pix, title = module.launch()
  File "/usr/share/firstboot/modules/rhn_activate_gui.py", line 90, in
launch
    self.setupScreen()
  File "/usr/share/firstboot/modules/rhn_activate_gui.py", line 83, in
setupScreen
    vbox  = self.activatePagePrepare()
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 336, in
activatePagePrepare
    if hostname:
UnboundLocalError: local variable 'hostname' referenced before assignment

Second Run Error:

Traceback (most recent call last):
  File "/usr/share/firstboot/firstbootWindow.py", line 498, in loadModules
    vbox, pix, title = module.launch()
  File "/usr/share/firstboot/modules/rhn_activate_gui.py", line 90, in
launch
    self.setupScreen()
  File "/usr/share/firstboot/modules/rhn_activate_gui.py", line 83, in
setupScreen
    vbox  = self.activatePagePrepare()
  File "/usr/share/rhn/up2date_client/rhnregGui.py", line 336, in
activatePagePrepare
    if hostname:
UnboundLocalError: local variable 'hostname' referenced before assignment

Third Run Error:

Traceback (most recent call last):
  File "/usr/share/firstboot/firstbootWindow.py", line 292, in nextClicked
    result = module.apply(self.notebook)
  File "/usr/share/firstboot/modules/rhn_login_gui.py", line 156, in apply
    self.parent.setPage("Activate")
  File "/usr/share/firstboot/firstbootWindow.py", line 219, in setPage
    self.nextPage = self.moduleNameToNotebookIndex[modulename]
KeyError: 'Activate'

Version-Release number of selected component (if applicable):
1.3.30-1

How reproducible:
Always

Steps to Reproduce:
First Install of AS


    

Additional info:

Comment 1 Adrian Likins 2004-12-16 15:31:04 UTC
These issues have all been fixed in later revisions of
up2date/firstboot/etc. rc2 should have these fixes.