2874: Reviewboard 1.7.2 requires pytz-2012j

brod*****@gmai***** (Google Code) (Is this you? Claim this profile.)
david
david
Feb. 7, 2013
What version are you running?

1.7.2

What's the URL of the page containing the problem?

/admin/

What steps will reproduce the problem?
1. Visit https://whatever/admin/
2.
3.

What is the expected output? What do you see instead?

There is an error page, and an e-mail is sent with a traceback.  Which includes the following error:

 File "/srv/reviewboard-env/lib/python2.6/site-packages/Django-1.4.3-py2.6.egg/django/db/models/fields/__init__.py", line 762, in to_python
    default_timezone = timezone.get_default_timezone()

  File "/srv/reviewboard-env/lib/python2.6/site-packages/Django-1.4.3-py2.6.egg/django/utils/timezone.py", line 112, in get_default_timezone
    _localtime = pytz.timezone(settings.TIME_ZONE)

  File "/srv/reviewboard-env/lib/python2.6/site-packages/pytz-2012c-py2.6.egg/pytz/__init__.py", line 185, in timezone
    raise UnknownTimeZoneError(zone)

UnknownTimeZoneError: 'US/Pacific'

What operating system are you using? What browser?

RHEL 6.1 , chrome

Please provide any additional information below.

I'm not sure exactly which version of pytz is required, but I had pytz-2012c  installed when I got the error, pytz-2012j fixed the problem.

requires.txt should be updated to reflect this dependency.
david
#1 david
  • +Component-Deployment
    +EasyFix
david
#2 david
  • +PendingReview
  • +david
david
#3 david
Fixed in release-1.7.x (107ce3e). Thanks!
  • -PendingReview
    +Fixed