DBD: Transcription factor prediction database

Release 2.0
www.transcriptionfactor.org
Sequence ID search:
An error occured in context "Search/Genome_Seqid" cell "1.00"
in the section containing the code:
001 
002 
003 import dbd
004 import re
005 
006 cellhead()
007 
008 params = dbd.parse_params()
009 
010 if params.has_key("gn") and params.has_key("seqid"):
011 	gn    = params["gn"]
012         seqid = params["seqid"]
013 elif session.has_key("gn") and session.has_key("seqid"):
014 	gn    = session["gn"]
015         seqid = session["seqid"]
016 else:
017         print "Error"
018         cellbody()
019         dbd.print_error_cell("Missing genome and/or sequence id")
020         cellend()
021         sys.exit()
022 
023 p = re.compile("\\\\")
024 clean_seqid = p.sub('', seqid)
025 
026 info = dbd.get_genome_info(gn)
027 if not info:
028         print "ERROR"
029         cellbody()
030         dbd.print_error_cell("Unknown genome: %s" %(gn))
031         sys.exit()
032 
033 (name, tax, source, date) = info
034 
035 print """Genome: %s Sequence ID: %s""" %(name, clean_seqid)
036 
037 cellbody()
038 dbd.print_tfs_table(globals.HomeURLBase, globals.Context, dbd.IMAGE_GEN_DIR, dbd.tfs_by_gn_and_seqid, gn, seqid)
039 
040 cellend()
041 
042 
Traceback (most recent call last):
  File "/net/isilonP/public/rw/research/teichmann/apache/live/DBD/web.py", line 148, in gen_cell
    exec _code in _globals_d, _locals_d
  File "<string>", line 26, in <module>
  File "/net/isilonP/public/rw/research/teichmann/apache/live/DBD/dbd.py", line 489, in get_genome_info
    c = get_db_cursor()
  File "/net/isilonP/public/rw/research/teichmann/apache/live/DBD/dbd.py", line 68, in get_db_cursor
    db = MySQLdb.connect(host="mysql-teichmann-web.ebi.ac.uk", port=4412, user="admin", passwd="z2Kd6OvN", db="DBD2")
  File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2003, "Can't connect to MySQL server on 'mysql-teichmann-web.ebi.ac.uk' (111)")