Archive

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.5: /usr/bin/python
Fri Dec 14 10:39:29 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.

 /srv/www/htdocs/cgi/display.py in ()
    881             generateInternalError("Error", "Internal Error\n"+str(exc.args), sessionID)
    882         else:
    883             generateInternalError("Error", str(exc.args)+"\n"+errorMessage, sessionID)
    884 
=>  885 main()
main = <function main>
 /srv/www/htdocs/cgi/display.py in main()
    865 
    866                 # Show the generic next page.
=>  867                 generateDisplay(subTitle, dataFile, sessionID, quote)
    868         else:        
    869             # Accept a comment regarding an essay from an online participant.
global generateDisplay = <function generateDisplay>, subTitle = 'Archive', dataFile = "printEssay('../essays',20090307)", sessionID = '', quote = '0'
 /srv/www/htdocs/cgi/display.py in generateDisplay(title='Archive', dataFile="printEssay('../essays',20090307)", sessionID='', quote='0')
     94         print content
     95     else:
=>   96         exec(content)
     97 
     98     cs.printStandardEnding()
content = "printEssay('../essays',20090307)"
 /srv/www/htdocs/cgi/<string> in ()
 /srv/www/htdocs/cgi/display.py in printEssay(essayDir='../essays', essayID='20090307', sessionID='')
    336         essayID=str(essayID)
    337     
=>  338     essayID = _printEssayContent(essayDir, essayID, sessionID='')
    339 
    340     # Here begins the part that displays user comments and accepts new
essayID = '20090307', global _printEssayContent = <function _printEssayContent>, essayDir = '../essays', sessionID = ''
 /srv/www/htdocs/cgi/display.py in _printEssayContent(essayDir='../essays', essayID='20090307', sessionID='')
    306     # This reads the essay then gets all comments upon this
    307     # essay from the database and displays them.
=>  308     fp=open(essayDir+"/"+essayID)
    309     content=fp.read()
    310     fp.close()
fp = <closed file '../html/essaydivider.part', mode 'r'>, builtin open = <built-in function open>, essayDir = '../essays', essayID = '20090307'

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