<type 'exceptions.NameError'> | Python 2.7.5: /usr/bin/python Tue Apr 23 21:48:16 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.
/srv/www/simpleclimatemodel/source/greb/cgi-bin/scny_i18n.py in |
199 title = 'Monash-Klimamodell' |
200 |
=> 201 infile = open(tmpl_file) |
202 lines = infile.readlines() |
203 |
infile undefined, builtin open = <built-in function open>, tmpl_file undefined |
<type 'exceptions.NameError'>: name 'tmpl_file' is not defined
args =
("name 'tmpl_file' is not defined",)
message =
"name 'tmpl_file' is not defined"