Inside the error catching code for people who accidentally specify the wrong type in their field_descriptions.json file, there's a variable referenced before assignment:
JSON Parsing Failed:
{"username": "ecd", "domain": "cs.umn.edu", "From": "ecd@cs.umn.edu@ncs-med.UUCP (Elwood C. Downey)", "Sender": "allbery@uunet.UU.NET", "Lines": "1801", "filename": "117819", "date": "1990-03-10T19:35:20+00:00", "Newsgroups": ["comp.sources.misc"], "Date": "10 Mar 90 19:35:20 GMT", "Path": ["utzoo", "attcan", "uunet", "allbery"], "Message-ID": "<80845@uunet.UU.NE
Traceback (most recent call last):
File "bookworm/MetaParser.py", line 196, in <module>
ParseJSONCatalog(target=sys.stdout,source=sys.stdin)
File "bookworm/MetaParser.py", line 73, in ParseJSONCatalog
if field['unique'] and isinstance(line[field["field"]],list):
UnboundLocalError: local variable 'line' referenced before assignment
Inside the error catching code for people who accidentally specify the wrong type in their field_descriptions.json file, there's a variable referenced before assignment: