You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
justinlittman
changed the title
Getting corrupted zip files for twitter filter after stoping the filter
Getting corrupted zip files for twitter filter after stopping the filter
Sep 10, 2015
I suspect that Supervisor is sending a signal to the filterstream process to shut it down, and it's not being handled long enough to close and flush the gzip file that is being written to, leaving it in a corrupted state. One thing you might want to try is adding a close method to sfm.ui.models.RotatingFile and then handling the interrupt signal (SIGINT, SIGTERM, I'm not sure which) when streaming the filter in sfm.ui.management.commands.filterstream so that you can call it before exiting.
I am getting corrupt zip files for twitter filters after stopping the filter.
Steps to reproduce:
We can see an unexpected end of file.
NOTE: I used docker to create filter.
The text was updated successfully, but these errors were encountered: