subinps / VCPlayerBot

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live steams, YouTube videos and telegram media. Supports scheduling streams, recording and many more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timezone

molafir opened this issue · comments

~/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.