Closed fohrloop closed 2 years ago
Found out a way to reproduce the error. The lines around C:\repos\dash-uploader\dash_uploader\httprequesthandler.py
, line 114 are:
# Make sure some other chunk didn't trigger file reconstruction
target_file_name = os.path.join(temp_root, flowFilename)
if os.path.exists(target_file_name):
logger.info("File %s exists already. Overwriting..", target_file_name)
os.unlink(target_file_name)
Therefore, to reproduce the error, one can
somefile.csv
somefile.csv
in another processsomefile.csv
(same upload_id
)I will write tests for this and create a fix.
Sometimes when uploading files, the upload process is intermitted. Amongst the python logs, there is text
This will cause the upload of the file to fail.
dash-uploader version: 944204a (and most probably all versions before that, and <= 0.6.0)