The workspaces run, however looking at the log file there are several warnings titled "Unexpected end of file". The end result is mapinfo tab files written out with geometry missing from a varying number of features.
Sometimes rerunning the script produces the same errors but with slightly different numbers of features written without geometry, sometimes rerunning gives no warnings and everything is processed fine.
I have already split the workspace into two separate workspaces in case it was a memory issue. This worked fine for 5 days (it runs overnight) before one failed again.
Any ideas on where to start?