UnknownTimeZoneError on various pages

Bug #388825 reported by Henning Eggers
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Tom Haddon
Revision history for this message
Stuart Bishop (stub) wrote :

Edge is now running with pytz 2009i. It allows users to set their timezones to values not understood by the production systems (production seems to be using the system installed pytz 2008c linked to the Ubuntu zoneinfo files).

Installing a more modern pytz will work around the issue for now.

We need to consider how we handle package upgrades in the future - buildout now makes it easier to upgrade our dependencies, and every time we do so we risk similar issues occurring due to the version skew between production and edge.

Stuart Bishop (stub)
Changed in rosetta:
importance: Undecided → Critical
milestone: none → 2.2.6
status: New → Triaged
Revision history for this message
Данило Шеган (danilo) wrote :

Am I understanding this right: this will be fixed as soon as we roll out 2.2.6? If so, we need to roll out pytz 2009i on production servers sooner than that.

Revision history for this message
Stuart Bishop (stub) wrote :

Reverting edge and cleaning the production data is impractical.

I'll suggest downloading latest pytz (http://pypi.python.org/packages/source/p/pytz/pytz-2009j.tar.bz2) and installing on all the appservers:

mkdir -p /srv/staging.launchpad.net/lib/python
export PYTHONPATH=/srv/staging.launchpad.net/lib/python
python2.4 setup.py install --home=/srv/staging.launchpad.net

Then startup the appservers so they start with PYTHONPATH set to /srv/staging.launchpad.net/lib/python.

Revision history for this message
Stuart Bishop (stub) wrote :

Tom - can you chase this through to completion, or reassign if people in your timezone think a code fix and cherry pick a better option?

Changed in rosetta:
assignee: nobody → Tom Haddon (mthaddon)
Revision history for this message
Tom Haddon (mthaddon) wrote :

pytz2009j has been installed on the lpnet app servers - 2.2.6 rollout should include this fix properly.

Changed in rosetta:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.