<class 'locale.Error'>
Python 2.6.5: /usr/bin/python
Mon Feb 26 02:24:22 2018

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

 /usr/lib/pymodules/python2.6/flup/server/scgi_base.py in run(self=<flup.server.scgi_base.Request object>)
  183 
  184         try:
  185             self._conn.server.handler(self)
  186         except:
  187             self.logger.exception('Exception caught from handler')
self = <flup.server.scgi_base.Request object>, self._conn = <flup.server.scgi_base.Connection object>, self._conn.server = <flup.server.scgi.WSGIServer object>, self._conn.server.handler = <bound method WSGIServer.handler of <flup.server.scgi.WSGIServer object>>
 /usr/lib/pymodules/python2.6/flup/server/scgi_base.py in handler(self=<flup.server.scgi.WSGIServer object>, request=<flup.server.scgi_base.Request object>)
  454         try:
  455             try:
  456                 result = self.application(environ, start_response)
  457                 try:
  458                     for data in result:
result = None, self = <flup.server.scgi.WSGIServer object>, self.application = <trac.web.standalone.AuthenticationMiddleware object>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/dev/null', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'off', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'Close', 'HTTP_HOST': 'trac.hris.ugm.ac.id', 'HTTP_IF_MODIFIED_SINCE': 'Fri, 24 Nov 2017 23:43:38 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response = <function start_response>
 /usr/local/lib/python2.6/dist-packages/trac/web/standalone.py in __call__(self=<trac.web.standalone.AuthenticationMiddleware object>, environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/dev/null', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'off', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'Close', 'HTTP_HOST': 'trac.hris.ugm.ac.id', 'HTTP_IF_MODIFIED_SINCE': 'Fri, 24 Nov 2017 23:43:38 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response=<function start_response>)
   56                         return []
   57                     environ['REMOTE_USER'] = remote_user
   58         return self.application(environ, start_response)
   59 
   60 
self = <trac.web.standalone.AuthenticationMiddleware object>, self.application = <trac.web.standalone.TracEnvironMiddleware object>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/dev/null', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'off', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'Close', 'HTTP_HOST': 'trac.hris.ugm.ac.id', 'HTTP_IF_MODIFIED_SINCE': 'Fri, 24 Nov 2017 23:43:38 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response = <function start_response>
 /usr/local/lib/python2.6/dist-packages/trac/web/standalone.py in __call__(self=<trac.web.standalone.TracEnvironMiddleware object>, environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/dev/null', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'off', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'Close', 'HTTP_HOST': 'trac.hris.ugm.ac.id', 'HTTP_IF_MODIFIED_SINCE': 'Fri, 24 Nov 2017 23:43:38 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response=<function start_response>)
   88         for k, v in self.environ.iteritems():
   89             environ.setdefault(k, v)
   90         return self.application(environ, start_response)
   91 
   92 
self = <trac.web.standalone.TracEnvironMiddleware object>, self.application = <function dispatch_request>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/dev/null', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'off', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'Close', 'HTTP_HOST': 'trac.hris.ugm.ac.id', 'HTTP_IF_MODIFIED_SINCE': 'Fri, 24 Nov 2017 23:43:38 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response = <function start_response>
 /usr/local/lib/python2.6/dist-packages/trac/web/main.py in dispatch_request(environ={'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/dev/null', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'off', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'Close', 'HTTP_HOST': 'trac.hris.ugm.ac.id', 'HTTP_IF_MODIFIED_SINCE': 'Fri, 24 Nov 2017 23:43:38 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}, start_response=<function start_response>)
  403     
  404 
  405     locale.setlocale(locale.LC_ALL, environ['trac.locale'])
  406 
  407     # Determine the environment
global locale = <module 'locale' from '/usr/lib/python2.6/locale.pyc'>, locale.setlocale = <function setlocale>, locale.LC_ALL = 6, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/dev/null', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTPS': 'off', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'Close', 'HTTP_HOST': 'trac.hris.ugm.ac.id', 'HTTP_IF_MODIFIED_SINCE': 'Fri, 24 Nov 2017 23:43:38 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', ...}
 /usr/lib/python2.6/locale.py in setlocale(category=6, locale='')
  511         # convert to string
  512         locale = normalize(_build_localename(locale))
  513     return _setlocale(category, locale)
  514 
  515 def resetlocale(category=LC_ALL):
global _setlocale = <built-in function setlocale>, category = 6, locale = ''

<class 'locale.Error'>: unsupported locale setting
      args = ('unsupported locale setting',)
      message = 'unsupported locale setting'