Since last week my TGTG scanner stopped working. I tried first doing the update but I get the bellow error messages now. Is there something I'm missing/I can do to fix this?
Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/__main__.py", line 347, in <module> main() File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/__main__.py", line 214, in main _run_scanner(scanner) File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/__main__.py", line 258, in _run_scanner scanner.run() File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/scanner.py", line 186, in run self.notifiers = Notifiers(self.config, self.reservations, self.favorites) File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/notifiers/notifiers.py", line 27, in __init__ self._notifiers: list[Notifier] = [NotifierCls(config, reservations, favorites) for NotifierCls in NOTIFIERS] File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/notifiers/notifiers.py", line 27, in <listcomp> self._notifiers: list[Notifier] = [NotifierCls(config, reservations, favorites) for NotifierCls in NOTIFIERS] File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/notifiers/telegram.py", line 97, in __init__ application = ApplicationBuilder().token(self.token).arbitrary_callback_data(True).build() File "/home/pi/.local/lib/python3.9/site-packages/telegram/ext/_applicationbuilder.py", line 205, in __init__ self._job_queue: ODVInput[JobQueue] = DefaultValue(JobQueue()) File "/home/pi/.local/lib/python3.9/site-packages/telegram/ext/_jobqueue.py", line 112, in __init__ self.scheduler: "AsyncIOScheduler" = AsyncIOScheduler( # noqa: UP037 File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/base.py", line 87, in __init__ self.configure(gconfig, **options) File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/base.py", line 126, in configure self._configure(config) File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/asyncio.py", line 48, in _configure super(AsyncIOScheduler, self)._configure(config) File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/base.py", line 697, in _configure self.timezone = astimezone(config.pop('timezone', None)) or get_localzone() File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/util.py", line 93, in astimezone raise TypeError('Only timezones from the pytz library are supported') TypeError: Only timezones from the pytz library are supported
Since last week my TGTG scanner stopped working. I tried first doing the update but I get the bellow error messages now. Is there something I'm missing/I can do to fix this?
Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/__main__.py", line 347, in <module> main() File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/__main__.py", line 214, in main _run_scanner(scanner) File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/__main__.py", line 258, in _run_scanner scanner.run() File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/scanner.py", line 186, in run self.notifiers = Notifiers(self.config, self.reservations, self.favorites) File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/notifiers/notifiers.py", line 27, in __init__ self._notifiers: list[Notifier] = [NotifierCls(config, reservations, favorites) for NotifierCls in NOTIFIERS] File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/notifiers/notifiers.py", line 27, in <listcomp> self._notifiers: list[Notifier] = [NotifierCls(config, reservations, favorites) for NotifierCls in NOTIFIERS] File "/home/pi/.local/lib/python3.9/site-packages/tgtg_scanner/notifiers/telegram.py", line 97, in __init__ application = ApplicationBuilder().token(self.token).arbitrary_callback_data(True).build() File "/home/pi/.local/lib/python3.9/site-packages/telegram/ext/_applicationbuilder.py", line 205, in __init__ self._job_queue: ODVInput[JobQueue] = DefaultValue(JobQueue()) File "/home/pi/.local/lib/python3.9/site-packages/telegram/ext/_jobqueue.py", line 112, in __init__ self.scheduler: "AsyncIOScheduler" = AsyncIOScheduler( # noqa: UP037 File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/base.py", line 87, in __init__ self.configure(gconfig, **options) File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/base.py", line 126, in configure self._configure(config) File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/asyncio.py", line 48, in _configure super(AsyncIOScheduler, self)._configure(config) File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/schedulers/base.py", line 697, in _configure self.timezone = astimezone(config.pop('timezone', None)) or get_localzone() File "/home/pi/.local/lib/python3.9/site-packages/apscheduler/util.py", line 93, in astimezone raise TypeError('Only timezones from the pytz library are supported') TypeError: Only timezones from the pytz library are supported