← Back to team overview

launchpad-doc team mailing list archive

[Bug 390217] Re: Asia/Kolkata - Unknown Time Zone

 

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.

-- 
Asia/Kolkata - Unknown Time Zone
https://bugs.launchpad.net/bugs/390217
You received this bug notification because you are a member of Launchpad
Documentation Team, which is subscribed to Launchpad Documentation.



References