kartaview / upload-scripts

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

Script tells me to restart the script to finish upload, but that does not work #90

Closed carstenhag closed 3 years ago

carstenhag commented 4 years ago

I'm on Windows 10 trying to upload some sequences. Some don't get finished apparently but I don't know why.

On https://openstreetcam.org/user/carstenhag it still says uploading 4 tracks, yet nothing is uploading.

The following shows the output of
start /b /wait python upload-scripts/osc_tools.py upload -p "H:/Mapillary-OSC/".

Searching for sequences...
    Found sequence at path H:/Mapillary-OSC/2019_09_29_18_15_31_884_+0200 that is already uploaded at https://openstreetcam.org/details/1969773
    Found sequence at path H:/Mapillary-OSC/2019_09_29_18_22_44_366_+0200 that is already uploaded at https://openstreetcam.org/details/1969777
    Found sequence at path H:/Mapillary-OSC/2019_09_29_18_33_16_951_+0200 that is already uploaded at https://openstreetcam.org/details/1969789
    Found sequence at path H:/Mapillary-OSC/2019_09_30_16_58_50_677_+0200 that is already uploaded at https://openstreetcam.org/details/2026773
    Found sequence at path H:/Mapillary-OSC/2019_09_30_16_59_06_775_+0200 that is already uploaded at https://openstreetcam.org/details/2026781
    Found sequence at path H:/Mapillary-OSC/2019_09_30_18_31_15_207_+0200 that is already uploaded at https://openstreetcam.org/details/2031989
    Found sequence at path H:/Mapillary-OSC/2019_10_01_18_36_14_899_+0200 that is already uploaded at https://openstreetcam.org/details/2031993
    Found sequence at path H:/Mapillary-OSC/2019_10_04_16_09_46_646_+0200 that is already uploaded at https://openstreetcam.org/details/2031997
    Found sequence at path H:/Mapillary-OSC/2019_09_29_17_54_59_287_+0200. Sequence type Exif-Photo.
    Found sequence at path H:/Mapillary-OSC/2019_09_29_18_01_27_315_+0200. Sequence type Exif-Photo.
    Found sequence at path H:/Mapillary-OSC/2019_09_29_18_08_50_877_+0200. Sequence type Exif-Photo.
    Found sequence at path H:/Mapillary-OSC/2019_09_30_18_19_42_844_+0200. Sequence type Exif-Photo.
Search completed.

Starting to upload 4 sequences...
Logged in user: carstenhag. To log out delete D:\Downloads2019\upload-scripts/credentials.json
  0%|                                                                                          | 0/840 [00:00<?, ?it/s]    Failed to upload sequence at H:/Mapillary-OSC/2019_09_29_17_54_59_287_+0200. Restart the script in order to finish you upload for this sequence.
    Failed to upload sequence at H:/Mapillary-OSC/2019_09_29_18_01_27_315_+0200. Restart the script in order to finish you upload for this sequence.
    Failed to upload sequence at H:/Mapillary-OSC/2019_09_29_18_08_50_877_+0200. Restart the script in order to finish you upload for this sequence.
    Failed to upload sequence at H:/Mapillary-OSC/2019_09_30_18_19_42_844_+0200. Restart the script in order to finish you upload for this sequence.
Finished uploading
100%|████████████████████████████████████████████████████████████████████████████| 840/840 [00:00<00:00, 167604.56it/s]

And then it exits.

carstenhag commented 4 years ago

Logs (too big for Github): https://drive.google.com/file/d/1UHtjgVtZn2s2IO_nC1WlDgmVSkjl3Q8g/view?usp=sharing

Nick-Tallguy commented 3 years ago

Hi, as a workround;

If you look in the folder containing your images, 'Mapillary-OSC/2019_09_29_18_01_27315+0200' you will find two extra files which openstreetcam has created.

Delete only the file osc_sequence_upload_progress.txt and then try uploading again.

Regards from another user!

salabogdan commented 3 years ago

Hi guys, I just fixed this, sorry for the very late action.