Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezone #105

Open
molafir opened this issue May 24, 2022 · 0 comments
Open

Timezone #105

molafir opened this issue May 24, 2022 · 0 comments

Comments

@molafir
Copy link

molafir commented May 24, 2022

~/VCPlayerBot# python3 main.py
Traceback (most recent call last):
File "/root/VCPlayerBot/main.py", line 15, in
from utils import (
File "/root/VCPlayerBot/utils/init.py", line 4, in
from .utils import *
File "/root/VCPlayerBot/utils/utils.py", line 98, in
scheduler = AsyncIOScheduler(jobstores=jobstores)
File "/usr/local/lib/python3.9/dist-packages/apscheduler/schedulers/base.py", line 87, in init
self.configure(gconfig, **options)
File "/usr/local/lib/python3.9/dist-packages/apscheduler/schedulers/base.py", line 131, in configure
self._configure(config)
File "/usr/local/lib/python3.9/dist-packages/apscheduler/schedulers/asyncio.py", line 54, in _configure
super(AsyncIOScheduler, self)._configure(config)
File "/usr/local/lib/python3.9/dist-packages/apscheduler/schedulers/base.py", line 701, in _configure
self.timezone = astimezone(config.pop('timezone', None)) or get_localzone()
File "/usr/local/lib/python3.9/dist-packages/tzlocal/unix.py", line 203, in get_localzone
_cache_tz = _get_localzone()
File "/usr/local/lib/python3.9/dist-packages/tzlocal/unix.py", line 185, in _get_localzone
utils.assert_tz_offset(tz)
File "/usr/local/lib/python3.9/dist-packages/tzlocal/utils.py", line 63, in assert_tz_offset
raise ValueError(msg)
ValueError: Timezone offset does not match system offset: 16200 != 0. Please, check your config files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant