When I resumed this morning's update, after releasing the patch for #1490, the log showed that updatecalaccessrawdata did go into resume mode, but also re-downloaded the zip before skipping back to the step where it stalled: Loading the ReceivedFilingsCd model.
The culprit appears to be line 264 of updatecalaccessrawdata. This condition probably pre-dates the splitting up of the downloading and file extraction process into two different commands.
The fix includes:
Only attempting to download if updating to the latest version (can't download previous versions).
Check if the zip is in the local data/ directory before attempting to extract.
If the zip file isn't there, and updating to the latest version, re-download. Otherwise, raise and a CommandError.
When I resumed this morning's update, after releasing the patch for #1490, the log showed that
updatecalaccessrawdata
did go into resume mode, but also re-downloaded the zip before skipping back to the step where it stalled: Loading theReceivedFilingsCd
model.The culprit appears to be line 264 of
updatecalaccessrawdata
. This condition probably pre-dates the splitting up of the downloading and file extraction process into two different commands.The fix includes:
CommandError
.