Asia/Kolkata - Unknown Time Zone

Bug #390217 reported by Prasad H L Bhat
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

When I click on login/register on help.launchpad.net, I get the following error

------------------

UnknownTimeZoneError

'Asia/Kolkata'

If you want to report a bug, please save this page and attach it to your bug report.

-------------------

As a result, I am not able to login to this sub-site.

Regards,
Prasad

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

I can reproduce this bug: I have changed my timezone to Asia/Kolkata and I got the following traceback from MoinMoin:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/MoinMoin/request/request_fcgi.py", line 28, in __init__
    RequestBase.__init__(self, properties)
  File "/var/lib/python-support/python2.5/MoinMoin/request/__init__.py", line 207, in __init__
    self.user = self._handle_auth_form(user_obj)
  File "/var/lib/python-support/python2.5/MoinMoin/request/__init__.py", line 612, in _handle_auth_form
    return self.handle_auth(user_obj, attended=True, username=username,
  File "/var/lib/python-support/python2.5/MoinMoin/request/__init__.py", line 644, in handle_auth
    ret = authmethod.login(self, user_obj, **extra)
  File "/var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py", line 326, in login
    return self._handle_continuation(request)
  File "/var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py", line 301, in _handle_continuation
    return self._handle_verify_continuation(request)
  File "/var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py", line 161, in _handle_verify_continuation
    user_tz = timezone(sreg_resp.get('timezone').encode('ascii'))
  File "/usr/lib/python2.5/site-packages/pytz/__init__.py", line 138, in timezone
    raise UnknownTimeZoneError(zone)
pytz.UnknownTimeZoneError: 'Asia/Kolkata'

This happens because the version of python-tz is too old. The package should be upgraded.

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Err, sorry: the package that needs to be updated is `tzdata`.

Curtis Hovey (sinzui)
affects: launchpad-documentation → launchpad
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.