| <type 'exceptions.IOError'> | Python 2.6.6: Mon Nov 3 13:21:53 2025 |
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-19' |
| /var/www/logs/crytocc/loggyhtml.py in log(fn='crytocc2013-02-19') |
| 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-19' |
<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'crytocc2013-02-19.txt'
args =
(2, 'No such file or directory')
errno =
2
filename =
'crytocc2013-02-19.txt'
message =
''
strerror =
'No such file or directory'