supreme_court_transcripts icon indicating copy to clipboard operation
supreme_court_transcripts copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: 'oyez/case_summaries.json'

Open knmorehouse opened this issue 5 years ago • 1 comments

Hi - I'm trying to run your update.py script, but keep getting the following error: " FileNotFoundError: [Errno 2] No such file or directory: 'oyez/case_summaries.json'"

Do you know how I can debug? (Sorry if this is a straightforward question, I'm new to Python)

knmorehouse avatar Nov 02 '20 00:11 knmorehouse

I'm not the maintainer but this tripped me up too. I think update.py is just set up to update an existing .json file. If you don't have one yet it might be easiest to just download the case_summaries.json file from here on GitHub. Just make sure to run update.py in a directory with an oyez folder and the file. Easiest might be to clone the whole thing (download it as a zip) and it should work fine.

jd-thomas avatar Nov 02 '20 01:11 jd-thomas