--> --> -->
 
 
IOError
Python 2.4.5: /usr/bin/python2.4
Mon Feb 5 16:01:57 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/code/bzr/pgscript/pastegraph.cgi
  158     else:
  159       print "Content-type: image/gif\n"
  160       sys.stdout.flush()
  161       invoke_dot(dot_output(sys.stdout, parse(input)))
  162 main()
main = <function main>
 /var/www/code/bzr/pgscript/pastegraph.cgi in main()
  153     seqnum = form.getfirst("n", None)
  154     if type == "form":
  155         do_form(seqnum)
  156     elif type == "save":
  157         save_redirect(input)
global do_form = <function do_form>, seqnum = '9'
 /var/www/code/bzr/pgscript/pastegraph.cgi in do_form(seqnum='9')
  104 def do_form(seqnum):
  105     if seqnum is not None and '/' not in seqnum:
  106         input = load_request(seqnum)
  107     else:
  108         input = "A->B B->C  A->C$"
builtin input = <built-in function input>, global load_request = <function load_request>, seqnum = '9'
 /var/www/code/bzr/pgscript/pastegraph.cgi in load_request(num='9')
   37 
   38 def load_request(num):
   39     return file(os.path.join(REQ_DIR, num), 'rb').read()
   40 
   41 
builtin file = <type 'file'>, global os = <module 'os' from '/usr/lib/python2.4/os.pyc'>, os.path = <module 'posixpath' from '/usr/lib/python2.4/posixpath.pyc'>, os.path.join = <function join>, global REQ_DIR = '/home/abentley/pastegraph', num = '9', ).read undefined

IOError: [Errno 2] No such file or directory: '/home/abentley/pastegraph/9'
      args = (2, 'No such file or directory')
      errno = 2
      filename = '/home/abentley/pastegraph/9'
      strerror = 'No such file or directory'