Bug 76164 - redhat-config-date crash
redhat-config-date crash
Status: CLOSED DUPLICATE of bug 76313
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-date (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
Depends On:
  Show dependency treegraph
Reported: 2002-10-17 14:46 EDT by Martin Garton
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-10-17 14:48:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
this is a fix. (NB _a_ fix, not neccesarily _the_ fix as I haven't spent long understanding the current code) (540 bytes, patch)
2002-10-17 14:48 EDT, Martin Garton
no flags Details | Diff

  None (edit)
Description Martin Garton 2002-10-17 14:46:42 EDT
Description of Problem:
Can't use redhat-config-date at all. Selecting from menu results in no apparent

Steps to Reproduce:
1. Install redhat linux 8.0
2. when prompted select (for example) UTC+1 as the timezone
3. after firstboot etc, select systemsettings->date&time from the gnome menu

Actual Results:

Expected Results:
Date and time utility should open

Additional Information:
running from a terminal reveals the problem:

Traceback (most recent call last):
  File "/usr/share/redhat-config-date/redhat-config-date.py", line 35, in ?
  File "/usr/share/redhat-config-date/mainWindow.py", line 181, in __init__
    self.timezonePage = timezone_gui.timezonePage()
  File "/usr/share/redhat-config-date/timezone_gui.py", line 50, in __init__
    self.tz = TimezoneMap(zonetab, self.default, map=path)
  File "/usr/share/redhat-config-date/timezone_map_gui.py", line 139, in __init__
  File "/usr/share/redhat-config-date/timezone_map_gui.py", line 180, in setCurrent
AttributeError: 'NoneType' object has no attribute 'tz'

Furthermore, /etc/sysconfig/clock contains:


and "Etc/GMT+1" does not appear in /usr/share/zoneinfo/zone.tab which causes the

The code in /usr/share/redhat-config-date/timezone_map_gui.py already looks like
its trying to handle this, but it doesn't work.
Comment 1 Martin Garton 2002-10-17 14:48:25 EDT
Created attachment 80824 [details]
this is a fix. (NB _a_ fix, not neccesarily _the_ fix as I haven't spent long understanding the current code)
Comment 2 Brent Fox 2002-10-22 12:00:00 EDT

*** This bug has been marked as a duplicate of 76313 ***

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