--> -->
 
 
<type 'exceptions.IOError'>
Python 2.5.2: /usr/bin/python
Wed Jan 7 09:05:31 2009

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/miscoranda.com/src/aerende.cgi in ()
   40    path = os.environ['REQUEST_URI']
   41    serve(path.split('/').pop())
   42 
   43 if __name__=="__main__": 
   44    main()
main = <function main at 0xb7dd34fc>
 /var/www/miscoranda.com/src/aerende.cgi in main()
   39    import os
   40    path = os.environ['REQUEST_URI']
   41    serve(path.split('/').pop())
   42 
   43 if __name__=="__main__": 
global serve = <function serve at 0xb7dd3534>, path = '/000649', path.split = <built-in method split of str object at 0xb7e31a60>, ).pop undefined
 /var/www/miscoranda.com/src/aerende.cgi in serve(number='000649')
   13    print 'Content-Type: text/html; charset=utf-8'
   14    print 
   15    subtitle = entry.title(number)
   16    print Template(entry.template('head')).substitute(subtitle=subtitle)
   17    print entry.get(number)
subtitle undefined, entry = <module 'entry' from '/var/www/miscoranda.com/src/entry.py'>, entry.title = <function title at 0xb7dd39cc>, number = '000649'
 /var/www/miscoranda.com/src/entry.py in title(number='000649')
   36 
   37 def title(number): 
   38    f = open('../%s.txt' % number)
   39    line = f.next().rstrip('\r\n')
   40    f.close()
f undefined, builtin open = <built-in function open>, number = '000649'

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