<type 'exceptions.NameError'> | Python 2.7.18: /usr/bin/python Tue Mar 19 05:55:30 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.
/home/stoecker/isfdb/install/cgi-bin/search.cgi in <module>() |
266 PrintNavbar('search', 0, 0, 0, 0) |
267 |
=> 268 PrintDropDownValues() |
269 print '<ul>' |
270 print '<li>Supported wildcards: * and % match any number of characters, _ matches one character' |
PrintDropDownValues = <function PrintDropDownValues> |
/home/stoecker/isfdb/install/cgi-bin/search.cgi in PrintDropDownValues() |
20 |
21 def PrintDropDownValues(): |
=> 22 PrintOneDropDown('Formats', FORMATS) |
23 PrintOneDropDown('PubTypes', PUB_TYPES) |
24 PrintOneDropDown('TitleTypes', ALL_TITLE_TYPES) |
global PrintOneDropDown = <function PrintOneDropDown>, FORMATS undefined |
<type 'exceptions.NameError'>: global name 'FORMATS' is not defined
args =
("global name 'FORMATS' is not defined",)
message =
"global name 'FORMATS' is not defined"