Bug 64329

Summary: redhat-config-time has consistant traceback
Product: [Retired] Red Hat Linux Reporter: David Mason <dcm>
Component: dateconfigAssignee: Brent Fox <bfox>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-10 20:40:20 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:
Attachments:
Description Flags
/etc/ntp.conf file (should be the default values I suppose)
none
didnt work - traceback from new RPM none

Description David Mason 2002-05-02 15:37:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020408

Description of problem:
This is for Valhalla - no bugzilla entry yet

Everytime I try to use rh-config-time I get this:
Traceback (innermost last):
  File "/usr/share/dateconfig/dateconfig.py", line 48, in ?
    mainWindow.mainWindow()
  File "/usr/share/dateconfig/mainWindow.py", line 125, in __init__
    self.datePage = date_gui.datePage()
  File "/usr/share/dateconfig/date_gui.py", line 181, in __init__
    ntpServer = mainWindow.dateBackend.getNtpServer()
  File "/usr/share/dateconfig/dateBackend.py", line 126, in getNtpServer
    self.ntpServer = tokens[1]
IndexError: list index out of range


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


How reproducible:
Always

Steps to Reproduce:
1.run redhat-config-time
2.watch
3.
	

Actual Results:  traceback

Expected Results:  not a traceback

Additional info:

Comment 1 Ngo Than 2002-05-05 20:57:45 UTC
assigned to correct component

Comment 2 Brent Fox 2002-05-06 19:15:29 UTC
Can you attach your /etc/ntp.conf file?

Comment 3 David Mason 2002-05-06 19:25:47 UTC
Created attachment 56444 [details]
/etc/ntp.conf file (should be the default values I suppose)

Comment 4 Brent Fox 2002-05-06 19:47:16 UTC
Hmm, the default file says something like:

server   127.127.1.0   #Local clock
fudge    127.127.1.0


I'm guessing that you selected to use NTP and then didn't specify a server. 
dateconfig didn't catch the error and wrote a server line with no line specified
and then crashed the next time you started the program because it was trying to
parse a line that it couldn't understand.  Crud.  I'll fix this right away.

Comment 5 Brent Fox 2002-05-08 16:02:54 UTC
dcm, can you install
ftp://people.redhat.com/bfox/pending/dateconfig-0.7.5-6.i386.rpm 

If that fixes the problem, then I'll push an errata.

Comment 6 David Mason 2002-05-08 17:35:24 UTC
Created attachment 56705 [details]
didnt work - traceback from new RPM

Comment 7 Brent Fox 2002-05-09 16:21:57 UTC
Ok, sorry.  I rebuilt the wrong SRPM.  Try:
ftp://people.redhat.com/bfox/pending/dateconfig-0.7.5-7.i386.rpm



Comment 8 David Mason 2002-05-09 19:34:06 UTC
excellent - runs fine now. Errata that puppy.

Comment 9 Brent Fox 2002-05-10 20:40:15 UTC
I've filed the errata request.  I'm waiting for confirmation.

Comment 10 Brent Fox 2002-06-04 20:40:11 UTC
The errata has been pushed.

http://rhn.redhat.com/errata/RHBA-2002-087.html