Closed zdila closed 5 years ago
@mprins This problem persists? Thanks for improving osm
it does not seem to upload at all now:
(openstreetcam_upload-scripts) XXXXXXXXXXXXXXXXXX/openstreetcam_upload-scripts/upload_photos_by_exif$ python upload_exif.py -p /XXXXXXXXX/2017_04_26_14_40_37_931/
Found 1487 pictures to upload
100%|██████████████████████████████████████████████████████████████████████████████ 1489/1489 remaining:00:00 elapsed:00:00
Request/Response fail
Retry attempt : 0
Request/Response fail
Retry attempt : 0
Retry attempt : 1
Request/Response fail
Retry attempt : 0
Request/Response fail
Retry attempt : 0
Retry attempt : 1
Retry attempt : 2
...
will try again later
do you still have this problem??
I tried again and no luck uploading at all.. sit seems to hang for a while at
Retry attempt : 248
Retry attempt : 247
Retry attempt : 246
Retry attempt : 249
Retry attempt : 249
Retry attempt : 248
Retry attempt : 250
Retry attempt : 247
Retry attempt : 250
Retry attempt : 249
and than again at some 120 or so higher, and again and again etc.., basically exhausting sockets and then waiting. There is no feedback as to what is going on.. and no indication when the script will finish if at all
Retry attempt : 1694
Retry attempt : 1727
Retry attempt : 1593
Retry attempt : 1572
Retry attempt : 1695
Retry attempt : 1728
Retry attempt : 1594
Retry attempt : 1573
Retry attempt : 1696
Retry attempt : 1729
Retry attempt : 1595
Retry attempt : 1574
Retry attempt : 1697
So the original problem does no longer occur because uploading fails at all
I tried the docker command with limited succes:
docker run -it --rm -v /mnt/XXXXXXX/2017_04_26_14_40_37_931/:/data openstreetcam/upload_photos_by_exif
which seemed to start uploading OK (after removing the left behind count and seq id file) but checking the website things are still messed up for this sequence (http://www.openstreetcam.org/details/930585/0)
and a smalll one with images that have direction info as well: http://www.openstreetcam.org/details/930591/0
note to self: 2017_04_26_11_16_19_768
@mprins Sorry about this. Can you provide some images? Thanks!!!
@bogdan-telenav I've uploaded the images of that last sequence to WeTransfer: https://we.tl/2TDKx3ZkQ3
We made major changes to the previous version of the script and we now take into consideration GPS time stamp, so this is most likely fixed. If you find any other problem please create a new issue.
Upload script uses
DateTimeOriginal
to order files. If this exif field is missing, it shuffles the files. Problem is also if more files have the same value ofDateTimeOriginal
because script doesn't considerSubSecTimeOriginal
.Script could also consider using
GPSTimeStamp
andGPSDateStamp
fields if above are missing.