Cryto! 1 ? cryt

--> -->
 
 
<type 'exceptions.IOError'>
Python 2.6.6:
Sat Apr 20 01:28:17 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.

 /var/www/logs/crytocc/loggyhtml.py in ()
  174    if not fn: homepage()
  175    else: log(fn)
  176  
  177 if __name__=="__main__": 
  178    main()
main = <function main>
 /var/www/logs/crytocc/loggyhtml.py in main()
  173    fn = os.environ.get('REQUEST_URI', '/').split('/').pop()
  174    if not fn: homepage()
  175    else: log(fn)
  176  
  177 if __name__=="__main__": 
global log = <function log>, fn = 'crytocc2013-02-06'
 /var/www/logs/crytocc/loggyhtml.py in log(fn='crytocc2013-02-06')
   74    print '<h1>Cryto! %s %s %s</h1>' % (day, month, year)
   75  
   76    f = open(fn + '.txt')
   77    for line in f: 
   78       line = line.rstrip('\n')
f undefined, builtin open = <built-in function open>, fn = 'crytocc2013-02-06'

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