--> --> -->
 
 
<type 'exceptions.TypeError'>
Python 2.7.5: /usr/bin/python
Wed Jan 17 23:13:02 2018

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/html/dataview/aq_measure_trans/current/index.py in ()
     76 
     77 if __name__ == '__main__':
=>   78     CGIHandle.CGIHandle(index)
     79     #index(device='PAS16')
     80     sys.exit(0)
CGIHandle = <module 'CGIHandle' from '/home/dataview/lib/python/CGIHandle.pyc'>, CGIHandle.CGIHandle = <class CGIHandle.CGIHandle>, index = <function index>
 /home/dataview/lib/python/CGIHandle.py in __init__(self=<CGIHandle.CGIHandle instance>, cgifunc=<function index>, detail_names=None, errfile='/tmp/cgilog/20180117.log', strip=1)
    143     sys.stdout = Logger()
    144     try:
=>  145       apply(cgifunc,(),args)  
    146       #print >> sys.stderr, '!!! CGIHandleDone !!!'
    147     except SystemExit:
builtin apply = <built-in function apply>, cgifunc = <function index>, args = {}

<type 'exceptions.TypeError'>: index() takes at least 1 argument (0 given)
      args = ('index() takes at least 1 argument (0 given)',)
      message = 'index() takes at least 1 argument (0 given)'