<type 'exceptions.ImportError'>
Python 2.6.6: /usr/bin/python
Sun Oct 22 17:02:52 2017

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/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/web/_fcgi.py in run(self=<trac.web._fcgi.CGIRequest 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.CGIRequest object>, self.server = <trac.web._fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <trac.web._fcgi.WSGIServer object>>
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/web/_fcgi.py in handler(self=<trac.web._fcgi.WSGIServer object>, req=<trac.web._fcgi.CGIRequest object>)
 1254         try:
 1255             try:
 1256                 result = self.application(environ, start_response)
 1257                 try:
 1258                     for data in result:
result = None, self = <trac.web._fcgi.WSGIServer object>, self.application = <function dispatch_request>, environ = {'DOCUMENT_ROOT': '/var/www/html', '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_CONNECTION': 'close', 'HTTP_HOST': 'gluep.sourceforge.net', 'HTTP_IF_MODIFIED_SINCE': 'Tue, 22 Aug 2017 08:58:02 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'HTTP_X_FORWARDED_FOR': '54.166.150.10, 54.166.150.10', 'HTTP_X_FORWARDED_PROTO': 'http', ...}, start_response = <function start_response>
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/web/main.py in dispatch_request(environ={'DOCUMENT_ROOT': '/var/www/html', '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_CONNECTION': 'close', 'HTTP_HOST': 'gluep.sourceforge.net', 'HTTP_IF_MODIFIED_SINCE': 'Tue, 22 Aug 2017 08:58:02 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'HTTP_X_FORWARDED_FOR': '54.166.150.10, 54.166.150.10', 'HTTP_X_FORWARDED_PROTO': 'http', ...}, start_response=<function start_response>)
  389     env = env_error = None
  390     try:
  391         env = _open_environment(env_path, run_once=run_once)
  392         if env.base_url:
  393             environ['trac.base_url'] = env.base_url
env = None, global _open_environment = <function _open_environment>, env_path = '/home/groups/g/gl/gluep/trac/bin/initenv', run_once = True
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/web/main.py in _open_environment(env_path='/home/groups/g/gl/gluep/trac/bin/initenv', run_once=True)
   49 def _open_environment(env_path, run_once=False):
   50     if run_once:
   51         return open_environment(env_path)
   52 
   53     global env_cache, env_cache_lock
global open_environment = <function open_environment>, env_path = '/home/groups/g/gl/gluep/trac/bin/initenv'
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/env.py in open_environment(env_path='/home/groups/g/gl/gluep/trac/bin/initenv')
  461 
  462     env = Environment(env_path)
  463     if env.needs_upgrade():
  464         raise TracError, 'The Trac Environment needs to be upgraded. Run ' \
  465                          'trac-admin %s upgrade"' % env_path
env = <trac.env.Environment object>, env.needs_upgrade = <bound method Environment.needs_upgrade of <trac.env.Environment object>>
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/env.py in needs_upgrade(self=<trac.env.Environment object>)
  339     def needs_upgrade(self):
  340         """Return whether the environment needs to be upgraded."""
  341         db = self.get_db_cnx()
  342         for participant in self.setup_participants:
  343             if participant.environment_needs_upgrade(db):
db undefined, self = <trac.env.Environment object>, self.get_db_cnx = <bound method Environment.get_db_cnx of <trac.env.Environment object>>
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/env.py in get_db_cnx(self=<trac.env.Environment object>)
  201     def get_db_cnx(self):
  202         """Return a database connection from the connection pool."""
  203         return DatabaseManager(self).get_connection()
  204 
  205     def shutdown(self, tid=None):
global DatabaseManager = <class 'trac.db.api.DatabaseManager'>, self = <trac.env.Environment object>, ).get_connection undefined
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/db/api.py in get_connection(self=<trac.db.api.DatabaseManager object>)
   74             connector, args = self._get_connector()
   75             self._cnx_pool = ConnectionPool(5, connector, **args)
   76         return self._cnx_pool.get_cnx(self.timeout or None)
   77 
   78     def shutdown(self, tid=None):
self = <trac.db.api.DatabaseManager object>, self._cnx_pool = <trac.db.pool.ConnectionPool object>, self._cnx_pool.get_cnx = <bound method ConnectionPool.get_cnx of <trac.db.pool.ConnectionPool object>>, self.timeout = 20, builtin None = None
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/db/pool.py in get_cnx(self=<trac.db.pool.ConnectionPool object>, timeout=20)
   99                         self._cursize -= 1
  100                 elif self._maxsize and self._cursize < self._maxsize:
  101                     cnx = self._connector.get_connection(**self._kwargs)
  102                     self._cursize += 1
  103                     break
cnx undefined, self = <trac.db.pool.ConnectionPool object>, self._connector = <trac.db.mysql_backend.MySQLConnector object>, self._connector.get_connection = <bound method MySQLConnector.get_connection of <trac.db.mysql_backend.MySQLConnector object>>, self._kwargs = {'host': u'mysql4-g', 'password': *******, 'path': u'/g207180_trac', 'port': 3306, 'user': u'g207180admin'}
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/db/mysql_backend.py in get_connection(self=<trac.db.mysql_backend.MySQLConnector object>, path=u'/g207180_trac', user=u'g207180admin', password=*******, host=u'mysql4-g', port=3306, params={})
   38     def get_connection(self, path, user=None, password=None, host=None,
   39                        port=None, params={}):
   40         return MySQLConnection(path, user, password, host, port, params)
   41 
   42     def init_db(self, path, user=None, password=None, host=None, port=None,
global MySQLConnection = <class 'trac.db.mysql_backend.MySQLConnection'>, path = u'/g207180_trac', user = u'g207180admin', password = *******, host = u'mysql4-g', port = 3306, params = {}
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/trac/db/mysql_backend.py in __init__(self=<trac.db.mysql_backend.MySQLConnection object>, path=u'/g207180_trac', user=u'g207180admin', password=*******, host=u'mysql4-g', port=3306, params={})
  130     def __init__(self, path, user=None, password=None, host=None,
  131                  port=None, params={}):
  132         import MySQLdb
  133 
  134         if path.startswith('/'):
MySQLdb undefined
 /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/MySQLdb/__init__.py in ()
   17 from release import __version__, version_info, __author__
   18 
   19 import _mysql
   20 
   21 if version_info != _mysql.version_info:
_mysql undefined

<type 'exceptions.ImportError'>: /home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/_mysql.so: wrong ELF class: ELFCLASS32
      args = ('/home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/_mysql.so: wrong ELF class: ELFCLASS32',)
      message = '/home/groups/g/gl/gluep/trac/lib/python2.3/site-packages/_mysql.so: wrong ELF class: ELFCLASS32'