[bugreport] uploads can silently fail

I had a whole bunch of directories (each containing up to 999 images) report as successful process & upload runs, but with 0 images. I usually delete everything with 0 failures, but this seemed rather suspicious. On the second run, plenty of images turned out to be good for uploading.

mapillary_tools 0.5.3, Mac.

First run:

Running user_process for 0 images, skipping 0 images.
No images to run user process
If the images have already been processed and not yet uploaded, they can be processed again, by passing the argument --rerun
Sub process ended
Running import_meta_data_process for 0 images, skipping 0 images.
No images to run import meta data process
If the images have already been processed and not yet uploaded, they can be processed again, by passing the argument --rerun
Sub process ended
Running geotag_process for 0 images, skipping 0 images.
No images to run geotag process
If the images have already been processed and not yet uploaded, they can be processed again, by passing the argument --rerun
Sub process ended
Flagging images as duplicates if consecutive distance difference less than 0.1 and angle difference less than 5
Sub process ended
Running upload_params_process for 0 images, skipping 0 images.
No images to run upload params process
If the images have already been processed and not yet uploaded, they can be processed again, by passing the argument --rerun
Sub process ended
Running mapillary_image_description for 0 images, skipping 0 images.
No images to run process finalization
If the images have already been processed and not yet uploaded, they can be processed again, by passing the argument --rerun
Sub process ended
Process done.
All images have already been uploaded
Done uploading 0 images.
Import summary for import path 100GOPRO/ :
{
“upload summary”: {
“uploaded to be finalized”: 0,
“successfully uploaded”: 0,
“failed uploads”: 0
},
“total images”: 0,
“process summary”: {
“mapillary_image_description”: {
“failed”: 0,
“success”: 0
},
“import_meta_process”: {
“failed”: 0,
“success”: 0
},
“processed_not_yet_uploaded”: 0,
“user_process”: {
“failed”: 0,
“success”: 0
},
“duplicates”: 0,
“geotag_process”: {
“failed”: 0,
“success”: 0
},
“sequence_process”: {
“failed”: 0,
“success”: 0
},
“upload_params_process”: {
“failed”: 0,
“success”: 0
}
}
}

Summary of the second run:

Import summary for import path 100GOPRO/ :
“uploaded to be finalized”: 0,
“successfully uploaded”: 715,
“failed uploads”: 0

1 Like