2

I am trying to install Fan-of-Mongo a web admin for MongoDB which is based on Django I think.

I believe I have followed the instructions from here:

https://github.com/Fiedzia/Fang-of-Mongo

When I run this command:

python ./manage.py runserver

I get this error:

File "/usr/lib/python2.4/site-packages/Django-1.3.1-py2.4.egg/django/conf/__init__.py", line 125, in __init__ raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE)
ValueError: Incorrect timezone setting: Warsaw/Poland

Can anyone here give me an idea on how to fix this?

4
  • 1
    Take a look at this answer Commented Nov 5, 2011 at 15:05
  • I have this error: ValueError: Incorrect timezone setting: Warsaw/Poland I see Poland in /usr/share/zoneinfo/ but not Warsaw Commented Nov 5, 2011 at 15:08
  • Maybe that's the problem, like the other post says, if it's absent that time zone is invalid on your system. Try with another language and see if that works Commented Nov 5, 2011 at 15:10
  • Seems like the current version in github has 'Warsaw/Poland' as the setting in settings.py ... pretty dumb! Commented Mar 29, 2012 at 9:23

2 Answers 2

6

The correct timezone for Warsaw is Europe/Warsaw. Just fix your settings.py.

Sign up to request clarification or add additional context in comments.

Comments

0

The error is because of the reason that it cannot find the timezone info inside "/usr/share/zoneinfo/" directory. The following is the solution:

try whether the timezone present in the /usr/share/zoneinfo/ directory.

If the time zone is not present then go to fangofmongo extracted directory and open form/settings.py change the TIME_ZONE = 'America/North_Dakota' (America/North_Dakota) these should be in your "zone info" directory

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.