<type 'exceptions.IOError'> | Python 2.6: /usr/bin/python Wed Apr 21 15:54:55 2021 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/mark/peting/cgi_bin/betty_guestbook6953.py in |
370 print pageheader # the intro - in UTF8 |
371 |
372 filehandle = open('guestlogfile', 'a') |
373 filehandle.write(data['name'] + '||' + data['email'] + '||' + data['homepage'] + '||' + data['location'] + \ |
374 '||' + str(time()) + '||' + data['comment'] + '\n') |
filehandle undefined, builtin open = <built-in function open> |
<type 'exceptions.IOError'>: [Errno 13] Permission denied: 'guestlogfile'
args =
(13, 'Permission denied')
errno =
13
filename =
'guestlogfile'
message =
''
strerror =
'Permission denied'