<type 'exceptions.ValueError'>
Python 2.7.12: /usr/bin/python
Sun Apr 2 12:26:51 2023

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/lib/python2.7/dist-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
    556         """Runs the handler, flushes the streams, and ends the request."""
    557         try:
=>  558             protocolStatus, appStatus = self.server.handler(self)
    559         except:
    560             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
 /usr/lib/python2.7/dist-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
   1116         try:
   1117             try:
=> 1118                 result = self.application(environ, start_response)
   1119                 try:
   1120                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object>, self.application = <function app>, environ = {'AWS_INSTANCE': 'i-026af8674a27dd210', 'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/var/www/cgi-bin/', 'CONTEXT_PREFIX': '/cgi-bin/', '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': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CDN_LOOP': 'cloudflare', ...}, start_response = <function start_response>
 /var/www/cgi-bin/btfr5.fcgi in app(environ={'AWS_INSTANCE': 'i-026af8674a27dd210', 'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/var/www/cgi-bin/', 'CONTEXT_PREFIX': '/cgi-bin/', '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': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CDN_LOOP': 'cloudflare', ...}, respond=<function start_response>)
     20         if environ.get('SLK_ERROR_URL','')!='':
     21                 config['error']=environ.get('SLK_ERROR_URL', config.get('error', 'https://www.betfair.com') )
=>   22         status, headers, response= btfr5.app(environ)
     23         status=str(status)
     24         if status=='200': status='200 OK'
status undefined, headers undefined, response undefined, global btfr5 = <module 'btfr5' from '/var/www/cgi-bin/btfr5.py'>, btfr5.app = <function app>, environ = {'AWS_INSTANCE': 'i-026af8674a27dd210', 'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/var/www/cgi-bin/', 'CONTEXT_PREFIX': '/cgi-bin/', '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': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CDN_LOOP': 'cloudflare', ...}
 /var/www/cgi-bin/btfr5.py in app(env={'AWS_INSTANCE': 'i-026af8674a27dd210', 'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/var/www/cgi-bin/', 'CONTEXT_PREFIX': '/cgi-bin/', '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': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CDN_LOOP': 'cloudflare', ...})
    190         if not preventcache:
    191                 with mc_pool.reserve() as mc:   
=>  192                         result=mc.get(cache_key)
    193                 if result:
    194                         found=True
result undefined, mc = Client(['127.0.0.1'], binary=True), mc.get = <built-in method get of Client object>, cache_key = 'CACHE-ND-Ultima%2520data%2520cand%2520cei%2520de...ri%2520si%2520a%2520remizat%2520de%25203%2520ori.'

<type 'exceptions.ValueError'>: key length 300 too long, max is 250
      args = ('key length 300 too long, max is 250',)
      message = 'key length 300 too long, max is 250'