Opened 7 years ago

Closed 7 years ago

#14966 closed (invalid)

ValueError: Incorrect timezone setting: Amsterdam/Netherlands

Reported by: duikboot Owned by: nobody
Component: Core (Management commands) Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


After doing a buildout which fetched the svn version django and running ./bin/django syncdb. I got the following error:

./bin/django syncdb
Traceback (most recent call last):

File "./bin/django", line 24, in <module>


File "/home/arjend/scripts/own/Karin_django/eggs/djangorecipe-0.20-py2.6.egg/djangorecipe/", line 16, in main


File "/home/arjend/scripts/own/Karin_django/parts/django/django/core/management/", line 438, in execute_manager


File "/home/arjend/scripts/own/Karin_django/parts/django/django/core/management/", line 379, in execute


File "/home/arjend/scripts/own/Karin_django/parts/django/django/core/management/", line 252, in fetch_command

app_name = get_commands()[subcommand]

File "/home/arjend/scripts/own/Karin_django/parts/django/django/core/management/", line 101, in get_commands

apps = settings.INSTALLED_APPS

File "/home/arjend/scripts/own/Karin_django/parts/django/django/utils/", line 276, in getattr


File "/home/arjend/scripts/own/Karin_django/parts/django/django/conf/", line 41, in _setup

self._wrapped = Settings(settings_module)

File "/home/arjend/scripts/own/Karin_django/parts/django/django/conf/", line 112, in init

raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE)

ValueError: Incorrect timezone setting: Amsterdam/Netherlands

TIME_ZONE = 'Amsterdam/Netherlands'

Change History (1)

comment:1 Changed 7 years ago by rasca

Resolution: invalid
Status: newclosed

That's because there's no 'Amsterdam/Netherlands' time zone..

Theres a brief explanation in the template, that tells you to check for the timezones.

You should be using 'Europe/Amsterdam'

Note: See TracTickets for help on using tickets.
Back to Top