scraperwiki / spreadsheet-download-tool

A ScraperWiki plugin for downloading data from a box as a CSV or Excel spreadsheet
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Inelegant failure if extract script crashes or is killed #3

Closed fawkesley closed 10 years ago

fawkesley commented 11 years ago

The view just shows "loading..." forever if the script fails (or runs out of memory...)

Need to write out and monitor a PID file and provide for a "failure" text in the view.

frabcus commented 11 years ago

This is less bad than it was because of the status endpoint.

It will at least recover next time the dataset changes.

Not sure how to do better than that without a cron job that runs all the time and checks for stale process.

frabcus commented 10 years ago

I think this is much better now