Bug 76313
| Summary: | if timezone isn't in timezone list, redhat-config-date tracebacks | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Jeremy Katz <katzj> |
| Component: | redhat-config-date | Assignee: | Brent Fox <bfox> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | drinegui, galka, james.beale, kibo, kwade, newcastlek, tasos, techsupport, trib |
| 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-10-19 19:25:55 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: | |||
Patch applied in cvs. The fix should appear in redhat-config-date-1.5.3-1. Thanks for the patch. *** Bug 76164 has been marked as a duplicate of this bug. *** *** Bug 74206 has been marked as a duplicate of this bug. *** *** Bug 76707 has been marked as a duplicate of this bug. *** *** Bug 77254 has been marked as a duplicate of this bug. *** *** Bug 77436 has been marked as a duplicate of this bug. *** *** Bug 79400 has been marked as a duplicate of this bug. *** *** Bug 78786 has been marked as a duplicate of this bug. *** *** Bug 79699 has been marked as a duplicate of this bug. *** *** Bug 80058 has been marked as a duplicate of this bug. *** *** Bug 80432 has been marked as a duplicate of this bug. *** *** Bug 80431 has been marked as a duplicate of this bug. *** *** Bug 82829 has been marked as a duplicate of this bug. *** *** Bug 83469 has been marked as a duplicate of this bug. *** After reading this (76313) I hope this further information will be of use to someone, but try by checking the "clock" file in âetc/sysconfigâ first. Mine looked like: ZONE="Etc/GMT" UTC=true ARC=false But the ZONE statement should have been: ZONE="Europe/London" *** Bug 83353 has been marked as a duplicate of this bug. *** *** Bug 83353 has been marked as a duplicate of this bug. *** *** Bug 83353 has been marked as a duplicate of this bug. *** *** Bug 84071 has been marked as a duplicate of this bug. *** *** Bug 85112 has been marked as a duplicate of this bug. *** *** Bug 82721 has been marked as a duplicate of this bug. *** *** Bug 98092 has been marked as a duplicate of this bug. *** |
If the current timezone isn't in the zone.tab list (ie, it's something like 'UTC'), then redhat-config-date will traceback in timezone_map_gui.py setCurrent() with currentEntry being None. Something like the following looks like the right patch Index: timezone_map_gui.py =================================================================== RCS file: /usr/local/CVS/redhat-config-date/src/timezone_map_gui.py,v retrieving revision 1.11 diff -u -u -r1.11 timezone_map_gui.py --- timezone_map_gui.py 21 Aug 2002 23:08:35 -0000 1.11 +++ timezone_map_gui.py 19 Oct 2002 19:20:19 -0000 @@ -174,9 +174,10 @@ if not entry: # If the value in /etc/sysconfig/clock is invalid, default to New York self.currentEntry = self.fallbackEntry + else: + self.currentEntry = entry self.markers[self.currentEntry.tz].show() - self.currentEntry = entry self.markers[self.currentEntry.tz].hide() x, y = self.map2canvas(self.currentEntry.lat, self.currentEntry.long) self.current.set(x=x, y=y)