Looks like as the sg_log_reader.py get to the end of the file it keep trying to read items past the end of the file that don't exist.
I think the solution is to as it process near the end of the file to tell the script only go so far so that you don't go past the end of the file.