First time here? Check out the FAQ!

Revision history  [back]

You can track this down by adding from askbot.views import readers to your django.wsgi and running it interactively (I tested it with django.fcgi, though).

In my case the problem was that I had set TIME_ZONE = None as the django documentation suggests. However, that does not seem to be supported by all parts of the askbot stack:

Traceback (most recent call last):
  File "./django.fcgi", line 14, in <module>
    from askbot.views import readers
  File "/usr/local/lib/python2.7/dist-packages/askbot/views/__init__.py", line 5, in <module>  
    from askbot.views import writers
  File "/usr/local/lib/python2.7/dist-packages/askbot/views/writers.py", line 46, in <module>
    from askbot.templatetags import extra_filters_jinja as template_filters
  File "/usr/local/lib/python2.7/dist-packages/askbot/templatetags/extra_filters_jinja.py", line 35, in <module>
    django_settings.TIME_ZONE
  File "/usr/local/lib/python2.7/dist-packages/pytz/__init__.py", line 162, in timezone
    if zone.upper() == 'UTC':

After setting TIME_ZONE = 'UTC', it worked.