NameError | Python 3.10.10: /usr/pkg/bin/python3.10 Tue Mar 19 03:03:14 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/dholland/public_html/broken/index.cgi in <module> |
1728 |
1729 # end main |
1730 |
1731 |
=> 1732 main() |
main = <function main> |
/home/dholland/public_html/broken/index.cgi in main() |
1649 if action == "list": |
1650 dohtml(f) |
=> 1651 (showkey, sortkey) = getshowsort(cgidata) |
1652 dolist(f, showkey, sortkey) |
1653 return |
showkey undefined, sortkey undefined, global getshowsort = <function getshowsort>, cgidata = FieldStorage(None, None, [MiniFieldStorage('acti...ow', 'states:maybe-fixed,open,secondary,fixed')]) |
/home/dholland/public_html/broken/index.cgi in getshowsort(cgidata=FieldStorage(None, None, [MiniFieldStorage('acti...ow', 'states:maybe-fixed,open,secondary,fixed')])) |
1607 error = showkey.ingest(rawshow) |
1608 if error is not None: |
=> 1609 fail(f, "Invalid show specification: %s" % error) |
1610 exit(0) |
1611 |
global fail = <function fail>, f undefined, error = 'Invalid filter keyword states' |
NameError: name 'f' is not defined
args =
("name 'f' is not defined",)
name =
'f'
with_traceback =
<built-in method with_traceback of NameError object>