Hi,
In last version v4.4.1, I can’t re-upload a failed file upload. I can’t understand log error, can you help me?
[2024-08-19 12:00:23.487] [debug] [mapillary:tools] process exit code 1 and signal null
[2024-08-19 12:00:23.487] [error] [store:modules:uploadSession] exit with code 1 and signal null
[2024-08-19 12:00:23.489] [info] [power-saver-blocker] stop: 5
[2024-08-19 12:00:23.489] [info] [services:observer-manager] Stopping d8f255b0-5e11-11ef-be80-7d28c6478d11
[2024-08-19 12:00:23.490] [error] [vue] { code: 1, message: 'exit with code 1 and signal null' }
[2024-08-19 12:01:03.700] [info] [services:observer-manager] Registering f1dc8230-5e11-11ef-be80-7d28c6478d11
[2024-08-19 12:01:03.700] [info] [power-saver-blocker] start: 6
[2024-08-19 12:01:03.702] [debug] [mapillary:tools] C:\Users\yann\AppData\Local\Programs\mapillary-desktop-uploader\resources\static\mapillary_upload_cli-win32.exe [
'D:\\VIDEO\\T10\\S33\\GS010794.360',
'--user_name',
'Yann__Lyteco',
'--desc_path',
'C:\\Users\\yann\\AppData\\Local\\Temp\\mapillary_image_description.json'
]
[2024-08-19 12:01:04.079] [debug] [mapillary:tools] 2024-08-19 12:01:04,078 - DEBUG - mapillary_tools version 0.11.1
2024-08-19 12:01:04,078 - DEBUG - CLI param: verbose: True
2024-08-19 12:01:04,078 - DEBUG - CLI param: import_path: D:\VIDEO\T10\S33\GS010794.360
[2024-08-19 12:01:04.079] [debug] [mapillary:tools] 2024-08-19 12:01:04,078 - DEBUG - CLI param: filetypes: blackvue, camm, gopro, image, video
2024-08-19 12:01:04,078 - DEBUG - CLI param: desc_path: C:\Users\yann\AppData\Local\Temp\mapillary_image_description.json
2024-08-19 12:01:04,078 - DEBUG - CLI param: user_name: Yann__Lyteco
2024-08-19 12:01:04,078 - DEBUG - CLI param: dry_run: False
[2024-08-19 12:01:04.246] [debug] [mapillary:tools] 2024-08-19 12:01:04,245 - DEBUG - Sending upload_start via IPC: {'total_sequence_count': 1, 'sequence_idx': 0, 'file_type': 'video', 'import_path': 'D:\\VIDEO\\T10\\S33\\GS010794.360', 'entity_size': 805288079, 'md5sum': 'ab353db4c3a8577b60d69ece2b5d5809', 'upload_start_time': 1724061664.2455661, 'upload_total_time': 0}
2024-08-19 12:01:04,245 - DEBUG - GET https://rupload.facebook.com/mapillary_public_uploads/mly_tools_ab353db4c3a8577b60d69ece2b5d5809.mp4
[2024-08-19 12:01:04.569] [debug] [mapillary:tools] 2024-08-19 12:01:04,569 - DEBUG - HTTP response 200: b'{"dc":"ldc2c04","offset":805414619}'
[2024-08-19 12:01:04.574] [debug] [mapillary:tools] 2024-08-19 12:01:04,574 - DEBUG - Sending upload_fetch_offset via IPC: {'total_sequence_count': 1, 'sequence_idx': 0, 'file_type': 'video', 'import_path': 'D:\\VIDEO\\T10\\S33\\GS010794.360', 'entity_size': 805288079, 'md5sum': 'ab353db4c3a8577b60d69ece2b5d5809', 'upload_start_time': 1724061664.2455661, 'upload_total_time': 0, 'offset': 805414619, 'retries': 0, 'upload_last_restart_time': 1724061664.5741806, 'upload_first_offset': 805414619}
[2024-08-19 12:01:04.585] [debug] [mapillary:tools] 2024-08-19 12:01:04,584 - DEBUG - POST https://rupload.facebook.com/mapillary_public_uploads/mly_tools_ab353db4c3a8577b60d69ece2b5d5809.mp4 HEADERS {"Offset": "805414619", "X-Entity-Length": "805288079", "X-Entity-Name": "mly_tools_ab353db4c3a8577b60d69ece2b5d5809.mp4", "X-Entity-Type": "video/mp4"}
[2024-08-19 12:01:04.913] [debug] [mapillary:tools] 2024-08-19 12:01:04,912 - DEBUG - HTTP response 400: b'{"debug_info":{"retriable":false,"type":"MismatchedParameterError","message":"Length of the file has changed (failed to resume)"}}'
[2024-08-19 12:01:04.913] [debug] [mapillary:tools] 2024-08-19 12:01:04,912 - DEBUG - API Logging for action upload_failed_upload: {'images': 0, 'sequences': 0, 'size': 0.0, 'uploaded_size': 0.0, 'speed': 0, 'time': 0}
[2024-08-19 12:01:05.219] [debug] [mapillary:tools] Traceback (most recent call last):
File "mapillary_tools\upload.py", line 675, in upload
[2024-08-19 12:01:05.219] [debug] [mapillary:tools] File "mapillary_tools\uploader.py", line 221, in upload_stream
[2024-08-19 12:01:05.219] [debug] [mapillary:tools] File "mapillary_tools\uploader.py", line 427, in _upload_stream
[2024-08-19 12:01:05.219] [debug] [mapillary:tools] File "mapillary_tools\uploader.py", line 400, in _upload_stream
[2024-08-19 12:01:05.219] [debug] [mapillary:tools] File "mapillary_tools\upload_api_v4.py", line 146, in upload
[2024-08-19 12:01:05.219] [debug] [mapillary:tools] File "requests\models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://rupload.facebook.com/mapillary_public_uploads/mly_tools_ab353db4c3a8577b60d69ece2b5d5809.mp4
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "main.py", line 8, in <module>
[2024-08-19 12:01:05.219] [debug] [mapillary:tools] File "mapillary_tools\commands\__main__.py", line 168, in main
[2024-08-19 12:01:05.220] [debug] [mapillary:tools] File "mapillary_tools\commands\upload.py", line 75, in run
File "mapillary_tools\upload.py", line 734, in upload
[2024-08-19 12:01:05.220] [debug] [mapillary:tools] mapillary_tools.upload.UploadHTTPError
[17108] Failed to execut
[2024-08-19 12:01:05.220] [debug] [mapillary:tools] e script 'main' due to unhandled exception!
[2024-08-19 12:01:05.261] [debug] [mapillary:tools] process exit code 1 and signal null
[2024-08-19 12:01:05.261] [error] [store:modules:uploadSession] exit with code 1 and signal null
[2024-08-19 12:01:05.265] [info] [power-saver-blocker] stop: 6
[2024-08-19 12:01:05.266] [info] [services:observer-manager] Stopping f1dc8230-5e11-11ef-be80-7d28c6478d11
[2024-08-19 12:01:05.266] [error] [vue] { code: 1, message: 'exit with code 1 and signal null' }
thanks in advance
sincerly