The Light Farm

No chapter

supply a chapter in url parameters

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.16: /usr/bin/python
Mon Apr 29 16:06:19 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/nas1r2/29/36/8203629/cgi-bin/researchcarousel/researchslidegen.py in <module>()
    405             print('    </td></tr>\n')
    406 
    407 
    408 # Main entry point when run by cgi.
=>  409 GenHtmlFromFile()
GenHtmlFromFile = <function GenHtmlFromFile>
 /home/nas1r2/29/36/8203629/cgi-bin/researchcarousel/researchslidegen.py in GenHtmlFromFile()
     50     if "chapter" not in form:
     51           htmlHeader("Blog Error")
=>   52           htmlBody("No chapter", "supply a chapter in url parameters")
     53           print("<tr><td>")
     54           print("<H1>Error</H1>")
global htmlBody = <function htmlBody>
 /home/nas1r2/29/36/8203629/cgi-bin/researchcarousel/researchslidegen.py in htmlBody(title='No chapter', subtitle='supply a chapter in url parameters')
    166 
    167   # Emit the <td> element for the main body.
=>  168   htmlMainBody()
    169 
    170   print("""\
global htmlMainBody = <function htmlMainBody>
 /home/nas1r2/29/36/8203629/cgi-bin/researchcarousel/researchslidegen.py in htmlMainBody()
    238     # Start reading the file from the top, skipping any #H or #S lines,
    239     # parsing all other lines in the order found.
=>  240     with open(fileName, 'r') as f:
    241         for line in f:
    242             sline = line.strip()
builtin open = <built-in function open>, global fileName = '', f undefined

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: ''
      args = (2, 'No such file or directory')
      errno = 2
      filename = ''
      message = ''
      strerror = 'No such file or directory'