question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Win10 and America/Santiago raise Timezone offset does not match system offset

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
morpheus65535commented, May 31, 2019

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.

0reactions
lyssalivingstoncommented, Sep 11, 2019

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…

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found