Bug 64329 - redhat-config-time has consistant traceback
Summary: redhat-config-time has consistant traceback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: dateconfig
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-02 15:37 UTC by David Mason
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-05-10 20:40:20 UTC
Embargoed:


Attachments (Terms of Use)
/etc/ntp.conf file (should be the default values I suppose) (1.72 KB, text/plain)
2002-05-06 19:25 UTC, David Mason
no flags Details
didnt work - traceback from new RPM (518 bytes, text/plain)
2002-05-08 17:35 UTC, David Mason
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2002:087 0 normal SHIPPED_LIVE Updated dateconfig is available 2002-05-10 04:00:00 UTC

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


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