Gene interactions and pathways from curated databases and text-mining
--> -->
 
 
<class '_mysql_exceptions.OperationalError'>
Python 2.7.12: /usr/bin/python2
Tue Jul 29 00:22:36 2025

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/local/apache/cgi-bin/hgGeneGraph in ()
   2034     htmlMiddle()
   2035     jsInlineFinish()
   2036     htmlPageEnd()
   2037 
=> 2038 main()
main = <function main>
 /usr/local/apache/cgi-bin/hgGeneGraph in main()
   2032     htmlHeader()
   2033     printInlineAndStyles()
=> 2034     htmlMiddle()
   2035     jsInlineFinish()
   2036     htmlPageEnd()
global htmlMiddle = <function htmlMiddle>
 /usr/local/apache/cgi-bin/hgGeneGraph in htmlMiddle()
   2009         exit(0)
   2010 
=> 2011     showGraphBrowser()
   2012 
   2013 def main():
global showGraphBrowser = <function showGraphBrowser>
 /usr/local/apache/cgi-bin/hgGeneGraph in showGraphBrowser()
   1370     gene, alg, addNeighbors, sortByCount, geneCount = parseGraphArgs()
   1371 
=> 1372     conn = sqlConnect(GGDB)
   1373 
   1374     graphLinks, lowLinks = buildGraph(conn, gene, geneCount, MINSUPP, addNeighbors)
conn undefined, global sqlConnect = <function sqlConnect>, global GGDB = 'hgFixed'
 /usr/local/apache/cgi-bin/pyLib/hgLib.py in sqlConnect(db='hgFixed', host='localhost', user='readonly', passwd='access')
    142     if host==None:
    143         host, user, passwd = cfg["db.host"], cfg["db.user"], cfg["db.password"]
=>  144     conn = MySQLdb.connect(host=host, user=user, passwd=passwd, db=db)
    145 
    146     # we will need this info later
conn undefined, global MySQLdb = <module 'MySQLdb' from '/usr/lib/python2.7/dist-packages/MySQLdb/__init__.pyc'>, MySQLdb.connect = <function Connect>, host = 'localhost', user = 'readonly', passwd = 'access', db = 'hgFixed'
 /usr/lib/python2.7/dist-packages/MySQLdb/__init__.py in Connect(*args=(), **kwargs={'db': 'hgFixed', 'host': 'localhost', 'passwd': 'access', 'user': 'readonly'})
     79     """Factory function for connections.Connection."""
     80     from MySQLdb.connections import Connection
=>   81     return Connection(*args, **kwargs)
     82 
     83 connect = Connection = Connect
Connection = <class 'MySQLdb.connections.Connection'>, args = (), kwargs = {'db': 'hgFixed', 'host': 'localhost', 'passwd': 'access', 'user': 'readonly'}
 /usr/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__(self=<_mysql.connection closed at 1df56b0>, *args=(), **kwargs={'db': 'hgFixed', 'host': 'localhost', 'passwd': 'access', 'user': 'readonly'})
    202         self.waiter = kwargs2.pop('waiter', None)
    203 
=>  204         super(Connection, self).__init__(*args, **kwargs2)
    205         self.cursorclass = cursorclass
    206         self.encoders = dict([ (k, v) for k, v in conv.items()
builtin super = <type 'super'>, global Connection = <class 'MySQLdb.connections.Connection'>, self = <_mysql.connection closed at 1df56b0>, ).__init__ = <bound method Connection.__init__ of <_mysql.connection closed at 1df56b0>>, args = (), kwargs2 = {'client_flag': 196608, 'conv': {0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None>, ...}, 'db': 'hgFixed', 'host': 'localhost', 'passwd': 'access', 'user': 'readonly'}

<class '_mysql_exceptions.OperationalError'>: (1040, 'Too many connections')
      args = (1040, 'Too many connections')
      message = ''