Hello dev-team, 

I am experiencing a strange problem with my production instance, after I carefully merged remote changes from galaxy-dist release to my code repository. While restarting, It fails to load the the page properly, the message from log file stating that "serving on 0.0.0.0:8080"

Here are some message found in the log file:

X.X.X.X - - [09/Aug/2013:14:30:56 -0400] "GET / HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) rekonq Safari/534.34"
Error - <type 'exceptions.ValueError'>: expected only letters, got ' en'
File '/codebase/lib/galaxy/web/framework/middleware/error.py', line 149 in __call__
  app_iter = self.application(environ, sr_checker)
File '/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/recursive.py', line 84 in __call__
  return self.application(environ, start_response)
File '/codebase/eggs/Paste-1.7.5.1-py2.6.egg/paste/httpexceptions.py', line 633 in __call__
  return self.application(environ, start_response)
File '/codebase/lib/galaxy/web/framework/base.py', line 132 in __call__
  return self.handle_request( environ, start_response )
File '/codebase/lib/galaxy/web/framework/base.py', line 159 in handle_request
  trans = self.transaction_factory( environ )
File '/codebase/lib/galaxy/web/framework/__init__.py', line 238 in <lambda>
  self.set_transaction_factory( lambda e: self.transaction_chooser( e, galaxy_app, session_cookie ) )
File '/codebase/lib/galaxy/web/framework/__init__.py', line 269 in transaction_chooser
  return GalaxyWebTransaction( environ, galaxy_app, self, session_cookie )
File '/codebase/lib/galaxy/web/framework/__init__.py', line 332 in __init__
  self.setup_i18n()
File '/codebase/lib/galaxy/web/framework/__init__.py', line 370 in setup_i18n
  locales.append( Locale.parse( locale.split( ';' )[0], sep='-' ).language )
File '/codebase/eggs/Babel-0.9.4-py2.6.egg/babel/core.py', line 212 in parse
  return cls(*parse_locale(identifier, sep=sep))
File '/codebase/eggs/Babel-0.9.4-py2.6.egg/babel/core.py', line 763 in parse_locale
  raise ValueError('expected only letters, got %r' % lang)
ValueError: expected only letters, got ' en'


CGI Variables
-------------
  CONTENT_LENGTH: '0'
  HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  HTTP_ACCEPT_CHARSET: 'utf-8,*;q=0.5'
  HTTP_ACCEPT_ENCODING: 'gzip, deflate, x-gzip, x-deflate'
  HTTP_ACCEPT_LANGUAGE: 'en-US, en-US; q=0.8, en; q=0.6'
  HTTP_CACHE_CONTROL: 'max-age=0'
  HTTP_CONNECTION: 'Keep-Alive'
  HTTP_HOST: 'galaxy.cbio.mskcc.org'
  HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) rekonq Safari/534.34'
  HTTP_X_FORWARDED_FOR: '172.21.50.129'
  HTTP_X_FORWARDED_HOST: 'galaxy.cbio.mskcc.org'
  HTTP_X_FORWARDED_SERVER: 'galaxy.cbio.mskcc.org'
  HTTP_X_URL_SCHEME: 'https'
  ORGINAL_HTTP_HOST: 'localhost:8081'
  ORGINAL_REMOTE_ADDR: '127.0.0.1'
  PATH_INFO: '/'
  REMOTE_ADDR: '172.21.50.129'
  REQUEST_METHOD: 'GET'
  SERVER_NAME: '0.0.0.0'
  SERVER_PORT: '8081'
  SERVER_PROTOCOL: 'HTTP/1.1'


WSGI Variables
--------------
  application: <paste.recursive.RecursiveMiddleware object at 0x7f78910>
  is_api_request: False
  original_wsgi.url_scheme: 'http'
  paste.expected_exceptions: [<class 'paste.httpexceptions.HTTPException'>]
  paste.httpexceptions: <paste.httpexceptions.HTTPExceptionHandler object at 0x7f78210>
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x8066d90>
  paste.recursive.forward: <paste.recursive.Forwarder from />
  paste.recursive.include: <paste.recursive.Includer from />
  paste.recursive.include_app_iter: <paste.recursive.IncluderAppIter from />
  paste.recursive.script_name: ''
  paste.throw_errors: True
  request_id: 'd4f643a8012111e3819090b11c087d99'
  wsgi process: 'Multithreaded'
------------------------------------------------------------

Any idea what is going wrong here? Please let me know if you need more get more details.

Many thanks, 
--/Vipin