Error reading the subjects, redownloading from the server.
and it enters an infinite loop.
I had the same issue, it seems they modified the data model. I removed these lines:
starting_srs_stage_name = entry['data']['starting_srs_stage_name']
#...
ending_srs_stage_name = entry['data']['ending_srs_stage_name']
in lines 224 and 226.
These lines were only necessary if you “wanted the reviews in an csv format”, which is commented out in default. (line 353)