morpheus65535 / oscarr

Oscarr is a dashboard application for users of Plex, Emby, Sonarr, Radarr and Bazarr. It gives you and overview of your media management software.
GNU General Public License v3.0
57 stars 12 forks source link

Unable to determine the name of the local timezone #13

Open Mizio66 opened 4 years ago

Mizio66 commented 4 years ago

Running it i have this error...

Traceback (most recent call last): File "oscarr.py", line 73, in from scheduler import * File "/volume2/GitProjects/oscarr/scheduler.py", line 8, in scheduler.add_job(check_and_apply_update, 'interval', hours=6, max_instances=1, coalesce=True, misfire_grace_time=15, id='update_oscarr', name='Updat e oscarr from source on Github') File "/usr/lib/python2.7/site-packages/apscheduler/schedulers/base.py", line 420, in add_job 'trigger': self._create_trigger(trigger, trigger_args), File "/usr/lib/python2.7/site-packages/apscheduler/schedulers/base.py", line 921, in _create_trigger return self._create_plugin_instance('trigger', trigger, trigger_args) File "/usr/lib/python2.7/site-packages/apscheduler/schedulers/base.py", line 906, in _create_plugin_instance return plugin_cls(**constructor_kwargs) File "/usr/lib/python2.7/site-packages/apscheduler/triggers/interval.py", line 38, in init self.timezone = astimezone(timezone) File "/usr/lib/python2.7/site-packages/apscheduler/util.py", line 96, in astimezone 'Unable to determine the name of the local timezone -- you must explicitly ' ValueError: Unable to determine the name of the local timezone -- you must explicitly specify the name of the local timezone. Please refrain from using t imezones like EST to prevent problems with daylight saving time. Instead, use a locale based timezone name (such as Europe/Helsinki).

morpheus65535 commented 4 years ago

Make sure you've defined your timezone in Linux.