kartaview / upload-scripts

Uploader tools for KartaView
MIT License
59 stars 30 forks source link

Upload script skips pictures on upload error #48

Closed ToeBee closed 5 years ago

ToeBee commented 6 years ago

I just had the upload script fail on two tracks with the unhelpful Request/Response fail message (maybe at least print out the HTTP status code with that message?) and it went into the infinite retry loop. So I had to kill the upload. I restarted the script and it resumed and reported that it had uploaded all of the images but when I checked my user profile, I noticed that there were fewer images on the server than there should have been.

Track 956741 has 3,837 instead of 3,883 (difference of 46)

Track 956745 has 2,454 instead of 2,465 (difference of 11)

I brought my laptop to work so I am on a large upload pipe and was using 10 upload threads.

Since bandwidth is not an issue right now, I have re-uploaded them as track 956793 and 956823. I will eventually delete the tracks with the missing images.

bogdans-telenav commented 5 years ago

@ToeBee this was a upload script issue. Started work on a new script to fix this issues.

bogdans-telenav commented 5 years ago

Finally done it! Thanks for your patience! If you find any issues with the new version please create a issue and we will address it as soon as possible.