-->
--> -->
IOError | Python 2.4.5: /usr/bin/python2.4 Mon Feb 5 16:02:01 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 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 = '52' |
| /var/www/code/bzr/pgscript/pastegraph.cgi in do_form(seqnum='52') |
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 = '52' |
| /var/www/code/bzr/pgscript/pastegraph.cgi in load_request(num='52') |
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 = '52', ).read undefined |
IOError: [Errno 2] No such file or directory: '/home/abentley/pastegraph/52'
args =
(2, 'No such file or directory')
errno =
2
filename =
'/home/abentley/pastegraph/52'
strerror =
'No such file or directory'