Win10 and America/Santiago raise Timezone offset does not match system offset
See original GitHub issueI got this issue when using America/Santiago on Windows 10 with Python 2.7.15.
Traceback (most recent call last):
File "c:\users\morpheus\desktop\bazarr\bazarr\main.py", line 24, in <module>
from update_db import *
File "c:\users\morpheus\desktop\bazarr\bazarr\update_db.py", line 7, in <module>
from scheduler import execute_now
File "c:\users\morpheus\desktop\bazarr\bazarr\scheduler.py", line 65, in <module>
File "c:\users\morpheus\desktop\bazarr\bazarr\../libs/tzlocal\win32.py", line 95, in get_localzone
utils.assert_tz_offset(_cache_tz)
File "c:\users\morpheus\desktop\bazarr\bazarr\../libs/tzlocal\utils.py", line 38, in assert_tz_offset
raise ValueError(msg)
ValueError: Timezone offset does not match system offset: -10800 != -14400. Please, check your config files.
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (7 by maintainers)
Top Results From Across the Web
Timezone offset does not match system offset
Hi everyone,. I'm getting a error about timezone and I could not fix it at the moment. source /tools/Anaconda2/ENV_for_Anaconda2
Read more >Wrong offset timezone calculation for multiple clocks in ...
Windows shows for both timezones UTC-6 but one has a daylight saving time and the other doesn't. So I've used Central America ....
Read more >how to fix "ValueError: Timezone offset does not match ...
I could fix the bug using tzselect and .profile . Here are some instructions you can follow to fix this timezone bug: Run...
Read more >Shows the wrong time
In the Time zone list, select a time zone that does not observe daylight saving time and has the same UTC offset as...
Read more >Time Zones - Windows
Index Country/Region Time Zone Offset Abbr.
175 Afghanistan Afghanistan Standard Time UTC+04:30 AFT
003 Alaska Alaskan Standard Time UTC‑09:00 AKST
100 Albania: Tirana Central European Standard...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I cannot reproduce it anymore on Windows… The original user had issue on Linux and I commented the problematic call in unix.py as a temporary solution(https://github.com/morpheus65535/bazarr/commit/f0fd8877ae6551a870cdba7d84236a5462aa4c83).
I suppose we can close this one and I’ll reopen it if I have issue with it again.
I apologize @wiggin15. I was completely wrong. I had been running in a Windows cmd shell and mistakenly thought it was my Cygwin shell. When I ran the code again in the Cygwin shell, I still had the problem. Maybe I should change background colors…