<class 'locale.Error'>
Python 2.7.3: /usr/bin/python
Tue Sep 30 10:50:24 2014

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

 /home/drobilla/opt/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/_fcgi.py in run(self=<trac.web._fcgi.Request object>)
    568         """Runs the handler, flushes the streams, and ends the request."""
    569         try:
=>  570             protocolStatus, appStatus = self.server.handler(self)
    571         except:
    572             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <trac.web._fcgi.Request object>, self.server = <trac.web._fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <trac.web._fcgi.WSGIServer object>>
 /home/drobilla/opt/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.Request object>)
   1258         try:
   1259             try:
=> 1260                 result = self.application(environ, start_response)
   1261                 try:
   1262                     for data in result:
result = None, self = <trac.web._fcgi.WSGIServer object>, self.application = <function dispatch_request>, environ = {'DH_USER': 'drobilla', 'DOCUMENT_ROOT': '/home/drobilla/dev.drobilla.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'dev.drobilla.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', ...}, start_response = <function start_response>
 /home/drobilla/opt/lib/python2.6/site-packages/Trac-1.0-py2.6.egg/trac/web/main.py in dispatch_request(environ={'DH_USER': 'drobilla', 'DOCUMENT_ROOT': '/home/drobilla/dev.drobilla.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'dev.drobilla.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', ...}, start_response=<function start_response>)
    378     
    379 
=>  380     locale.setlocale(locale.LC_ALL, environ['trac.locale'])
    381 
    382     # Determine the environment
global locale = <module 'locale' from '/usr/lib/python2.7/locale.pyc'>, locale.setlocale = <function setlocale>, locale.LC_ALL = 6, environ = {'DH_USER': 'drobilla', 'DOCUMENT_ROOT': '/home/drobilla/dev.drobilla.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en-gb,en;q=0.7,*;q=0.3', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'dev.drobilla.net', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', ...}
 /usr/lib/python2.7/locale.py in setlocale(category=6, locale='')
    537         # convert to string
    538         locale = normalize(_build_localename(locale))
=>  539     return _setlocale(category, locale)
    540 
    541 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'