<type 'exceptions.TypeError'>
Python 2.7.12: /usr/bin/python
Fri Mar 29 04:38:16 2024

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/tutor/public_html/cgi-bin/msSql/cpGallery01.py in ()
    158                 node = "A00-0001-0000"
    159 
    160         displayNetwork("templateSov.htm", node)
    161 
=>  162 main()
main = <function main>
 /home/tutor/public_html/cgi-bin/msSql/cpGallery01.py in main()
    158                 node = "A00-0001-0000"
    159 
=>  160         displayNetwork("templateSov.htm", node)
    161 
    162 main()
global displayNetwork = <function displayNetwork>, node = 'J39-0002-0011'
 /home/tutor/public_html/cgi-bin/msSql/cpGallery01.py in displayNetwork(template='templateSov.htm', node='J39-0002-0011')
    141                 if not line: break
    142                 if( '#YourData' == line.strip()):
=>  143                         displayData( node )
    144                 else:
    145                         print line
global displayData = <function displayData>, node = 'J39-0002-0011'
 /home/tutor/public_html/cgi-bin/msSql/cpGallery01.py in displayData(node='J39-0002-0011')
     92         linkList = []
     93         
=>   94         nodeid  = row[0] #id
     95         infoUrl = row[3]
     96         iconUrl = row[4]
nodeid undefined, row = None

<type 'exceptions.TypeError'>: 'NoneType' object has no attribute '__getitem__'
      args = ("'NoneType' object has no attribute '__getitem__'",)
      message = "'NoneType' object has no attribute '__getitem__'"