Attachment 'traceback2.html'

Download

--> -->

UnknownTimeZoneError

'Asia/Kolkata'

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

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /var/lib/python-support/python2.5/MoinMoin/request/request_fcgi.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x580cd10>, fcgRequest=<MoinMoin.support.thfcgi.Request instance at 0x5754950>, env={'DOCUMENT_ROOT': '/srv/wiki.ubuntu.com/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_COOKIE': '__utma=27501688.1989506981.1301467175.1301541660...tu; MOIN_SESSION=06g4im5mt2xh6s_l75mkaf_2wnsj28jc', 'HTTP_DNT': '1', 'HTTP_HOST': 'wiki.ubuntu.com', ...}, form=FieldStorage(None, None, [MiniFieldStorage('acti...Storage('openid.sreg.timezone', 'Asia/Kolkata')]), properties={})

    1. 26 self.fcgform = form
    2. 27 self._setup_vars_from_std_env(env)
    3. 28 RequestBase.__init__(self, properties)
    4. 29
    5. 30 except Exception, err:
    • global RequestBase = <class 'MoinMoin.request.RequestBase'>
    • RequestBase.__init__ = <unbound method RequestBase.__init__>
    • self = <MoinMoin.request.request_fcgi.Request object at 0x580cd10>
    • properties = {}
  2. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_fcgi.Request object at 0x580cd10>, properties={})

    1. 205 # set self.user even if _handle_auth_form raises an Exception
    2. 206 self.user = None
    3. 207 self.user = self._handle_auth_form(user_obj)
    4. 208 del user_obj
    5. 209 self.cfg.session_handler.after_auth(self, self.cfg.session_id_handler, self.user)
    • self = <MoinMoin.request.request_fcgi.Request object at 0x580cd10>
    • self.user = None
    • self._handle_auth_form = <bound method Request._handle_auth_form of <Moin...equest.request_fcgi.Request object at 0x580cd10>>
    • user_obj = None
  3. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in _handle_auth_form (self=<MoinMoin.request.request_fcgi.Request object at 0x580cd10>, user_obj=None)

    1. 610 return self.handle_auth(user_obj, attended=True, username=username,
    2. 611 password=password, login=login, logout=logout,
    3. 612 stage=stage, openid_identifier=oid)
    4. 613
    5. 614 def handle_auth(self, user_obj, attended=False, **kw):
    • stage = u'openid'
    • openid_identifier undefined
    • oid = None
  4. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in handle_auth (self=<MoinMoin.request.request_fcgi.Request object at 0x580cd10>, user_obj=None, attended=True, **kw={'login': True, 'logout': False, 'openid_identifier': None, 'password': None, 'stage': u'openid', 'username': None})

    1. 642 if stage and authmethod.name != stage:
    2. 643 continue
    3. 644 ret = authmethod.login(self, user_obj, **extra)
    4. 645 user_obj = ret.user_obj
    5. 646 cont = ret.continue_flag
    • ret undefined
    • authmethod = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbe8680>
    • authmethod.login = <bound method OpenIDAuth.login of <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbe8680>>
    • self = <MoinMoin.request.request_fcgi.Request object at 0x580cd10>
    • user_obj = None
    • extra = {'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='06g4im5mt2xh6s_l75m...cn=(organic)|utmcmd=organic|utmctr=why%20ubuntu'>, 'multistage': True, 'openid_identifier': None, 'password': None, 'username': None}
  5. /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in login (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbe8680>, request=<MoinMoin.request.request_fcgi.Request object at 0x580cd10>, user_obj=None, **kw={'attended': True, 'cookie': <SimpleCookie: MOIN_SESSION='06g4im5mt2xh6s_l75m...cn=(organic)|utmcmd=organic|utmctr=why%20ubuntu'>, 'multistage': True, 'openid_identifier': None, 'password': None, 'username': None})

    1. 321
    2. 322 if continuation:
    3. 323 return self._handle_continuation(request)
    4. 324
    5. 325 # openid is designed to work together with other auths
    • self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbe8680>
    • self._handle_continuation = <bound method OpenIDAuth._handle_continuation of...n.auth.openidrp.OpenIDAuth instance at 0xbe8680>>
    • request = <MoinMoin.request.request_fcgi.Request object at 0x580cd10>
  6. /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbe8680>, request=<MoinMoin.request.request_fcgi.Request object at 0x580cd10>)

    1. 296 oidstage = request.form.get('oidstage', [0])[0]
    2. 297 if oidstage == '1':
    3. 298 return self._handle_verify_continuation(request)
    4. 299 elif oidstage == '2':
    5. 300 return self._handle_name_continuation(request)
    • self = <MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbe8680>
    • self._handle_verify_continuation = <bound method OpenIDAuth._handle_verify_continua...n.auth.openidrp.OpenIDAuth instance at 0xbe8680>>
    • request = <MoinMoin.request.request_fcgi.Request object at 0x580cd10>
  7. /var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in _handle_verify_continuation (self=<MoinMoin.auth.openidrp.OpenIDAuth instance at 0xbe8680>, request=<MoinMoin.request.request_fcgi.Request object at 0x580cd10>)

    1. 159 from pytz import timezone
    2. 160 import pytz
    3. 161 user_tz = timezone(sreg_resp.get('timezone').encode('ascii'))
    4. 162 if user_tz:
    5. 163 user_utcoffset = user_tz.utcoffset(datetime.utcnow())
    • user_tz undefined
    • timezone = <function timezone at 0x581bc08>
    • sreg_resp = <openid.extensions.sreg.SRegResponse object at 0x57c8cd0>
    • sreg_resp.get = <bound method SRegResponse.get of <openid.extensions.sreg.SRegResponse object at 0x57c8cd0>>
    • ).encode undefined
  8. /usr/lib/python2.5/site-packages/pytz/__init__.py in timezone (zone='Asia/Kolkata')

    1. 136 _tzinfo_cache[zone] = build_tzinfo(zone, open_resource(zone))
    2. 137 else:
    3. 138 raise UnknownTimeZoneError(zone)
    4. 139
    5. 140 return _tzinfo_cache[zone]
    • global UnknownTimeZoneError = <class 'pytz.UnknownTimeZoneError'>
    • zone = 'Asia/Kolkata'

UnknownTimeZoneError

'Asia/Kolkata'

  • args = ('Asia/Kolkata',)
  • message = 'Asia/Kolkata'

System Details

  • Date: Thu, 21 Apr 2011 10:29:23 +0000
  • Platform: Linux jostaberry 2.6.24-28-server #1 SMP Thu Sep 16 14:49:46 UTC 2010 x86_64
  • Python: Python 2.5.2 (/usr/bin/python)
  • MoinMoin: Release 1.6.3 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2010-06-08 09:03:14, 99.4 KB) [[attachment:screenshot.png]]
  • [get | view] (2010-06-08 08:55:44, 13.5 KB) [[attachment:traceback.html]]
  • [get | view] (2011-04-21 10:52:21, 13.6 KB) [[attachment:traceback2.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.